diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-06-08 21:54:41 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-06-08 21:54:41 +0200 |
commit | c5d1ca7dac284bdce84fe42cc0932a432587d553 (patch) | |
tree | d251348aec7376814c6bfe937bbaeacb182c5ca7 /MCServer/Plugins/APIDump | |
parent | Proper fix for long interaction. (diff) | |
download | cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar.gz cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar.bz2 cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar.lz cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar.xz cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.tar.zst cuberite-c5d1ca7dac284bdce84fe42cc0932a432587d553.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 1423d64bc..40bfe79ac 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1969,7 +1969,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); 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." }, + FindAndDoWithPlayer = { Params = "PlayerName, CallbackFunction", Return = "", Notes = "Calls the given callback function for all players with names partially (or fully) matching the name string provided." }, 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>" }, GetCraftingRecipes = { Params = "", Return = "{{cCraftingRecipe|cCraftingRecipe}}", Notes = "Returns the CraftingRecipes object" }, |