servertap-io / servertap

ServerTap is a REST API for Bukkit/Spigot/Paper Minecraft servers
https://servertap.io
MIT License
226 stars 57 forks source link

Whitelist & De-Whitelist #270

Open Azio0 opened 2 months ago

Azio0 commented 2 months ago

Hello,

After some testing with Discord & Minecraft, it appears that when whitelisting a user using the post whitelist point, you are unable to use a uuid to whitelist a user, this results in "503": "Failed to access Mojang API".

Alternatively, when De-Whitelisting a user you can't use the users name, or it will say "success" but will not actually action the unwhitelist, instead you must use the uuid to remove their whitelist.

Hope someone can take a look at this, it is not so bad with the error code, but with the second one returning a "success" msg it isn't obvious without checking the whitelist list afterwards if its been actioned or not.

Kind Regards, Azio0