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

Server controlled skins #10

Open
mattmess1221 opened this issue Nov 27, 2019 · 6 comments
Open

Server controlled skins #10

mattmess1221 opened this issue Nov 27, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@mattmess1221
Copy link
Member

mattmess1221 commented Nov 27, 2019

There should be a packet sent on join to set player skins. This should reduce skin server load and allow the server to control who has what skin, just like vanilla.

A couple security concerns:

  • Client should only accept skins from trusted servers
  • Texture hosts should be on a whitelist defined by the server, approved by the player.
  • Hosts not on the whitelist will not be downloaded.

Skulls

  • Skin data can be stored in NBT, just like vanilla.
  • Allows skulls to use the same skin as when the player died, just like vanilla.
  • Singleplayer will follow the whitelist config to prevent malicious map makers

Progress can be tracked here. https://github.com/MineLittlePony/HDSkins/tree/server-skins

@mattmess1221 mattmess1221 added the enhancement New feature or request label Nov 27, 2019
@mattmess1221 mattmess1221 self-assigned this Nov 27, 2019
@Sollace
Copy link
Member

Sollace commented Nov 28, 2019

Will you still be able to use custom skins on vanilla servers though?

@mattmess1221
Copy link
Member Author

mattmess1221 commented Nov 28, 2019 via email

@Sollace
Copy link
Member

Sollace commented Nov 28, 2019

@killjoy1221 Ok, boomer. We'll see where this goes.

Remember to base your branch off 1.15-pre1 if you haven't already.

@mattmess1221
Copy link
Member Author

mattmess1221 commented Nov 28, 2019 via email

@Sollace
Copy link
Member

Sollace commented Nov 28, 2019

Happy rebasing then.

@mattmess1221
Copy link
Member Author

Basic functionality is working. Just need to tackle security issues and the hostname whitelist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants