找回密码
 加入最MC
搜索
热搜: 活动 交友 discuz
查看: 3831|回复: 52

[原创插件] [安全|聊天]urusai —— 让爱喷粪的家伙闭嘴[全版本]

 火 [复制链接]
发表于 2017-7-18 12:01:43 | 显示全部楼层 |阅读模式
服务端插件
中文名称: 无路赛
英文名称: urusai
来源: 原创
类型: |Bukkit/Spigot插件| 
前置插件: Essentials
原帖地址: http://bbs.qq-admin.cn/thread-44-1-1.html
下载地址: http://cdn.badapple.top/Minecraft/ServerPlugin/urusai
更新时间: 2017-07-18
语言支持: 简体中文 
本帖最后由 绚丽彩虹 于 2017-7-18 12:03 编辑

urusai —— 让爱喷粪的家伙闭嘴



你的服务器是否有一些特别爱f@ck、s@it、艹的玩家呢,虽然他们有时候并不是想要骂人,但是你就是看的很不顺眼对不对?
或者是小学生太多,天天各种互相怼,你却没空管那么多。
没关系,这个插件可以自动化 全方位的帮你管理喷粪的家伙。
可使用正则表达式+关键字+拼音屏蔽,还可以使用增强策略进行屏蔽!




你可以自定义惩罚效果,包括 在玩家的位置生成tnt、禁言、杀死玩家、关监狱、临时ban、永久ban。

并且可以定义每次说脏话的效果,比如第一次说了就执行生成tnt and 禁言,第二次就关监狱。

也可以定义每次说脏话的提示语。

可以使用正则表达式很灵活的去屏蔽,比如你想屏蔽“狗”,但是却会误判断“森林里有狗”,那么使用正则表达式“(狗|苟|豿|doge)(管理|吧)”就可以屏蔽“狗管理”、“苟管理”、“狗吧”、“doge管理”之类的词语。



如果你不想这么麻烦!你甚至可以用拼音来屏蔽!比如“麻痹”、“马币”,你可以用拼音“mabi”来屏蔽他们!



那么一些机智一点的玩家可能会用全角字符,比如“tm”、“TM”这样的。插件内置了全角字符转换半角字符,您无需担心这样就屏蔽不了了。

更机智的玩家还会使用繁体或者火星文,比如“媽的”、“sЬ”,插件也内置了繁体转换和火星文字体转换。

或者,有些人还用标点符号进行隔开,比如“t.m”、“s-b”,插件也拥有去除标点符号的功能。



那么说了这么多,具体玩家喷粪之后会发生什么样子的事情?







↑ 嗯就是这样。



插件配置文件:
  1. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#正则表达式列表</span>
  2. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">regexList:</span>
  3. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "(太阳|日|曰|馹|鈤|驲|衵|氜|草|曹|吵|操|cao|ca|擦|插|肏|槽|屮|艸|抄|超|问候)(.*)(妈|爸|爷|奶|祖|姑|婶|叔|父|母)"</span>
  4. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "(是)(狗|苟|豿|doge)"</span>
  5. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "(狗|苟|豿|doge)(管理|吧)"</span>

  6. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#关键字列表</span>
  7. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">wordList:</span>
  8. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "是苟"</span>
  9. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "mmp"</span>
  10. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "cnm"</span>
  11. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "艹"</span>
  12. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "尼玛"</span>
  13. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "脱么"</span>
  14. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "妈"</span>
  15. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "母亲"</span>
  16. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "爸"</span>
  17. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "爷"</span>
  18. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "奶"</span>
  19. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "父亲"</span>
  20. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "儿子"</span>
  21. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "祖宗"</span>
  22. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "Alt+F4"</span>
  23. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "法克"</span>
  24. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "fuck"</span>
  25. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "shit"</span>
  26. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "gay"</span>
  27. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "大屌"</span>
  28. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "屎"</span>
  29. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "吃屎"</span>
  30. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "援交"</span>
  31. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "tm"</span>
  32. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "玛德"</span>
  33. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "滚"</span>
  34. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "gun"</span>
  35. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "弱智"</span>
  36. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "FQ"</span>
  37. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "是狗"</span>
  38. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "mlgb"</span>
  39. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "mb"</span>
  40. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "苟吧"</span>
  41. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "辣鸡"</span>
  42. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "鸡巴"</span>
  43. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "鸡吧"</span>
  44. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "辣鸡"</span>
  45. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "大爷"</span>
  46. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "R你"</span>
  47. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "mdzz"</span>
  48. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "破服"</span>
  49. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "沃日"</span>
  50. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "托马"</span>
  51. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "狗管理"</span>

  52. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#拼音过滤</span>
  53. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">pinyinList:</span>
  54. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "mabi"</span>
  55. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "cao"</span>
  56. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "bichi"</span>
  57. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "chishi"</span>
  58. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "shabi"</span>
  59. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "sabi"</span>

  60. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#是否忽略关键字大小写</span>
  61. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">IsTolower: true</span>

  62. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#惩罚措施 【全部为小写】</span>
  63. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#boom 在玩家身上生成一个爆炸 不会破坏方块</span>
  64. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#kill 杀死玩家</span>
  65. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#jail 监禁</span>
  66. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#tempban 临时封禁</span>
  67. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#ban 封禁</span>
  68. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#爆炸为tnt数量 其他的单位均为分钟。</span>
  69. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">punishList: </span>
  70. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "boom:1 mute:1m"</span>
  71. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "boom:2 mute:5m"</span>
  72. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "boom:3 mute:10m"</span>
  73. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "kill mute:15m"</span>
  74. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "kill mute:20m"</span>
  75. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "kill mute:60m"</span>
  76. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "jail:20m"</span>
  77. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "jail:30m"</span>
  78. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "jail:60m"</span>
  79. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "tempban:30m"</span>
  80. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "tempban:60m"</span>
  81. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    - "ban"</span>

  82. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#监狱名字</span>
  83. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">jailName: jail1</span>

  84. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#过滤加强</span>
  85. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">plus:</span>
  86. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    ConfuseToNormal: true #转换火星文</span>
  87. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    FilterPunct: true #去除标点符号</span>
  88. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    FullToHalf: true #全角转换半角</span>
  89. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    TraditionalToSimplified: true #繁体转换简体</span>
  90. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    ChineseToPinyin: true #汉字转换拼音</span>

  91. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#提示信息</span>
  92. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">messages:</span>
  93. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    prefix: "&4[&c&lurusai&4] " #前缀</span>
  94. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    default: "&2您好,本服务器禁止粗口,请您注意!" #默认提示语</span>
  95. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    allPlayer: "&4${PLAYER} 由于满嘴喷粪,已被系统自动惩罚!请大家控制好自己的情绪,切勿粗口!" #默认提示语</span>
  96. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    punish: "&c如果你下次仍然爆粗口,将会受到 &l${PUNISH}"</span>
  97. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    punishName:</span>
  98. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        boom: "${NUMBER} 级爆炸"</span>
  99. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        mute: "${NUMBER} 分钟禁言"</span>
  100. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        kill: "被杀死"</span>
  101. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        jail: "${NUMBER} 分钟监禁"</span>
  102. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        tempban: "${NUMBER} 分钟封禁"</span>
  103. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        ban: "封号"</span>
  104. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    punishShowMessage:</span>
  105. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        boom: ""</span>
  106. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        mute: "&b您已被系统自动禁言,时间: &c${NUMBER}"</span>
  107. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        kill: ""</span>
  108. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        jail: "&b您已被系统自动监禁,时间: &c${NUMBER}"</span>
  109. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        tempban: "&b您已被系统自动封禁,时间: &c${NUMBER}"</span>
  110. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        ban: "您已被系统封禁。"</span>
  111. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">    punishMessage: #如果这里没有定义,将会使用默认提示语</span>
  112. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&2您好,本服务器禁止粗口,请您注意!"</span>
  113. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&2文明你我他,幸福千万家。请不要说脏话,爆粗口。和气生财你懂嘛??"</span>
  114. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&a看样子你不懂什么叫和气生财嘛?别激动,别激动。"</span>
  115. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&a活着不好吗?为什么非要骂骂咧咧的?"</span>
  116. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&c管好你的嘴。"</span>
  117. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&3你的脾气是不是太暴躁了?气多伤身。"</span>
  118. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&4不要再满嘴喷粪了!给你一点教训!自己反思吧!"</span>
  119. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&4你又开始喷粪了,继续去面壁思过吧!"</span>
  120. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&4&l我看你还是没有反思够!"</span>
  121. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&e你需要安静一点。放轻松心情再来吧!"</span>
  122. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&9继续反思吧!爱说脏话的坏孩子!"</span>
  123. <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">        - "&b&l你的账号由于喷粪太多,已被系统自动封停。如有问题请联系管理组。"</span>
复制代码


插件权限:



插件指令:



插件纯净无后门,只会做它该做的事情,不会与其他插件冲突。
必须使用ess作为前置,否则插件将不会产生任何效果。
Minecraft 1.7.10 KCauldron 测试通过。


下载:

游客,如果您要查看本帖隐藏内容请回复


作者联系方式:


QQ:408214421


捐赠:

本人之前都在玩php,这个插件是我一点点百度java语法写出来的,可以说很不容易,如果您觉得这个插件对您有帮助,欢迎捐赠一点点金额,哪怕是一块钱也是对我的鼓励!

如果您不愿意使用金钱来捐赠,欢迎点击下面的评分按钮,加一点人气。

支付宝:me@qq-admin.cn



发表于 2017-7-18 13:51:24 | 显示全部楼层
66666666666
发表于 2017-7-20 03:32:56 | 显示全部楼层
666666,顶一个
发表于 2017-7-26 21:26:28 | 显示全部楼层
好东西,带走了
发表于 2017-7-29 12:01:43 | 显示全部楼层
6666666666厉害了
发表于 2017-8-6 22:06:16 | 显示全部楼层
233333333333333333333333
发表于 2017-8-8 08:09:16 | 显示全部楼层
♪(^∇^*),带走不谢
您需要登录后才可以回帖 登录 | 加入最MC

本版积分规则

Archiver|手机版|小黑屋|最MC论坛 ( 粤ICP备12035413号 )

GMT+8, 2026-12-1 04:07 , Processed in 0.021730 second(s), 20 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表