Exact time for the player "you looked up this name recently" #408
-
I am trying to make my program work for the new limit for the player endpoint. My program needs to be as up to date as possible and I would like to know exactly how long the cooldown lasts before being able to send the request again. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I think this would fit as a GH discussion in the Q & A category cc @ConnorLinfoot |
Beta Was this translation helpful? Give feedback.
-
Right now it's up to 5 minutes, but I don't want to guarantee that it won't change (although we don't plan on it currently). I would advise caching name to UUID lookups for at least an hour, or use another service such as Mojang API or PlayerDB |
Beta Was this translation helpful? Give feedback.
-
For those who did not understand this at first like me: This new throttle only applies to when using the You can then use one of the methods mentioned above:
|
Beta Was this translation helpful? Give feedback.
-
Don't use |
Beta Was this translation helpful? Give feedback.
Right now it's up to 5 minutes, but I don't want to guarantee that it won't change (although we don't plan on it currently). I would advise caching name to UUID lookups for at least an hour, or use another service such as Mojang API or PlayerDB