LOOHP / HoloMobHealth

Display Mob Health above head through packets!
https://www.spigotmc.org/resources/75975/
GNU General Public License v3.0
14 stars 7 forks source link

launchermeta.mojang.com -> can be used diff API to prevent ratelimiting? #43

Open bobhenl opened 3 months ago

bobhenl commented 3 months ago

Hello, I just wanted to ask, if can be used different API to prevent ratelimiting (600requests/10 min) by the Mojang API? Thanks!

Fri Aug 16 16:24:49 UTC 2024: Intercepted connection to launchermeta.mojang.com by plugin HoloMobHealth
    at HoloMobHealth-2.3.8.2.jar//com.loohp.holomobhealth.utils.HTTPRequestUtils.getTextResponse(HTTPRequestUtils.java:65) [HoloMobHealth]
    at HoloMobHealth-2.3.8.2.jar//com.loohp.holomobhealth.utils.HTTPRequestUtils.getJSONResponse(HTTPRequestUtils.java:45) [HoloMobHealth]
    at HoloMobHealth-2.3.8.2.jar//com.loohp.holomobhealth.utils.LanguageUtils.lambda$loadTranslations$3(LanguageUtils.java:93) [HoloMobHealth]
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86)
    at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)