diff options
author | Mattes D <github@xoft.cz> | 2014-08-20 22:21:41 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-20 22:21:41 +0200 |
commit | 2218f31cde5d04157469de0d5164059ffb8a6bca (patch) | |
tree | 805679baceec73d8cd1d88a3bb7951d2225eff9a /MCServer/Plugins/APIDump/APIDesc.lua | |
parent | cPlayer: Exported the LoadRank function to Lua API. (diff) | |
download | cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar.gz cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar.bz2 cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar.lz cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar.xz cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.tar.zst cuberite-2218f31cde5d04157469de0d5164059ffb8a6bca.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index ce3303087..90d95bba2 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -2172,10 +2172,11 @@ end { GetDescription = { Return = "string", Notes = "Returns the server description set in the settings.ini." }, GetMaxPlayers = { Return = "number", Notes = "Returns the max amount of players who can join the server." }, - 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)." }, + SetMaxPlayers = { Params = "number", Notes = "Sets the max amount of players who can join." }, + ShouldAuthenticate = { Params = "", Return = "bool", Notes = "Returns true iff the server is set to authenticate players (\"online mode\")." }, }, }, -- cServer |