summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-03 20:45:08 +0200
committermadmaxoft <github@xoft.cz>2013-08-03 20:45:08 +0200
commit106308796d975351b4c5c05927d2790adf2da26a (patch)
tree5d2545b004e82a3a6366843d96867146738a0e6f /source
parentAdded cWorld::DoWithChunk() function. (diff)
parentRemoved all example ini files from Install. (diff)
downloadcuberite-106308796d975351b4c5c05927d2790adf2da26a.tar
cuberite-106308796d975351b4c5c05927d2790adf2da26a.tar.gz
cuberite-106308796d975351b4c5c05927d2790adf2da26a.tar.bz2
cuberite-106308796d975351b4c5c05927d2790adf2da26a.tar.lz
cuberite-106308796d975351b4c5c05927d2790adf2da26a.tar.xz
cuberite-106308796d975351b4c5c05927d2790adf2da26a.tar.zst
cuberite-106308796d975351b4c5c05927d2790adf2da26a.zip
Diffstat (limited to 'source')
-rw-r--r--source/GroupManager.cpp5
-rw-r--r--source/Server.cpp23
2 files changed, 6 insertions, 22 deletions
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 --");
}
diff --git a/source/Server.cpp b/source/Server.cpp
index 67a02f626..b07c65f04 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
@@ -130,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);
@@ -481,11 +466,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
}