summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-16 15:13:39 +0100
committerMattes D <github@xoft.cz>2014-11-16 15:13:39 +0100
commita63eb1ac6e1838a23cd4c97eefd5085c7d97b43f (patch)
tree7d3535001019a6d648e83eb526be30ba538e485a /MCServer/Plugins/APIDump
parentAPIDump: Fixed example cCompositeChat URL (diff)
parentRenamed m_UsedViewDistance to m_CurrentViewDistance (diff)
downloadcuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar.gz
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar.bz2
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar.lz
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar.xz
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.tar.zst
cuberite-a63eb1ac6e1838a23cd4c97eefd5085c7d97b43f.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 740168501..dbe4b911b 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -534,6 +534,7 @@ end
GetUUID = { Params = "", Return = "string", Notes = "Returns the authentication-based UUID of the client. This UUID should be used to identify the player when persisting any player-related data. Returns a 32-char UUID (no dashes)" },
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)" },
+ GetRequestedViewDistance = { Params = "", Return = "number", Notes = "Returns the view distance that the player request, not the used view distance." },
HasPluginChannel = { Params = "ChannelName", Return = "bool", Notes = "Returns true if the client has registered to receive messages on the specified plugin channel." },
IsUUIDOnline = { Params = "UUID", Return = "bool", Notes = "(STATIC) Returns true if the UUID is generated by online auth, false if it is an offline-generated UUID. We use Version-3 UUIDs for offline UUIDs, online UUIDs are Version-4, thus we can tell them apart. Accepts both 32-char and 36-char UUIDs (with and without dashes). If the string given is not a valid UUID, returns false."},
Kick = { Params = "Reason", Return = "", Notes = "Kicks the user with the specified reason" },