mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Add a rate limit for mojang api requests. Configurable via hidden.yml
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user