Electroid / mojang-api

Bundle multiple Minecraft APIs into a single GET request.
https://api.ashcon.app/mojang/v2/user/Notch
MIT License
242 stars 17 forks source link

Add profile actions to response #78

Open Tisawesomeness opened 1 year ago

Tisawesomeness commented 1 year ago

Minecraft 1.20.2 adds username and skin reports, and banned players can be forced to change their name/skin before they can play multiplayer again. This information was added to the UUID -> Profile + Textures endpoint:

"profileActions": [
  "FORCED_NAME_CHANGE",
  "USING_BANNED_SKIN"
]

(The names of the profile actions were found through code decompilation)

The endpoint already returns profileActions: [] for all accounts (example).

Tisawesomeness commented 1 year ago

1.20.2 is out and the changes are live.