TBS

插件

· 作者 AlkiDev

自动审核不当词汇,针对不同词汇使用不同命令

0 本站下载 0 关注 更新于 1 年前

最新 1.2.1 · 1.20 · Bukkit / Paper

一键开服(送7天)

TBS 是一个用于屏蔽脏话的插件

工作原理

如果消息中出现了你定义为脏话的词,插件将执行你为该词设置的命令。

你可以设置哪些词会被屏蔽,并为每个词分配不同的命令。

此外,插件(如果你设置了启用)还会编辑玩家的消息。

命令与权限

/tbs reload - 重载配置 /tbs open - 启用插件以检测词汇 /tbs close - 禁用插件

tbs.cmd = 执行所有命令所需的权限 tbs.bypass = 绕过检测的权限

以下是示例配置:

# 添加词汇,格式如下
# TBS:
#  Banned_Words:
#    examplebannedword:
#     command: 'test command'
# 输入将要执行的命令。插件会将 %player% 替换为玩家的名字。
# 如果你想编辑包含脏话的玩家消息,请将 replace-message 设置为 true。
# 然后插件会用你在配置中设置的 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: '

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源