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
66 stars 8 forks source link

It does not replace the message #44

Closed TheMochonful closed 8 years ago

TheMochonful commented 8 years ago

By putting the "handlers.xml" in the Swear, placing Rewrite_to file: "Viva MineSteel" does not replace the word or message.

EvilOlaf commented 8 years ago

There is no handlers.xml. Did you mean handlers.yml? You can define your rules within the files you can find in the rules directory. Please paste the actual rule your defined which does not work for you.

TheMochonful commented 8 years ago

This is the file rules.txt

Blocks fuck

match \b(f+(\W|\d|)*u+(\W|\d|)c+(\W|\d|)k+(\W|\d|)*)

handle as swear

Blocks puta

match \b(p+(\W|\d|)*u+(\W|\d|)t+(\W|\d|)a+(\W|\d|)*) handle as swear

Blocks follar

match \b(f+(\W|\d|)*o+(\W|\d|)l+(\W|\d|)l+(\W|\d|)*a+(\W|\d|_)r+(\W|\d|)_) handle as swear

And this is the file handlers.yml

swear: Bypass_With_Permission: "chatcontrol.bypass.swear" Ignored_In_Commands:

kangarko commented 8 years ago

Cannot reproduce. Ensure you test from a player account without bypass permissions. You can post me your settings.yml (upload to pastebin) so I ensure it is not caused from there.

kangarko commented 8 years ago

Closing, Rewrite_To has recently been fixed.