ChangeSkin icon indicating copy to clipboard operation
ChangeSkin copied to clipboard

Skin Change/Update - Username skin not working

Open Lmmb74 opened this issue 7 years ago • 15 comments

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:

  • Install the plugin in both BungeeCord and Spigot using the same MySQL db
  • Set your skin with your own username in case there is a premium account with that username
  • The first time must have worked, so leave the server or just try using that command again

Plugin list:

Plugins (22): LuckPerms, WorldEdit, VotingPlugin, FairPlayMinecraft,PlaceholderAPI, Craftconomy3, FriendsAPIForPartyAndFriends, Spigot-Party-API-PAF, PartyAndFriendsGUI, ViaVersion, Vault, Votifier, ProtocolLib, WorldGuard, LibsDisguises, Citizens, Status-for-Party-and-Friends, UltraCosmetics, Clans-Spigot-Part, DeluxeMenus, GadgetsMenu, ChangeSkin

Environment description

BungeeCord BUILD 1274 (using RedisBungee) Spigot 1.8.8

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 avatar Oct 29 '17 19:10 Lmmb74

Still not working on BUILD 38.

Lmmb74 avatar Nov 02 '17 03:11 Lmmb74

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

games647 avatar Nov 08 '17 17:11 games647

Ok

Lmmb74 avatar Nov 08 '17 18:11 Lmmb74

Any progress?

Lmmb74 avatar Nov 14 '17 17:11 Lmmb74

No but you could downgrade the plugin

games647 avatar Nov 14 '17 18:11 games647

Could you try it again please?

games647 avatar Nov 26 '17 16:11 games647

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 avatar Nov 26 '17 22:11 Lmmb74

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

Lmmb74 avatar Nov 26 '17 22:11 Lmmb74

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

games647 avatar Nov 27 '17 07:11 games647

Still the last errors I commented.

Lmmb74 avatar Nov 27 '17 11:11 Lmmb74

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

games647 avatar Nov 27 '17 16:11 games647

https://hastebin.com/havegipago.php

Lmmb74 avatar Nov 27 '17 17:11 Lmmb74

@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

Feerko avatar Nov 27 '17 18:11 Feerko

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

games647 avatar Nov 27 '17 18:11 games647

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

Feerko avatar Nov 27 '17 18:11 Feerko