AddstarMC / geSuit

Plugin suite for BungeeCord
12 stars 15 forks source link

Check bans before lockdown #131

Closed addstar closed 4 years ago

addstar commented 4 years ago

This changes the behaviour of connection handling, so that player bans are checked before lockdown is handled. This is to assist with banning trolls with VPNs and Alt lists and making the ban visible to the troll even while the lockdown is in place.

Previously we thought we would want to keep their ban hidden so they don't try other accounts, but it turns out we are more easily able to catch different alts/IPs if the attacker sees a ban message.

Also, did a slight code improvement on ban check (no need to have a banned boolean, just checks if the event got cancelled).