summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-11-14 22:55:09 +0100
committerHowaner <franzi.moos@googlemail.com>2014-11-14 22:55:09 +0100
commit66c4117856dccfd768b0607541c06ad7d1601f18 (patch)
tree7c060f8731d8942583a7c0d66159c7c8d09fab50 /MCServer/Plugins/APIDump
parentUse m_UsedViewDistance and m_SetViewDistance. (diff)
downloadcuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar.gz
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar.bz2
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar.lz
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar.xz
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.tar.zst
cuberite-66c4117856dccfd768b0607541c06ad7d1601f18.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 01e945e73..97abab4a0 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)" },
+ GetSettedViewDistance = { Params = "", Return = "number", Notes = "Returns the view distance that the player set, 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" },