İf there is a word that you described as bad word in message, plugin will execute a command that you set
You can set which words will be blocked and which command will be executed
And also plugin (if you set enabled) will edit player's message
COMMANDS AND PERMS /tbs reload - reload config /tbs open - set enabled plugin to detect words /tbs close - set disabled plugin
tbs.cmd = perm to execute all commands
HERE IS A EXAMPLE CONFIG
Code (YAML):
# Add words like # banned_words: # -ex1 # -ex2 # Type command that will be executed. Plugin will replace %player% with player's name # if you want to edit player whose messages includes banned words. set true replace-message # And plugin will replace message with 'This message is deleted by TBS due to using banned words in chat\n" + # "If you think there is a mistake,contact with Server Staffs TBS:
online: true
banned_words: - ex1
- ex2
command: 'mute
%player% 30m Using Bad words' replace-message: true