Have you ever grew tired of some anti-spam plugin that block player's chat messages just by a simple word match ? Now it's time to make some change !
This is a plugin which create a filter to listen players' message & block them in time if it's format matches the banned list. The most attractive function of this plugin is the method how it match the players' message : regular expression.
It means that you can block players' message dynamicly ,not just by a simple word match.
Regular-expressions is a standard for string & character matching,It's just like a kind of programming language or script language (But it isn't).
A ip address is hard to be match in a common way . But for regular-expression , It could be written as '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'. in this expression. '\d' means digits. '{1,3}' means the length of digit must between 1 and 3,and '\.' means just a simple dot . With the assistance of regular-expression. The anti-spam of a server could be more and more powerful.
If you want to learn more about regular-expression , Click Here
There is only two configuration in the config.yml . Two list called 'filter' and 'whitelist'
every list will be regard as a set which content some regular-expressions.while the plugin captured a player's chat message.It first attempt to match the expression in the white-list.If there is a matched expression.It stopped it's further tasks.
Or else,It starts to match the expression each by each in the filter , and ,if there is a matched expression,It will block the message and warn the player ..etc.
The italic command means 'Operators' only' 0w0