From ff91a3317d76eea77f5e8c1e80b459524c1a061a Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 3 Aug 2013 17:24:06 +0100 Subject: Updated inbuilt commands description Did this to meet help format standards. --- source/Server.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'source') diff --git a/source/Server.cpp b/source/Server.cpp index 67a02f626..55a42cd44 100644 --- a/source/Server.cpp +++ b/source/Server.cpp @@ -1,4 +1,3 @@ - // ReDucTor is an awesome guy who helped me a lot #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules @@ -481,11 +480,11 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac void cServer::BindBuiltInConsoleCommands(void) { cPluginManager * PlgMgr = cPluginManager::Get(); - PlgMgr->BindConsoleCommand("restart", NULL, "Restarts the server cleanly"); - PlgMgr->BindConsoleCommand("stop", NULL, "Stops the server cleanly"); - PlgMgr->BindConsoleCommand("chunkstats", NULL, "Displays detailed chunk memory statistics"); + PlgMgr->BindConsoleCommand("restart", NULL, " - Restarts the server cleanly"); + PlgMgr->BindConsoleCommand("stop", NULL, " - Stops the server cleanly"); + PlgMgr->BindConsoleCommand("chunkstats", NULL, " - Displays detailed chunk memory statistics"); #if defined(_MSC_VER) && defined(_DEBUG) && defined(ENABLE_LEAK_FINDER) - PlgMgr->BindConsoleCommand("dumpmem", NULL, "Dumps all used memory blocks together with their callstacks into memdump.xml"); + PlgMgr->BindConsoleCommand("dumpmem", NULL, " - Dumps all used memory blocks together with their callstacks into memdump.xml"); #endif } -- cgit v1.2.3 From 2383977fe76287f4a3cc93c802d83966726ee8a4 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 3 Aug 2013 17:45:24 +0100 Subject: Rm'd startup credits & mv'd to README Removed as I feel it serves no purpose other than spam console and bury real error messages from plugins, etc. This is especially the case with running under screen, which makes it very difficult to scroll up or down. --- source/Server.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source') diff --git a/source/Server.cpp b/source/Server.cpp index 55a42cd44..b78df8d00 100644 --- a/source/Server.cpp +++ b/source/Server.cpp @@ -129,23 +129,6 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) return false; } - printf("/============================\\\n"); - printf("| Custom Minecraft Server |\n"); - printf("| Created by Kevin Bansberg |\n"); - printf("| A.K.A. FakeTruth |\n"); - printf("| Monsters by Alex Sonek |\n"); - printf("| A.K.A. Duralex |\n"); - printf("| Stuff by Mattes D |\n"); - printf("| A.K.A. _Xoft(o) |\n"); - printf("\\============================/\n"); - printf("More info: WWW.MC-SERVER.ORG\n"); - printf(" WWW.AE-C.NET\n"); - printf(" WWW.RBTHINKTANK.COM\n"); - printf("email: faketruth@gmail.com\n\n"); - - LOG("Starting up server."); - LOGINFO("Compatible clients: %s", MCS_CLIENT_VERSIONS); - LOGINFO("Compatible protocol versions %s", MCS_PROTOCOL_VERSIONS); if (cSocket::WSAStartup() != 0) // Only does anything on Windows, but whatever { -- cgit v1.2.3 From e3ddfbc5667b33d6d3ddb753f7546eb29e320156 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 3 Aug 2013 17:49:38 +0100 Subject: Commented out groups spam Further reduces chance of error message burying. --- source/GroupManager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/GroupManager.cpp b/source/GroupManager.cpp index a474de9cb..396ad2e2f 100644 --- a/source/GroupManager.cpp +++ b/source/GroupManager.cpp @@ -1,4 +1,3 @@ - #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "GroupManager.h" @@ -88,7 +87,7 @@ cGroupManager::cGroupManager() for( unsigned int i = 0; i < Split.size(); i++) { Group->AddPermission( Split[i] ); - LOGINFO("Permission: %s", Split[i].c_str() ); + //LOGINFO("Permission: %s", Split[i].c_str() ); } } @@ -102,7 +101,7 @@ cGroupManager::cGroupManager() } } } - LOG("-- Done Loading Groups --"); + LOG("-- Groups Successfully Loaded --"); } -- cgit v1.2.3 From e585600e411a6b0bd9b6cf52d5a369d9983388d6 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 3 Aug 2013 18:29:49 +0100 Subject: Revert "Rm'd startup credits & mv'd to README" This reverts commit 2383977fe76287f4a3cc93c802d83966726ee8a4. --- source/Server.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source') diff --git a/source/Server.cpp b/source/Server.cpp index b78df8d00..55a42cd44 100644 --- a/source/Server.cpp +++ b/source/Server.cpp @@ -129,6 +129,23 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) return false; } + printf("/============================\\\n"); + printf("| Custom Minecraft Server |\n"); + printf("| Created by Kevin Bansberg |\n"); + printf("| A.K.A. FakeTruth |\n"); + printf("| Monsters by Alex Sonek |\n"); + printf("| A.K.A. Duralex |\n"); + printf("| Stuff by Mattes D |\n"); + printf("| A.K.A. _Xoft(o) |\n"); + printf("\\============================/\n"); + printf("More info: WWW.MC-SERVER.ORG\n"); + printf(" WWW.AE-C.NET\n"); + printf(" WWW.RBTHINKTANK.COM\n"); + printf("email: faketruth@gmail.com\n\n"); + + LOG("Starting up server."); + LOGINFO("Compatible clients: %s", MCS_CLIENT_VERSIONS); + LOGINFO("Compatible protocol versions %s", MCS_PROTOCOL_VERSIONS); if (cSocket::WSAStartup() != 0) // Only does anything on Windows, but whatever { -- cgit v1.2.3 From 3255c29e7a4ebd1eb12a55d4e32ed8e87c9c72e4 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 3 Aug 2013 18:36:04 +0100 Subject: Removed some stuff again. --- source/Server.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source') diff --git a/source/Server.cpp b/source/Server.cpp index 55a42cd44..b07c65f04 100644 --- a/source/Server.cpp +++ b/source/Server.cpp @@ -129,20 +129,6 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) return false; } - printf("/============================\\\n"); - printf("| Custom Minecraft Server |\n"); - printf("| Created by Kevin Bansberg |\n"); - printf("| A.K.A. FakeTruth |\n"); - printf("| Monsters by Alex Sonek |\n"); - printf("| A.K.A. Duralex |\n"); - printf("| Stuff by Mattes D |\n"); - printf("| A.K.A. _Xoft(o) |\n"); - printf("\\============================/\n"); - printf("More info: WWW.MC-SERVER.ORG\n"); - printf(" WWW.AE-C.NET\n"); - printf(" WWW.RBTHINKTANK.COM\n"); - printf("email: faketruth@gmail.com\n\n"); - LOG("Starting up server."); LOGINFO("Compatible clients: %s", MCS_CLIENT_VERSIONS); LOGINFO("Compatible protocol versions %s", MCS_PROTOCOL_VERSIONS); -- cgit v1.2.3