summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-01 10:44:34 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-01 10:44:34 +0100
commitce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f (patch)
tree625a56ece0498ad496b068dc925ac4e01b71b3e8 /MCServer/Plugins/APIDump
parentForgotten changes to cChunkInterface. (diff)
downloadcuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar.gz
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar.bz2
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar.lz
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar.xz
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.tar.zst
cuberite-ce07a22fe6f210cd6461d54cd7fd8eaaaa47be4f.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 c6221f30d..241aa05ad 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1773,6 +1773,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
BroadcastChatInfo = { Params = "Message", Return = "", Notes = "Prepends Yellow [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For informational messages, such as command usage." },
BroadcastChatSuccess = { Params = "Message", Return = "", Notes = "Prepends Green [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For success messages." },
BroadcastChatWarning = { Params = "Message", Return = "", Notes = "Prepends Rose [WARN] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. 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." },
FindAndDoWithPlayer = { Params = "PlayerName, CallbackFunction", Return = "", Notes = "Calls the given callback function for the given player." },
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>" },
ForEachWorld = { Params = "CallbackFunction", Return = "", Notes = "Calls the given callback function for each world. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cWorld|cWorld}})</pre>" },