pandapaul / minecraft-dailies-server

Serves up fresh Minecraft quests daily.
http://www.minecraftdailies.com
GNU General Public License v3.0
2 stars 2 forks source link

Crafatar no longer supports lookup by username #33

Open pandapaul opened 6 years ago

pandapaul commented 6 years ago

We use crafatar to grab avatars by username, but due to a Mojang API change they're no longer supporting lookup by username. We don't store user UUIDs, so we can use Mojang's API to convert username to UUID then fetch avatar by UUID.

We should, however, consider migrating the whole service to use user UUID instead of username. Usernames already have been problematic in the UI due to their flexibility. Since usernames can be changed, a player would lose their progress with minecraftdailies.com in doing so.

Wing01 commented 4 years ago

Put in a temp fix that will render avatars based on username again. Will circle back to UUID support at some point