Filters
Much word list matching, very custom warning messages, so caps limitation. Wow.
Originally a fork of AntiCuss for AutCraft (an autistic Minecraft server). Many of the features were at their request.
Current features
- Set chat filters
- Filters can stop double chat, match a wordlist, or match a regex (regular expression)
- Everything can be configured in-game
- Caps filtering (You can set the proportion caps in a message for it to be blocked)
- Blocking part of unicode if desired (Some areas of Unicode could be used to bypass filtering, such as text like this)
- You can configure notifications to see what they said!
Commands
- /filters add [name] - adds a filter of the specified name. If this is omitted, a unique number will be given to it instead.
- /filters remove [name] - Removes filter of specified name
- /filters filter [name] [subcommand, arguments, etc]
- /filters list - lists all filters (as well as how many words each have)
- /filters - Shows currently set plugin config
- /filters help - Lists all sub-commands with descriptions. I haven't listed them all here.
Filter subcommands
All of these should be prefixed with /filters filter [name]
If used with no arguments, the configuration of the filter will be shown
- addword <word> - Adds a word to the filter
- removeword <word> - Removes a word from the filter
- listwords - List all words currently in filter
Configuration
Both the plugin itself and the filters are configured in a comparable way. Remember to use /filters save after you have finished. Saving is not automatic.
Use these commands to see what the configuration is for either the plugin or for a particular filter:
/filters
/filters filter <name>
And to set a value:
/filters set <name> <value>
/filters filter <filtername> set <name> <value>
Example
I've probably been less than clear (if so, please tell me!), so here's how I would set up some filters:
To stop people saying the exact same thing twice in a row:
- /filters add doublespam
- /filters filter doublespam set matchword false
- /filters filter doublespam set matchdouble true
- /filters filter doublespam set warnmessage Please don't spam
And to stop them saying 'penguins' or 'cake', and tell admins when they do.
- /filters add rudewords
- /filters filter rudewords addword cake
- /filters filter rudewords addword penguins
- /filters filter rudewords set warnmessage Your message contained inappropriate language!
- /filters filter rudewords set warnadmins true
- /filters save
Permissions
- chatfilters.admin - You need this permission to use /filters in the first place. This will also allow you to modify config.
- chatfilters.load - Permission to use /load
- chatfilters.bypass - Permission to not have the filter apply
- chatfilters.add - For adding a new word or filter
- chatfilters.remove - For removing a word or filter
- chatfilters.list - List words in a filter
- chatfilters.clear - Allows you to use /filters clear to clear the chat for you
- chatfilters.chat - Allows you to mute the entire server chat
- chatfilters.notify - If you have this, you will be notified if someone trips a filter
Planned features
- Sign and command filtering
Changelog
- 1.0.0 - Initial release
Great work, the plugin works fine... However, I'm looking for a plugin that can actually filter a word when a user sends a message, example:
I type... "Hey fuck you mann!" it comes out in chat as... "Hey forget you mann!"
is this a feature in this plugin which I've missed out on? Do you know any plugin that does this? thanks if you can help