AntiCheat icon indicating copy to clipboard operation
AntiCheat copied to clipboard

server crash when a user is kicked for spamming

Open csminecraft opened this issue 11 years ago • 3 comments

using anticheat v2.0.2 and bukkit 1.7.2.r0.3 beta with mcbans v4.21(latest). When a user spams the server the player gets kicked but then crashes the server. To the player it doesn't kick the user since it downs the server before the kick is sent to the player successfully. Able to repeat the issue numerous times to make sure what the issue was.

Workaround: In the config.yml the actions for kick can be changed from KICK to COMMAND[kick &player Spamming;say &player kicked for spamming]. Its basicly the same thing but matches mcbans formatting (kick ). After changing the kick action in the config file the server no longer crashes and the user gets kicked. I am not sure if the issue only exists between mcbans and anticheat or if it is simply an anticheat bug.

csminecraft avatar Mar 24 '14 22:03 csminecraft

Probably MCBans because it hasn't been updated in forever and is using broken API. But if you paste the server error I can be sure.

gravitylow avatar Mar 25 '14 13:03 gravitylow

I wish I could leave a log for you but it hangs the server. No error log to give since I have to forcibly stop the server and bring it back up. As I mentioned the workaround works flawlessly and uses mcbans to do the kicking (server log shows mcbans kicked the spamming user) so it may possibly be the integration you have between mcbans and anticheat.

csminecraft avatar Mar 25 '14 13:03 csminecraft

It sounds purely like an MCBans issue. I don't interface with MCBans at all, the integration is purely on their side and, as I said, that plugin is extremely out of date. If you remove the MCBans plugin the KICK action should work without flaw.

gravitylow avatar Mar 25 '14 16:03 gravitylow