Add a rate limit for mojang api requests. Configurable via hidden.yml

This commit is contained in:
t00thpick1
2014-08-12 11:51:34 -04:00
parent 0a066f51bb
commit a1be17c72c
3 changed files with 37 additions and 8 deletions

View File

@ -14,3 +14,8 @@ Options:
# Amount of users to convert every interval
UUIDConvertAmount: 100
# Amount of users to be converted at a time before waiting MojangLimitPeriod milliseconds to begin again
# This setting is for large servers to avoid being temp banned from mojang api
MojangRateLimit: 50000
# Amount of time to wait after hitting the MojangRateLimit in UUID conversion
MojangLimitPeriod: 600000