ChangeSkinX

ChangeSkinX

446k Downloads

Sponge support

GershonR opened this issue ยท 28 comments

commented

I would use this if it worked for Sponge

commented

As far as I know the skin API in Sponge isn't implemented yet.

commented

Do you know if it's being worked on, almost done or not even added yet, I get requested skins a lot by players

commented

Okay I was wrong. It does work.

commented

Sponge has the skin API?

commented

Yes

commented

Will this plugin be made for it then?

commented

Yes. I'm working on it.

commented

Ok awesome thanks alot!

commented

Refetching the skin already works.

commented

I'm planning to add Sponge support today. Instant update support for changing skins while playing will be added later. I first want to test if everything works.

commented

Yep I just tested restoreskins works perfectly, everything seems to be working good a command to reload the config would be really cool like
/changeskin reload incase you want to change the cooldown or the options

Also changeskin [player] [skin] would be nice for admins in-case someone uses a hitler skin or something...

commented

Not sure if I did it right but I tried out the default skins feature by uncommenting from the config but i'm not sure if I did it right:

default-skins:

    - 93e4e551-589a-41cb-ab2d-435266c8e035

    - e6484765-f4e9-4116-8a56-e4f3899e616d

    - 764a000d-171f-4b6e-b567-2e7673947139

Diden't work I also tried:

default-skins: [93e4e551-589a-41cb-ab2d-435266c8e035]

commented

They are only set if the has no skin. This means no skin from the restore skins feature and no custom skin.

commented

ooohhhh I get it, is it possible to make it use default if they have a steve or alex skin?

commented

Sorry that's impossible.

commented

Ok I see thanks, I thought it was meant to replace the default steve/alex skins

commented

Awesome look forward to testing this!

commented

http://pastebin.com/gaTJNdDJ

Error when trying to change a skin, and it didn't change on login but not sure if it was suppose to

commented

You are not using the right sponge version. It's compiled against Sponge 5

commented

Is it possible to downgrade to 1.8.9 since it's still not recommended or just support it and most plugin are 1.8.9, also when I world hopped it seemed to have applied the skin and the config and everything seems to be working

Edit: You can see your own skin but others can't

commented

You could also disable the instant updates since it's only possible in sponge to make the new skin visible to others while being in game.

commented

Ok now after relogging it seems to show your skin to everyone so I think just asking the user to relog but be the easiest way

So yeah everything seems to be working except for that 1.9 error message

commented

That's what happens on disabled instant updates

commented

if I use the restoreSkins: feature, they will have to relog correct?

commented

RestoreSkins means it will download the skins of cracked players.

What you mean is instant updates.

commented

Like when they login will they be steve/alex and they will have to relog to see their skin?

commented

On login skins can be applied instantly. The option instant-updates is for ingame, which you have to disable.

RestoreSkins means it will download the skin from mojang based on the username. If you disable it players, have to do it by hand.