Updated Player Skin (markdown)

TheMode 2020-05-31 15:50:21 +02:00
parent 5952bba4e3
commit 4ae6c5caca

@ -7,9 +7,13 @@ There are three ways of defining a player skin:
Most of what I will say is described here: https://wiki.vg/Mojang_API#Username_-.3E_UUID_at_time
You firstly need to get your Mojang UUID, which can be done by a request based on your username:
```
GET https://api.mojang.com/users/profiles/minecraft/<username>?at=<timestamp>
```
Then, after getting your UUID:
```
GET https://sessionserver.mojang.com/session/minecraft/profile/<uuid>?unsigned=false
```
You'll get here both the texture value and the signature. Those values are used to create a PlayerSkin.
## PlayerSkinInitEvent