kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

1.8.8 // /chc addrule error. #2274

Closed Konzol47 closed 3 years ago

Konzol47 commented 3 years ago

Minecraft Version: 1.8.8 MySQL: false BungeeCord: false

After reaching a certain amount of handlers, trying to use /chc addrule will get you kicked, whereas normally two messages should pop up, first one being, "Usage: /chc addrule \" and the other one being the "Available handlers: ..." message / list.

Client side message that pops up: Image Console side message that pops up: Pastebin

YSK that this was tested in an environment with no other plugins present besides ChatControl Pro v8.10.3, and that every setting / file is default, excluding anything mentioned below.

Complete ChatControl folder

Steps to reproduce:

  1. Remove everything in handlers.yml besides the swear handler.
  2. Copy the swear handler, and paste it properly 18 times, for a total of 19 handlers.
  3. Rename the handlers in a numerical order, or any other way, as long as they're not identical by name. Example, also what I'm using.
  4. Due to editing the default handlers, rules.txt has to have all its contents erased, more specifically, has to not have any handle as line pointing to other handlers. Simply leave it empty.
  5. Grant yourself ability to run /chc addrule, and simply try to run it.
kangarko commented 3 years ago

Thanks so much for sharing, looks like some odd bug I haven't noticed before. We're on bug-fix only but I'll do my best to investigate and fix this within a few days.

kangarko commented 3 years ago

Thanks, too many handlers, Minecraft overflows. I've made it turn into a warning message so you see the handlers but without their hover effect.