summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-30 17:07:57 +0200
committermadmaxoft <github@xoft.cz>2014-07-30 17:07:57 +0200
commita71c2da3f8ee329977902a36274d720908a77c48 (patch)
tree7ed3e4554cbcfd9d3e9122c02f3eb8ae348214d4 /MCServer/Plugins/APIDump
parentMojangAPI: Clarified the UUID conversion code. (diff)
downloadcuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar.gz
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar.bz2
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar.lz
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar.xz
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.tar.zst
cuberite-a71c2da3f8ee329977902a36274d720908a77c48.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 692ca80ac..2a8ae90f9 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1619,7 +1619,13 @@ a_Player:OpenWindow(Window);
Mojang uses two formats for UUIDs, short and dashed. MCServer works with short UUIDs internally, but
will convert to dashed UUIDs where needed - in the protocol login for example. The MakeUUIDShort()
and MakeUUIDDashed() functions are provided for plugins to use for conversion between the two
- formats.
+ formats.</p>
+ <p>
+ This class will cache values returned by the API service. The cache will hold the values for 7 days
+ by default, after that, they will no longer be available. This is in order to not let the server get
+ banned from using the API service, since they are rate-limited to 600 queries per 10 minutes. The
+ cache contents also gets updated whenever a player successfully joins, since that makes the server
+ contact the API service, too, and retrieve the relevant data.</p>
]],
Functions =
{