Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ChatCensor v1.4

Block swear words, limit characters and mute/unmute players in chat

Add and configure a denied word:

1. Run the command "/addword <word>"
2. Go to "ChatCensor/denied-words" directory and open the word file
This is a word config file:
---
#Delete the message
delete-message: false
#Enable word replace
enable-replace: true
#Word that will be replaced (only if enable-replace is set to true)
replace-word: "****"
#Sender settings
sender:
#Kick player (if ban is set to true, action will be cancelled)
kick: false
#Ban player (if kick is set to true, action will be cancelled)
ban: false
#Kick settings
kick:
#Kick message
message: "Kicked for swearing!"
#Ban settings (ban duration will be implemented in next version)
ban:
#Ban message
message: "Banned for swearing!"
...

Configuration (config.yml):

---
#Censor settings (Censor blocks swear words from chat, it can be bypassed with the permission: chatcensor.bypass.censor)
censor:
#Enable Censor
enabled: true
#if you enable allow-bypassing, players can bypass Censor with the permission: chatcensor.bypass.censor
allow-bypassing: false
#Log "No swearing" message to player
log-to-player: true
#Mute
mute:
#Log message to player when it is muted
log-to-player: true
#Log message to player when it is unmuted
log-unmute: true
#Keep player muted when it relog in the server
keep-on-relogin: true
#CharCheck (CharCheck limits characters in chat)
char-check:
#Enable CharCheck
enabled: true
#if you enable allow-bypassing, players can bypass CharCheck with the permission: chatcensor.bypass.char-check
allow-bypassing: false
#Log message to player
log-to-player: true
#Allow players to use "\" in chat messages
allow-backslash: false
# List of allowed characters (Don't forget to add the character in quotes)
allowed-chars:
- "Q"
- "W"
- "E"
- "R"
- "T"
- "Y"
- "U"
- "I"
- "O"
- "P"
- "A"
- "S"
- "D"
- "F"
- "G"
- "H"
- "J"
- "K"
- "L"
- "Z"
- "X"
- "C"
- "V"
- "B"
- "N"
- "M"
- "q"
- "w"
- "e"
- "r"
- "t"
- "y"
- "u"
- "i"
- "o"
- "p"
- "a"
- "s"
- "d"
- "f"
- "g"
- "h"
- "j"
- "k"
- "l"
- "z"
- "x"
- "c"
- "v"
- "b"
- "n"
- "m"
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- "0"
- "."
- ":"
- ","
- ";"
- "-"
- "_"
- "|"
- "!"
- "/"
- "?"
...

Commands:

/chatcensor - ChatCensor commands (aliases: [cc, chatc, censor])
/addword <word> - Add a denied-word
/removeword <word> - Remove a denied-word
/mute <player> - Mute player
/unmute <player> - Unmute player

Permissions:

- chatcensor.* - ChatCensor permissions.
- chatcensor.bypass.* - Bypass ChatCensor permissions.
- chatcensor.bypass.char-check - Bypass ChatCensor CharCheck permissions.
- chatcensor.bypass.censor - Bypass ChatCensor Censor permissions.
- chatcensor.commands.* - ChatCensor commands permissions.
- chatcensor.commands.help - ChatCensor command Help permission.
- chatcensor.commands.info - ChatCensor command Info permission.
- chatcensor.commands.reload - ChatCensor command Reload permission.
- chatcensor.commands.addword - ChatCensor command AddWord permission.
- chatcensor.commands.removeword - ChatCensor command RemoveWord permission.
- chatcensor.commands.mute - ChatCensor command Mute permission.
- chatcensor.commands.unmute - ChatCensor command Unmute permission.
Advertisement