AdvancedBan icon indicating copy to clipboard operation
AdvancedBan copied to clipboard

Player can rejoin after ban

Open Matix-Media opened this issue 4 years ago • 7 comments

What version of AdvancedBan (/AdvancedBan) are you using? AdvancedBan-Bundle-2.3.0-RELEASE.jar

What kind of server do you have (Bungeecord/single server)? Bungeecord

What server version (/version) are you using? 1-16R0.5-SNAPSHOT

Please provide the EXACT steps required to reproduce the problem...

  1. ban player
  2. banned player can rejoin

Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log) AdvancedBan log: --Empty-- Bungeecord startup: https://pastebin.com/7SywUR6S

Add any additional information below. The database does not properly get setup. The database "Bans" gets created but no tables. The bungeecord log (startup) does not contain any errors.

Matix-Media avatar Mar 04 '21 19:03 Matix-Media

Did you correctly install AdvancedBan? Remember that it should only be installed on your Proxy when used on a network.

Hopefuls avatar Mar 04 '21 20:03 Hopefuls

Yes. It is installed on the BungeeCord server

Matix-Media avatar Mar 04 '21 20:03 Matix-Media

I am pretty sure then there has to be any error. Please check for the following errors:

  • on server start
  • when banning
  • when server stop

Hopefuls avatar Mar 04 '21 23:03 Hopefuls

When I ban the player, there is no error code in the console of bungeecord or in the logs of the plugin. Here is the bungeecord log: https://pastebin.com/DnaAD88k

and the AdvancedBan logs are empty.

Matix-Media avatar Mar 05 '21 10:03 Matix-Media

It really seams like an SQL error because the tables dont even get created. And if there are no tables with entries there is no way to check for the plugin if the player is banned. I don't know whats wrong. Maybe I should clear the MySQL.Properties string in the config?

Matix-Media avatar Mar 05 '21 21:03 Matix-Media

make sure your mysql account you're accessing the database with has required privileges to modify that database.

Hopefuls avatar Mar 05 '21 22:03 Hopefuls

I tested it using root and it didn't work

Matix-Media avatar Mar 05 '21 23:03 Matix-Media