Sueta

Chat Censor - Smart Anti-Swear Filter

1.2

Filter custom/profanity/swear words

·Plugin


CHAT CENSOR



GIF

A simple chat filtering plugin that loads .txt files and serves as a list of bad words that the server can reference from. In this case: censoring
For more detailed information and API usage, see here.

Example

Mode: NONE
 <player>: this is an example: (uncensored version of the word below)
Mode: MILD
 <player>: this is an example: bada*s motherf**ker
Mode: FULL
 <player>: this is an example: bad*** mother****er

Features

  • Custom Word Censoring
    • Customize the ' * ' censor char via configuration file
    • Load multiple files containing word banks
    • Letter Pattern Checks (W.I.P)
      • Example: If the word 'winner' was a bad word, 'w1nner' would be censored as well
  • Pre-defined list of bad words in several languages (LDNOOBW)
    • 25 Language files
  • Global Censoring / Censor Per-Player
    • Toggle between censoring all players or by their permissions.
    • Restrict players to specific censor modes
  • Censor Modes(see above example)
    • Permission based; player's can have different censor levels if given the permission to
    • FULL - Censors full word
    • MILD - Mildly censors word (does not block full word, but hides some letters)
    • NONE - Ignores censor checking; (no censoring)
  • Clickable modes
    • Change between censor modes at ease; must have the permission

Commands

  • /censor - Displays censor information.
  • /censor mode [mode] < (optional) player name> - Toggles censor mode
  • /censor global - Toggles global censoring
  • /censor check <(optional) word> - Checks if for bad words
  • /censor info <(optional) player name> - List players' censor modes

Permissions

  • chatcensor.admin - Access to admin privileges
  • chatcensor.full - Access to full censoring mode
  • chatcensor.mild - Access to mild censoring mode
  • chatcensor.none - Access to no censoring mode


Configuration File

files: # The files containing the words to censor
- custom
- languages/en
messages:
  no-permission: ' §8(§l§e*§r§8)§r You do not have permission'
settings:
  enabled: true # Global censoring
  censor: '*'
  default-mode: MILD # [NONE, MILD, FULL]

Please notify me of any bugs or problems and a rating is appreciated

Similar projects

Plugin →