summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authormborland <matt.borland1@gmail.com>2013-11-11 00:33:58 +0100
committermborland <matt.borland1@gmail.com>2013-11-11 00:33:58 +0100
commit3710d423acba9546adf441782eb6a17a081c9320 (patch)
tree9ad19a165d324101fd3c8a3c42665d397d77ee08 /MCServer/Plugins/APIDump/APIDesc.lua
parentVC2013 (diff)
parentFixed cRoot::FindAndDoWithPlayer(). (diff)
downloadcuberite-3710d423acba9546adf441782eb6a17a081c9320.tar
cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.gz
cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.bz2
cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.lz
cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.xz
cuberite-3710d423acba9546adf441782eb6a17a081c9320.tar.zst
cuberite-3710d423acba9546adf441782eb6a17a081c9320.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 9f303ff0e..b238a3b6c 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2020,6 +2020,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
SetMaxPlayers = { Params = "number", Notes = "Sets the max amount of players who can join." },
GetNumPlayers = { Return = "number", Notes = "Returns the amount of players online." },
GetServerID = { Return = "string", Notes = "Returns the ID of the server?" },
+ IsHardcore = { Params = "", Return = "bool", Notes = "Returns true if the server is hardcore (players get banned on death)." },
},
Constants =
{