summaryrefslogtreecommitdiffstats
path: root/src/Server.h
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.h
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 'src/Server.h')
-rw-r--r--src/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h
index 600e7ca97..74f9581ae 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -64,6 +64,8 @@ public:
const AString & GetDescription(void) const {return m_Description; }
+ const AString & GetShutdownMessage(void) const { return m_ShutdownMessage; }
+
// Player counts:
int GetMaxPlayers(void) const { return m_MaxPlayers; }
int GetNumPlayers(void) const;
@@ -204,6 +206,7 @@ private:
cRCONServer m_RCONServer;
AString m_Description;
+ AString m_ShutdownMessage;
AString m_FaviconData;
int m_MaxPlayers;
bool m_bIsHardcore;