Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Export skins as PNG #124

Closed
Samuelva opened this issue Apr 10, 2019 · 7 comments
Closed

Suggestion: Export skins as PNG #124

Samuelva opened this issue Apr 10, 2019 · 7 comments
Labels
❓ undecided No decision so far to accept or reject this ticket type: 💡 enhancement New feature request / improvement of an existing feature

Comments

@Samuelva
Copy link

Hello,

It would be nice to have an option that could export the skins of all players to a specified location in PNG format (preferably <playername>.png formatted) , ideally whenever someone changes their skin and joins the server.

The reason for this is that dynmap has the option to set a custom skin-url from which it retrieves all the player skins. By setting up a simple webserver in a directory, and pointing the skin-url option to http://0.0.0.0:port/directory, one could host the skins themself without relying on other sites for retrieval and show skins on dynmap even in offline mode.

Unfortunately this isn't possible at the moment as SkinsRestorer doesn't have a (automatic) skin export option.

Cheers.

@xknat
Copy link
Member

xknat commented Jun 9, 2019

the thing is that the .png link is already in the .skin file (base64 -> mojang skins)
A script should do the work... i doubt a lot of owners want this. if they do they could make a script or get the stuff from skinsystem.

@xknat
Copy link
Member

xknat commented Jun 16, 2019

might be better to request at https://github.com/riflowth/SkinSystem

@ITZVGcGPmO
Copy link
Contributor

as of SkinSystem 1.7 you can access raw skin data through /resources/server/skinRender.php?format=raw&dl=true&user=<username>

@aljaxus
Copy link
Member

aljaxus commented Jul 16, 2019

#142

@McLive McLive added type: 💡 enhancement New feature request / improvement of an existing feature ❓ undecided No decision so far to accept or reject this ticket and removed Suggestion labels Jul 20, 2019
@pyro000
Copy link

pyro000 commented Aug 30, 2019

as of SkinSystem 1.7 you can access raw skin data through /resources/server/skinRender.php?format=raw&dl=true&user=<username>

I tried that right now with my website and "/resources/server/skinRender.php?format=raw&dl=true&user=" but It didn't appear anything in dynmap, I suppose that it's because dynmap searchs for a %player%.png. Help me

@pyro000
Copy link

pyro000 commented Aug 30, 2019

I suppose that it's because dynmap searchs for a %player%.png

I guess that the correct one is:
/resources/server/skinRender.php?format=raw&dl=true&user=<username>/%player%.png
because when I go there throught my website It puts a save with a name like this _username_-85a2624d.png

EDIT: I didn't work all the ways I tried.

@xknat
Copy link
Member

xknat commented May 26, 2020

webbukkit/dynmap@578c66e
Dynmap made a commit that should support skinsrestorer.
I hope this helps you out sufficient.
If not please let us know again.

@xknat xknat closed this as completed May 26, 2020
Enhancements for future versions automation moved this from To do to Done May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ undecided No decision so far to accept or reject this ticket type: 💡 enhancement New feature request / improvement of an existing feature
Projects
No open projects
Development

No branches or pull requests

6 participants