RegexFilter - Regular Expression chat filter Version: v1.05 This plugin uses the power of Regular Expressions to filter anything you want from chat. Matching messages can be rewritten, logged and blocked, depending on the rules you define. Stop yourself from accidently sending those embarrasing .commands to chat. Warn users who use bad language and even turn their profanities into harmless language. This plugin comes with a default setup that effectively replaces my dotFilter and 7filter plugins, which will no longer be maintained. Features: Command typos beginning with certain characters can be stopped (like . and 7) Optionally recover those typos and execute the command as intended Define your own macros or command aliases Simple but powerful configuration with built-in debugging Each regular expression is compiled only once => very fast Supports config reload with "/regex reload" Permissions aware, rules may apply to players, groups or permission nodes Automatically kick players Still no cake Download http://minecraft.atc.no/plugins/RegexFilter.jar Source code is included - no strings attached, no warranties implied Changelog Version 1.00 Original release Version 1.01 Changed priority to "lowest" for compatibility with iChat Version 1.02 Added "/regex reload" command and "then debug" statement Version 1.03 Removed the "stupidly long constructor" as per Bukkit team recommendation Version 1.04 Added "then command" to convert chat messages into commands Version 1.05 Added permission awareness, "then kick" and "then abort" Installation: Download and copy to your "plugins" directory Optionally create the directory "plugins/RegexPlugin" Optionally create the file "plugins/RegexPlugin/rules.txt" and edit Configuration: Code: # Each rule must have one 'match' statement and atleast one 'then' statement # match <regular expression> # ignore user|group [space separated list] # ignore permission [node] # require user|group [space separated list] # require permission [node] # then replace <string>|warn [<string>]|log|deny|debug|kick|abort # Example 1: match f+u+c+k+ then replace cluck then warn Watch your language please then log # Example 2: match dick then replace duck # Emulate DotFilter match ^\.[a-z]+ then warn then deny # Emulate 7Filter match ^7[a-z]+ then warn then deny # Quietly turn "(command" into "/command" match ^\((?=[a-z]+) then replace then command Please do NOT post questions here about how to write regular expressions, there are thousands of web sites discussing this topic. Google is your friend. The plugin uses java.util.regex and is CASE_INSENSITIVE. It is NOT possible to use parens to capture substrings to be used with replace. ALL matching rules are applied in the order they appear before any action is taken.