diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-08 11:35:15 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-08 11:35:15 +0100 |
commit | 345eec5a2e3d60adb58e63185abd9b319d657765 (patch) | |
tree | 398522505d124f696735b07c82701b0829110158 /Server | |
parent | Merge pull request #2961 from LogicParrot/enforce (diff) | |
parent | remove cWorld::createAndInitializeWorld (diff) | |
download | cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.gz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.bz2 cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.lz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.xz cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.tar.zst cuberite-345eec5a2e3d60adb58e63185abd9b319d657765.zip |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 97e17c7c6..0cbdff479 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -2126,7 +2126,6 @@ a_Player:OpenWindow(Window); BroadcastChatLeave = { Params = "MessageText", Return = "", Notes = "Broadcasts the specified message to all players, with its message type set to mtLeave. Use for players leaving the server." }, BroadcastChatSuccess = { Params = "MessageText", Return = "", Notes = "Broadcasts the specified message to all players, with its message type set to mtSuccess. Use for success messages." }, BroadcastChatWarning = { Params = "MessageText", Return = "", Notes = "Broadcasts the specified message to all players, with its message type set to mtWarning. Use for concerning events, such as plugin reload etc." }, - CreateAndInitializeWorld = { Params = "WorldName", Return = "{{cWorld|cWorld}}", Notes = "Creates a new world and initializes it. If there is a world whith the same name it returns nil.<br><br><b>NOTE:</b> This function is currently unsafe, do not use!" }, FindAndDoWithPlayer = { Params = "PlayerName, CallbackFunction", Return = "bool", Notes = "Calls the given callback function for the player with the name best matching the name string provided.<br>This function is case-insensitive and will match partial names.<br>Returns false if player not found or there is ambiguity, true otherwise. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre>" }, DoWithPlayerByUUID = { Params = "PlayerUUID, CallbackFunction", Return = "bool", Notes = "If there is the player with the uuid, calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found." }, ForEachPlayer = { Params = "CallbackFunction", Return = "", Notes = "Calls the given callback function for each player. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|cPlayer}})</pre>" }, |