summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorsweetgiorni <sweet.giorni@gmail.com>2017-01-03 19:57:31 +0100
committersweetgiorni <sweet.giorni@gmail.com>2017-01-03 20:15:34 +0100
commit25e4f15488c1f56c1571f4aefd216830e62ad52b (patch)
tree2946db2b152f9a67c4c8092e8f7f47532dd948d9 /src/Server.cpp
parentDebuggers: PluginStats are now output only on request. (#3513) (diff)
downloadcuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar.gz
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar.bz2
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar.lz
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar.xz
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.tar.zst
cuberite-25e4f15488c1f56c1571f4aefd216830e62ad52b.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index ba469bd3e..95e0b535b 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -190,6 +190,7 @@ void cServer::PlayerDestroying(const cPlayer * a_Player)
bool cServer::InitServer(cSettingsRepositoryInterface & a_Settings, bool a_ShouldAuth)
{
m_Description = a_Settings.GetValueSet("Server", "Description", "Cuberite - in C++!");
+ m_ShutdownMessage = a_Settings.GetValueSet("Server", "ShutdownMessage", "Server shutdown");
m_MaxPlayers = a_Settings.GetValueSetI("Server", "MaxPlayers", 100);
m_bIsHardcore = a_Settings.GetValueSetB("Server", "HardcoreEnabled", false);
m_bAllowMultiLogin = a_Settings.GetValueSetB("Server", "AllowMultiLogin", false);