Are you annoyed by word filtering only being an afterthought in chat plugins, or that most chat filter plugins only match whole words, or do supporting regex matching words, but only to replace them with asterisks?
I were, because I know there were a better solution, sadly lost in time... well, here it comes again to the rescue, a remake (and extension) of FloydATC's
RegexFilter.
A chat filter plugin, where you can truly decide what you want to catch and what will happen next:
- Replace text in chat for moderation or for fun!
- Deny sending the message if a filter applies
- Warn players that what they just said is inappropriate, or create basic macros for eg. useful links
- Notify staff (or anybody, it's permission-based) about quarrels, suspicious activity, anything
- Exempt people from a filter, or make it only apply to some (again, permissions)
- Execute arbitrary commands on match (the usual example being autokick/autoban)
- Include other files to manage your filters more easily
The plugin, like the original, uses
java.util.regex and thus has almost complete Perl RegEx compatibility, but unlike the original, this sports a YAML-based config.
Upcoming features:
- JSON (/tellraw) support
- More commands, including the in-game, on-the-fly modification of filters
- Automatic reload on config save
- Multiple (chance) results
Installation: as usual, move into plugins directory, restart server, edit config, grant permissions.
Notice: this plugin does next to none filtering ON ITS OWN; you'll have to set up the patterns yourself
Please DO share your tips, tricks and filters on the discussion page.
Disclaimer:
This plugin was originally developed by
HazeDev of
EQUARE Studios according to my specifications