Add migration code to player skins using '.' delimiters (#105)

Previously, the players would have their selected skin reset after renaming
the skin textures to the dot separator. This commit implements skin name
migration to ease the transition for server owners.

See 'skins.__fuzzy_match_skin_name' for a detailed explanation.
This commit is contained in:
SmallJoker
2024-06-15 15:16:52 +02:00
committed by GitHub
parent 71f803e2fb
commit 11bb5bad0e
5 changed files with 118 additions and 14 deletions

View File

@ -26,7 +26,7 @@ The character `_` is accepted in player names, thus it is not recommended to
use such file names. For compatibility reasons, they are still recognized.
character_[number or name].png
player_[nick]_png
player_[nick].png
player_[nick]_[number or name].png
... and corresponding previews that end in `_preview.png`.