TechnicJelle / BlueMapOfflinePlayerMarkers

Minecraft Paper plugin and BlueMap addon that adds markers where players have logged off
Mozilla Public License 2.0
14 stars 8 forks source link

Add config option to specify where to get the player icon from #8

Closed TechnicJelle closed 1 year ago

TechnicJelle commented 3 years ago
#The place to get the playerhead icons from. Leave empty to use BlueMap's own files
#Accepted variables: {UUID}, {USERNAME}
# Examples:
#  playerheadsAPI: ""
#  playerheadsAPI: "https://crafatar.com/avatars/{UUID}.png?size=8&overlay=true"
playerheadsAPI: ""
Seercat3160 commented 3 years ago

I don't think that the player's username should be a placeholder value, as afaik it's not possible for services to get things using the username anymore.

Crafatar:

About Usernames

By disabling a legacy API in 2018, Mojang has made it practically impossible for Crafatar to support usernames. Please use UUIDs instead!

All usernames are rejected.

TechnicJelle commented 3 years ago

I know that at least https://minotar.net/ still supports usernames, and I want to support offline servers that cannot rely on UUIDs too. (I do not condone piracy, though!)

Seercat3160 commented 3 years ago

That makes sense. Maybe we should also add a value for the config that makes it use the API of SkinRestorer or something?