Electroid / mojang-api

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

ashcon's API doesn't support ?unsigned=false #82

Open bobhenl opened 2 weeks ago

bobhenl commented 2 weeks ago

Hello, I wanted to use the Ashcon in the Citizens but I can't due to:

ashcon's API doesn't support ?unsigned=false being appended to the URL, which sounds like a problem with their API setup Dev reply

I tried using AshconAPII in citizens (latest build https://ci.citizensnpcs.co/job/Citizens2/) by replacing this:

general:
  authlib:
    # Search for gameprofiles using this URL
    profile-url: https://sessionserver.mojang.com/session/minecraft/profile/

in their config for this:

general:
  authlib:
    # Search for gameprofiles using this URL
    profile-url: https://api.ashcon.app/mojang/v2/user/

but it didn't work, even when the api should be similar to the mojang, no? What's wrong there please, how to fix?

MisterFixx commented 2 weeks ago

The project seems abandoned and Mojang blocked all incoming requests from CloudFlare workers, which is what this project runs on, so either way this API no longer works.

bobhenl commented 2 weeks ago

The project seems abandoned and Mojang blocked all incoming requests from CloudFlare workers, which is what this project runs on, so either way this API no longer works.

And is there some alternative?

MisterFixx commented 2 weeks ago

The project seems abandoned and Mojang blocked all incoming requests from CloudFlare workers, which is what this project runs on, so either way this API no longer works.

And is there some alternative?

Besides the normal Mojang API, none that I’m aware of