TBS
PluginCC-BY-NC-4.0

TBS

Auto-Moderation for bad words, Different commands for different words

220
Downloads
0
Followers
1 years ago
Updated
📦
3
Versions

📖About TBS

TBS is a plugin to block bad words

HOW IT WORKS

If there is a word that you described as bad word in message, plugin will execute a command that you set for

You can set which words will be blocked and and assign different commands for each words.

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
tbs.bypass = perm to bypass

HERE IS AN EXAMPLE CONFIG

# Add words like
# TBS:
#  Banned_Words:
#    examplebannedword:
#     command: 'test command'
# 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: false
  replace-message: false
  Banned_Words:
    bannedwordex1:
      command: tempmute %player% 30m Using banned word
    you can put spaces:
      command: just testing
    " and you can use quotation marks (example for abbreviated banned words)":
      command: tempmute %player% 12h Sending ad links
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: '