İ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 what you set in config (replaced-message) TBS:
online: true
banned_words: - bannedword1
- bannedword2
command: 'mute
%player% 30m Using Bad words' replace-message: true
Messages:
replaced-message: "This message is deleted by TBS due to using banned words in chat\ \ \nIf you think there is a mistake,contact with Server Staffs." online: TBS is online. Those who used banned-word will be punished.
offline: TBS is offline.
reload: The plugin is reloaded!
type-arg: Type an argument!
perm-error: You don't have required permission to execute this command!
used-banned-word: You have used banned word. So you will be punished.
TBS-runned: 'TBS has executed this command
: '