Luluno01 / BungeeSafeguard

A blacklist and whitelist BungeeCord plugin with support of UUID look up
https://www.spigotmc.org/resources/bungeesafeguard-uuid-based-whitelist-plugin.76226/
18 stars 0 forks source link

api is broken? How to deal xbl-api #16

Open ghost opened 2 years ago

ghost commented 2 years ago

api is broken? How to deal xbl-api

Luluno01 commented 2 years ago

I don't host xbl-api.prouser123.me, nor any instance of xbl-web-api. But yes, xbl-api.prouser123.me is broken as the time I make this reply. If it is a problem of xbl-api.prouser123.me (that particular instance), not xbl-web-api itself (e.g., MS has changed its API, therefore broke xbl-web-api), you can try deploying your own instance of xbl-web-api, and instruct BSG to use your deployment by replacing xbl-web-api: https://xbl-api.prouser123.me/ with xbl-web-api: <the address to your deployment>.

Luluno01 commented 2 years ago

I can't find the installation instruction of xbl-web-api now, but I remember it requires an XBOX account to do the query. I saw this requirement on their README but now it's gone, somehow.

ghost commented 2 years ago

difficult to build xbl-web-api in my host server

Luluno01 commented 2 years ago

I have tested, self-hosted server is working fine. Please first clone xbl-web-api and install its dependencies (pip install -r requirements.txt), and then follow the instructions here: Xbox-WebAPI (this is a dependency you installed in the first step), make sure you have obtained Azure client ID and secret; with that credential, you then continue following the instructions in Xbox-WebAPI to generate a tokens.json file. Finally, setup proper environment variables in .env file (see main.py) and spin up the server: python server.py.

Luluno01 commented 2 years ago

Maybe you should open an issue in xbl-web-api for a full deployment instruction.

BensaTV commented 3 months ago

the api seems to be dead. cant you just use floodgate api to get the uuid?

Luluno01 commented 3 months ago

the api seems to be dead. cant you just use floodgate api to get the uuid?

If you don't mind using the API that I host, change xbl-web-api: https://xbl-api.prouser123.me/ to xbl-web-api: https://xbl-web-api.int-max.eu.org/ as a temporary workaround. Note that my deployment comes with absolutely no warranty in any form. The uptime of my deployment is not guaranteed, too.


I remember floodgate, and I didn't choose it for a good reason that I can't remember now XD.

BensaTV commented 3 months ago

Thanks

Am 1. August 2024 18:58:15 MESZ schrieb Untitled @.***>:

the api seems to be dead. cant you just use floodgate api to get the uuid?

If you don't mind using the API that I host, change xbl-web-api: https://xbl-api.prouser123.me/ to xbl-web-api: https://xbl-web-api.int-max.eu.org/ as a temporary workaround. Note that my deployment comes with absolutely no warranty in any form. The uptime of my deployment is not guaranteed, too.

-- Reply to this email directly or view it on GitHub: https://github.com/Luluno01/BungeeSafeguard/issues/16#issuecomment-2263532330 You are receiving this because you commented.

Message ID: @.***> Mit freundlichen Grüßen

BensaTV