DevLeoko / AdvancedBan

AdvancedBan is a Spigot plugin to manage punishments on single servers and server networks
GNU General Public License v3.0
165 stars 131 forks source link

Users getting perm banned from being warned once. #457

Open mattisbak opened 3 years ago

mattisbak commented 3 years ago

What version of AdvancedBan (/AdvancedBan) are you using? 2.3.0

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

What server version (/version) are you using? 1.16.4

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

  1. Cannot reproduce..

Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log)

https://pastebin.com/ZCy2VqBT

Add any additional information below. kick attributes a warn value but there are no consequences but then when you actually warn it treats it as if they have that amount of warns so if someone has been kicked 9 times, and then warned once, they'll get permed because the system thinks they've had 10 warns. For example if I kick someone 3 times, then warn, they get banned. But if I warn someone and kick 3 times, they just have one warn. But then If I warn again they have 5 warns. So kicks are acting like prewarns.

Weird thing is, is that it's selective of players, it doesn't happen to everyone but only to some...

DevLeoko commented 3 years ago

The error you have is due to too long reasons. For longer reasons than can fit into the normal Minecraft chat you should use MessageLayouts

The warn counting issue seems very weird and unlikely. Could you please do some more testing and see if there are any exact steps to reproduce this?