
是否曾遇到过不可信的玩家在没有工作人员在线时发表粗俗言论的问题?现在无需担心,因为 AntiCuss 提供了阻止这些恶语中伤所需的一切功能!凭借完全可自定义的配置,你再也不必为玩家的口无遮拦而烦恼。
此插件不需要 Vault,但如果你希望使用收费功能,则需要安装它。
工作原理
基本上,每当玩家的消息中包含被屏蔽的词汇时,该消息将被取消,并且该玩家会收到警告。插件已内置大量脏词到配置文件中,但你也可以编辑或添加任何配置项。如果不希望因说脏话而对玩家收费,请将费用值设置为 0。
命令:
- /anticuss :显示 AntiCuss 命令列表!
- /acreload :重新加载 AntiCuss 配置文件!
- /clearchat :清空聊天栏!
- /chat [on/off] :切换聊天功能!
权限:
- anticuss.reload :重新加载配置文件的权限!
- anticuss.bypass :绕过限制的权限!
- anticuss.kick :拥有此权限的玩家在说脏话时会被踢出服务器,而不是仅收到警告!
- anticuss.clear :清空聊天栏的权限!
config.yml
以下是配置文件的样式。要向配置中添加词汇,请添加新行,缩进两个空格,添加一个连字符(-),再添加一个空格,然后输入该词汇。我在下方添加了一些示例词汇。(注意:我在此处并未列出实际的脏词;它们将存在于真实的 config.yml 文件中。)
cusswords:
- sandwich
- banana
- shoe
warnmessage: 不要说脏话!
kickmessage: 你因说脏话而被踢出!
cost: 100
chatOnMessage: 聊天已启用!
chatOffMessage: 聊天已禁用!
cancelChatMessage: 聊天禁用期间无法发言!
killOnCurse: false
killMessage: 你因说脏话而被击杀!
capsPercentage: 75
待办事项:
如果你有建议,请在 评论区 留言。
如果发现 bug,请提交包含详细信息的 支持工单。
预计 AntiCuss v1.8 将在七月初发布,并实现部分待办事项中的功能。
查看我的其他插件 这里。
GitHub 源代码

Ever had issues with untrustworthy players speaking of vulgar things when there is no staff online? There's no need to worry now, because AntiCuss gives you everything you need to stop those badmouths! With a fully customizable configuration, there is no need to fret over players mouthing off ever again.
This plugin does not require Vault but you will need it if you want the cost feature to be utilized.
How it Works
Basically, every time a player has a blocked term in their message, the message will be cancelled and they will be given a warning. The plugin comes with tons of bad words already loaded into the config, but you can edit or add to any of the config. Set the cost value to 0 if you don't want players charged for cussing.
Commands:
- /anticuss : Displays AntiCuss commands!
- /acreload : Reloads AntiCuss config!
- /clearchat : Clears chat!
- /chat [on/off] : Toggles chat!
Permissions:
- anticuss.reload : Permission to reload config!
- anticuss.bypass : Permission to bypass restrictions!
- anticuss.kick : Players with this permission will get kicked for cussing rather than warned!
- anticuss.clear : Permission to clear chat!
config.yml
Below is what the config looks like. To add words to the config, add a new line, make two spaces, add a hyphen (dash), make one space, and then type the word. I added a few example words below. (Note that I did not add the actual cuss words on this post; they will be in the real config.yml.)
cusswords:
- sandwich
- banana
- shoe
warnmessage: Don't cuss!
kickmessage: You were kicked for cussing!
cost: 100
chatOnMessage: Chat has been enabled!
chatOffMessage: Chat has been disabled!
cancelChatMessage: You can't talk while the chat is disabled!
killOnCurse: false
killMessage: You were killed for cussing!
capsPercentage: 75
TO DO:
If you have suggestions, please leave them in the comments.
If you find bugs, please leave a support ticket with information.
Expect AntiCuss v1.8 early July with some of the features on the TO DO list implemented.
Check out my other plugins here.
Source on GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧