Use GitHub as custom skin server
AndreSchlegel opened this issue ยท 1 comments
Hello,
I'm trying to use GitHub as my custom skin server. I have uploaded some PNG files with the player name as file name. Here is the repo: https://github.com/AndreSchlegel/mc-skin-server/tree/main/skins
This is my config:
{
"useMojang": false,
"useCrafatar": false,
"useCustomServer": true,
"hostCustomServer": "https://raw.githubusercontent.com/AndreSchlegel/mc-skin-server/refs/heads/main",
"useCustomServer2": false,
"hostCustomServer2Skin": "http://example.com/skins/%auto%",
"hostCustomServer2Cape": "http://example.com/capes/%auto%"
}
I looked at this line of code and I'm wondering why it isn't working. -> https://github.com/zlainsama/OfflineSkins/blob/master/src/main/java/lain/mods/skins/providers/CustomServerSkinProvider.java#L28
Am I wrong and this is not possible? Some logging in the code would help to debug.