Rain Be Gone Ritual (Fabric)

Rain Be Gone Ritual (Fabric)

229k Downloads

Idea: Player skin/head caching for Just Player Heads

James103 opened this issue ยท 3 comments

commented

Information

Mod name: Just Player Heads

Feature description

The Mojang API functions used to fetch player skins for use in Just Player Heads limits request rates such that you can't successfully request the same profile twice within 1 minute of each other. Additionally, no/bad internet connections (whether it be on user, server, or Mojang's end) can prevent the head from being generated properly. Would it be possible to have Just Player Heads use the caches it creates when generating player heads as well as Minecraft's own player skin cache to continue generating player heads as a fallback measure in case no internet service is available?

commented

I think that would be a welcome feature! I think it would be best to clear the cache on a server reboot and add an option to do it by command after a skin change. And a config option to disable it completely.

I'll take a look in the next few days!

commented

2020-08-21_13 40 46

Head caching on the way :)

commented

Version 1.4 of the mod adds the texture cache feature. Thanks again for the idea!

https://www.curseforge.com/minecraft/mc-mods/just-player-heads/files