[安全|聊天]urusai —— 让爱喷粪的家伙闭嘴[全版本]
-
本帖最后由 绚丽彩虹 于 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”,插件也拥有去除标点符号的功能。那么说了这么多,具体玩家喷粪之后会发生什么样子的事情?

↑ 嗯就是这样。
插件配置文件:
<span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#正则表达式列表</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">regexList:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "(太阳|日|曰|馹|鈤|驲|衵|氜|草|曹|吵|操|cao|ca|擦|插|肏|槽|屮|艸|抄|超|问候)(.*)(妈|爸|爷|奶|祖|姑|婶|叔|父|母)"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "(是)(狗|苟|豿|doge)"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "(狗|苟|豿|doge)(管理|吧)"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#关键字列表</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">wordList:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "是苟"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "mmp"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "cnm"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "艹"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "尼玛"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "脱么"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "妈"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "母亲"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "爸"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "爷"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "奶"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "父亲"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "儿子"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "祖宗"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "Alt+F4"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "法克"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "fuck"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "shit"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "gay"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "大屌"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "屎"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "吃屎"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "援交"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "tm"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "玛德"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "滚"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "gun"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "弱智"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "FQ"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "是狗"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "mlgb"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "mb"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "苟吧"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "辣鸡"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "鸡巴"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "鸡吧"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "辣鸡"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "大爷"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "R你"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "mdzz"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "破服"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "沃日"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "托马"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "狗管理"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#拼音过滤</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">pinyinList:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "mabi"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "cao"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "bichi"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "chishi"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "shabi"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "sabi"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#是否忽略关键字大小写</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">IsTolower: true</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#惩罚措施 【全部为小写】</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#boom 在玩家身上生成一个爆炸 不会破坏方块</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#kill 杀死玩家</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#jail 监禁</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#tempban 临时封禁</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#ban 封禁</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#爆炸为tnt数量 其他的单位均为分钟。</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">punishList: </span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "boom:1 mute:1m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "boom:2 mute:5m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "boom:3 mute:10m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "kill mute:15m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "kill mute:20m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "kill mute:60m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "jail:20m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "jail:30m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "jail:60m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "tempban:30m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "tempban:60m"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "ban"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#监狱名字</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">jailName: jail1</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#过滤加强</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">plus:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> ConfuseToNormal: true #转换火星文</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> FilterPunct: true #去除标点符号</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> FullToHalf: true #全角转换半角</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> TraditionalToSimplified: true #繁体转换简体</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> ChineseToPinyin: true #汉字转换拼音</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">#提示信息</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);">messages:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> prefix: "&4[&c&lurusai&4] " #前缀</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> default: "&2您好,本服务器禁止粗口,请您注意!" #默认提示语</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> allPlayer: "&4${PLAYER} 由于满嘴喷粪,已被系统自动惩罚!请大家控制好自己的情绪,切勿粗口!" #默认提示语</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> punish: "&c如果你下次仍然爆粗口,将会受到 &l${PUNISH}"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> punishName:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> boom: "${NUMBER} 级爆炸"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> mute: "${NUMBER} 分钟禁言"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> kill: "被杀死"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> jail: "${NUMBER} 分钟监禁"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> tempban: "${NUMBER} 分钟封禁"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> ban: "封号"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> punishShowMessage:</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> boom: ""</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> mute: "&b您已被系统自动禁言,时间: &c${NUMBER}"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> kill: ""</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> jail: "&b您已被系统自动监禁,时间: &c${NUMBER}"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> tempban: "&b您已被系统自动封禁,时间: &c${NUMBER}"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> ban: "您已被系统封禁。"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> punishMessage: #如果这里没有定义,将会使用默认提示语</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&2您好,本服务器禁止粗口,请您注意!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&2文明你我他,幸福千万家。请不要说脏话,爆粗口。和气生财你懂嘛??"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&a看样子你不懂什么叫和气生财嘛?别激动,别激动。"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&a活着不好吗?为什么非要骂骂咧咧的?"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&c管好你的嘴。"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&3你的脾气是不是太暴躁了?气多伤身。"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&4不要再满嘴喷粪了!给你一点教训!自己反思吧!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&4你又开始喷粪了,继续去面壁思过吧!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&4&l我看你还是没有反思够!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&e你需要安静一点。放轻松心情再来吧!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&9继续反思吧!爱说脏话的坏孩子!"</span> <span style="line-height: 22.4px; background-color: rgb(249, 249, 249);"> - "&b&l你的账号由于喷粪太多,已被系统自动封停。如有问题请联系管理组。"</span>插件权限:

插件指令:

插件纯净无后门,只会做它该做的事情,不会与其他插件冲突。必须使用ess作为前置,否则插件将不会产生任何效果。Minecraft 1.7.10 KCauldron 测试通过。
下载:
http://cdn.badapple.top/Minecraft/ServerPlugin/urusai作者联系方式:
博客:http://xlch.me
QQ:408214421捐赠:
本人之前都在玩php,这个插件是我一点点百度java语法写出来的,可以说很不容易,如果您觉得这个插件对您有帮助,欢迎捐赠一点点金额,哪怕是一块钱也是对我的鼓励!
如果您不愿意使用金钱来捐赠,欢迎点击下面的评分按钮,加一点人气。
支付宝:[email protected] -
-
-
-
-
6666666666厉害了
-
233333333333333333333333
-
-
-
需要需要
-
-
-
-
-
-
666作者
-
6666666666666666666666666666666666666666666666666666
-
-
-