mathhulk / advancedbans

Exhibit bans and other punishment types from your Minecraft server online using AdvancedBan.
https://mathhulk.me/advancedbans/example
MIT License
20 stars 27 forks source link

Player is banned but is showed not banned on panel #24

Closed Spazzinq closed 6 years ago

Spazzinq commented 6 years ago

image

I did not remove the ban. If you need more info, pm me on discord :P

mathhulk commented 6 years ago

Can you make sure that the ban you show in that picture is actually in both database tables. In order to check if a ban is active, ab-web-addon selects the ban in the PunishmentHistory table and then checks to see if the exact ban is available in the Punishments table. I don't seem to be having any problems with this on https://www.mathhulk.com/github/ab-web-addon/.

Spazzinq commented 6 years ago

It is on both tables.

Megamezzomixer commented 6 years ago

Hello there. I have reported the same issue on Spigot recently and I got redirected here.

Our temporary bans/mutes/warns are shown as inactive everytime. Even if the temporary punishment is still active. I'll provide some screenshots: https://megamezzomixer.de/screens/2017-11-11_14-20-33.png // This is the database entry. This entry is exactly equal on both tables.

https://megamezzomixer.de/screens/2017-11-11_14-22-17.png // This is the webinterface. (I have colored the inactive and active word depending on the status, but this doesn't affect the bug. I have tested that already.)

And most importantly: It only shows the temporary punishments as inactive all the time. Permanent punishments are shown correctly.

mathhulk commented 6 years ago

This has hopefully been fixed in the latest update.

Spazzinq commented 6 years ago

Yep 👍