In your server there are people that say things like "HEY ALL PLEASE READ THIS I KNOW A BUG TO HAVE DIAMONDS", "If you enter to this server you can have OP: 123.45.67.89" or "You are all sons of a b#$%"? Do you want to avoid to deal with this kind of players on the general chat? This plugin will allow you to filter all this messages and more, so the server chat will be clean of all that spam.
Features
- Filter words (regex allowed) on the general chat
- Blocks IPs from the chat
- Upcase filter (if the message have many uppercase letters, all the message is "lowercased")
- Block a message if it was filtered (don't publish the message if it was modified by the filter)
Planned features
- <s>Kick a player if his message was filtered (similar to block it)</s> on latest dev builds
- <s>Specific replacement string for each filter (except for IP and uppercase filter)</s> on latest dev builds
- <s>Filter/block repeated messages</s> available from build #13
As all the planned features are already implemented on dev builds, we'll have a new release soon. If you have suggestions, don't be shy and send them!
Installation
You only have to paste only one version of this plugin, on your plugins folder. When you start your server, the configuration and filters files will be automatically created.
Configuration
Coming soon with next release.
Permissions
- chatfilter.command: Allows to use the commands for this plugin
- chatfilter.ignore: The player with this permission will not be affected by the filter
Commands
- /chatfilter help - Shows the info about the plugin and another subcommands
- /chatfilter reload - Reloads the configuration from disk
- /chatfilter save - Saves configuration and filters to the disk
- /chatfilter toggle <filter> - Toggles filters, use /chatfilter toggle help to see what you can toggle
- /chatfilter add <string> - Add a string as a filter
- /chatfilter remove <string> - Removes a string as a filter
Can I use my own language file?
Of course! On the plugin folder (create it if not exists) add a file named "lang_<your-lang>.yml" (based on lang_default.yml) and on config.yml set "lang: <your-lang>". That's it.
Sources and last builds
Check the full source for this plugin on GitHub, and for the latest dev-builds on plugins repository. NOTE: The dev-builds are provided with any warranty, use them under your own responsability.

