promotional bannermobile promotional banner

CMCProtect

A plugin to instantly filter out blacklisted words (i.e. stop people from swearing).

|:- CMCProtect -:|

-| v2.10 |-


There are three things that make this plugin unique to other chat filtering plugins:

a) Their message isn't cancelled.
- the player's message isn't cancelled. The illegal/blacklisted word is just replaced.
b) You can customise each blacklisted word.
- you can add illegal/blacklisted words and if a player uses this word it's replaced with the word you decide.
c) You can customise every single illegal word to have their own replacement word.
- each illegal/blacklisted word can be replaced with what ever you want!


Examples

If the commands "/cmcprotect filter add crappy poopy" is executed and the:

player's message is:

  • Hello crappy server!

then, the output is:

  • Hello poopy server!

There's minimal interruption to make the server faster, enjoyable and less destructive to the chat.



Overview

CMCProtect is a generic chat plugin. I originally created this plugin as a customised plugin for a server but decided to publicly release it. It offers only a couple of commands and doesn't interfere with the chat in any way apart from blocking blacklisted words.

The plugin is used to prevent swearing and the use of swear words - it's a simple concept: To block swear words and replace each word with a specific word.


Commands

List

  • /cmcprotect
    • /cmcprotect filter
      • /cmcprotect filter add [word] [replacement]
      • /cmcprotect filter remove [word]
    • /cmcprotect list
    • /cmcprotect help
    • /cmcprotect reload

Description

/cmcprotect
- will offer "/cmcprotect help" command.
/cmcprotect filter
- will offer "/cmcprotect filter add" and "/cmcprotect filter remove" commands along with usage.
/cmcprotect filter add [word] replacement]
- will add a word to the blacklist. e.g. using "/cmcprotect filter add crap poo" will replace all "crap" occurrences in the chat with "poo".
/cmcprotect filter remove [word]
- will remove a word from the blacklist. e.g. using "/cmcprotect filter remove crap" will stop all occurrences of "crap" from being blocked.
/cmcprotect filter list
- will display a list of blacklisted words along with their replacements.
/cmcprotect help
- will display all the commands along with their usage and description.
/cmcprotect reload
- will reload the configuration file.

Permissions

cmcprotect.allow
- will allow access to all the commands.

Configuration

  • - the configuration file is "config.yml".
cmcprotect:
  filter:
    words:
    - crap
    - turd
crap: poo
turd: diarrhoea

The first string list is a list of the blacklisted words. The second string list is the strings and their replacements. This can easily be edited and all you need to do is execute "/cmcprotect reload" to reload the config.yml file.

It's not recommended to change the "config.yml":
- the config file is automatically updated via actually using the plugin.
CMCProtect v2.1 uses Metrics to retrieve data (via MCStats) for statistical purposes.
- to disable this, go into the Metrics folder (via plugins folder) and enable opt-out to true through the .yml file.

The CMCProtect Team

profile avatar
  • 1
    Projects
  • 667
    Downloads