Chat Regulation

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 !

Introduction

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.

Feature

  • Block players' message by regular-expression match
  • Customized ignore case match controller '[IC]' (As an add-on for regular-expressions)
  • Warn the player when he/she said something that was forbidden (It is sure that the player's message will not be shown :) )
  • Notice the console and all online-operators if a player's message was blocked (With specified content of message)

What is regular-expressions?

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

Configuration

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.

Commands

The italic command means 'Operators' only' 0w0

  • /chatblocker info - show the information of the plugin
  • /chatblocker reload - reload the configuration file
  • /chatblocker allow <player> - restore a player's message from being blocked

    Wish you can enjoy this plugin,Your support is my best propulsion ~

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files