summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-09 21:18:03 +0100
committermadmaxoft <github@xoft.cz>2013-11-09 21:18:03 +0100
commit0762893ee1ccb46cee7e8b71ce143bd601823b98 (patch)
tree1977dc06697f240592d9847434b505b1384fec51 /MCServer/Plugins/APIDump
parentRemoved cStringMap. (diff)
downloadcuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar.gz
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar.bz2
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar.lz
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar.xz
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.tar.zst
cuberite-0762893ee1ccb46cee7e8b71ce143bd601823b98.zip
Diffstat (limited to '')
-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 =
{