mojang-api icon indicating copy to clipboard operation
mojang-api copied to clipboard

API returning NOT_FOUND with username but finds it with uuid

Open lightsparkk opened this issue 1 year ago • 1 comments

Hey,

a player just came to us with that he bought Minecraft but couldnt use /premium on our server because apparently his name is not premium, I went to check with the API link and put in his username and then also UUID and only UUID worked.

https://api.ashcon.app/mojang/v2/user/rzucz3k https://api.ashcon.app/mojang/v2/user/cc8c72d4a7ee4e8193026838f789c92e

lightsparkk avatar Feb 02 '25 13:02 lightsparkk

It appears this project is no longer maintained and Mojang blocked access to their API from cloudflare workers (https://github.com/Electroid/mojang-api/issues/81#issuecomment-2206874937)

MisterFixx avatar Feb 04 '25 18:02 MisterFixx