summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2017-01-04 01:08:50 +0100
committerGitHub <noreply@github.com>2017-01-04 01:08:50 +0100
commit21ad5d7c4a452938346c7a286f6b1e00a6fe87cb (patch)
tree352aa5c7246b92cd61c70fd20fad9e36fd06faf7 /src/Server.cpp
parentTCPLink: call networking callbacks with LibEvent unlocked. (#3515) (diff)
parentMerge branch 'master' into DisconnectMessage (diff)
downloadcuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.gz
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.bz2
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.lz
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.xz
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.zst
cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.zip
Diffstat (limited to 'src/Server.cpp')
-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);