summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-20 23:32:08 +0100
committermadmaxoft <github@xoft.cz>2014-02-20 23:32:08 +0100
commit1b9840b3286f73eb1aefee44b5ab1768756c8bf3 (patch)
tree4097e4a3f8a239a36b419596849b555027146c6d
parentcClientHandle manages the client-registered plugin channels. (diff)
downloadcuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar.gz
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar.bz2
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar.lz
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar.xz
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.tar.zst
cuberite-1b9840b3286f73eb1aefee44b5ab1768756c8bf3.zip
-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 73bb5c7fb..a2f741a01 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -448,6 +448,7 @@ end
GetUniqueID = { Params = "", Return = "number", Notes = "Returns the UniqueID of the client used to identify the client in the server" },
GetUsername = { Params = "", Return = "string", Notes = "Returns the username that the client has provided" },
GetViewDistance = { Params = "", Return = "number", Notes = "Returns the viewdistance (number of chunks loaded for the player in each direction)" },
+ HasPluginChannel = { Params = "ChannelName", Return = "bool", Notes = "Returns true if the client has registered to receive messages on the specified plugin channel." },
Kick = { Params = "Reason", Return = "", Notes = "Kicks the user with the specified reason" },
SendPluginMessage = { Params = "Channel, Message", Return = "", Notes = "Sends the plugin message on the specified channel." },
SetUsername = { Params = "Name", Return = "", Notes = "Sets the username" },