games647 / ChangeSkin

Allows your players to change their skin by command
https://dev.bukkit.org/bukkit-plugins/changeskin/
MIT License
187 stars 33 forks source link

Skin Change/Update - Username skin not working #96

Open Lmmb74 opened 6 years ago

Lmmb74 commented 6 years ago

What behaviour is observed:

Whenever a player tries to set its skin (both restoreSkins option and via command) using its own username in case there is a premium account using it (that's my case), it will work only the first time but after that, it won't work until you drop your db. However, the problem will be present again. There is no error log present.

What behaviour is expected:

The expected behaviour is the player to get it's skin updated/changed everytime the setskin command is executed or it joins again to the server (due to restoreSkins enabled).

Steps/models to reproduce:

Plugin version or build number (don't write latest):

Version 3.0 - DEV BUILD 37

Error Log:

No error log present

Configuration:

BungeeCord & Spigot

Extra data:

If I drop the db contents, it will work for once. But it won't work again until I drop the db contents again. And the cycle repeats.

Lmmb74 commented 6 years ago

Still not working on BUILD 38.

games647 commented 6 years ago

Sorry, I'm very busy at the moment. I'll try to fix it next weekend.

Lmmb74 commented 6 years ago

Ok

Lmmb74 commented 6 years ago

Any progress?

games647 commented 6 years ago

No but you could downgrade the plugin

games647 commented 6 years ago

Could you try it again please?

Lmmb74 commented 6 years ago

Now the command is working. But restoreSkins feature is still not working for me. Everytime I log in to the server I get this error (Bungee side). And the first time I executed the command I got this error (Bungee side). Using BungeeCord 1283.

Lmmb74 commented 6 years ago

Should I set restoreSkins only on BungeeCord or both BungeeCord and Spigot? I have set it true on both.

games647 commented 6 years ago

Could you please try again. I think I fixed both with the last commits.

Lmmb74 commented 6 years ago

Still the last errors I commented.

games647 commented 6 years ago

Could you post the bungee config of ChangeSkin again? It expired.

Lmmb74 commented 6 years ago

https://hastebin.com/havegipago.php

Feerko commented 6 years ago

@games647 I have the same issue. When I type /skin RoiZy i get this skin:

zrzut ekranu 2017-11-27 o 19 26 08

but the newest skin looks that: ( http://minecraft.tools/en/skin.php?skin=RoiZy )

zrzut ekranu 2017-11-27 o 19 26 26
games647 commented 6 years ago

@Feerko You have to invoke /skinupdate to get the newer skin. Old skins are always cached.

Feerko commented 6 years ago

Can you add something like this? /setskin -latest that would be cool