Compatibility
Minecraft: Java Edition
1.21–1.21.6
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
Platforms
Links
Creators
Details
Licensed MIT
Published last month
Updated 4 weeks ago
EN(Used translation software):
This plugin allows you to record player chat content, filter out vulgar vocabulary, and filter out vulgar names on velocity rather than downstream servers (bukkit).
At present, the function of detecting illegal commands needs to be improved.
Before using this plugin, you must have a player management plugin installed in your velocity to implement features such as banning, kicking, and punishment.
ZH:
这个插件可以让你在velocity而非下游服务器(bukkit)实现记录玩家聊天内容,过滤不雅词汇,过滤不雅名称功能。
目前检测违规命令功能待完善状态。
使用这个插件前你必须在你的velocity装有玩家管理类的插件才可以实现禁言,踢出,等处罚功能。
Front end plugin,You can also use other plugins with the same functionality instead!(前置插件,你也可以使用其他功能一样的插件代替!):
Commands(命令):
/chatlog reload - 重新载入插件
Config.yml(配置文件):
punishment-command: "tempmute %player% 10m 您发送的聊天信息可能包含违规词语"
CheckCommands:
- 'w'
- 'msg'
- 'me'
- 'tell'
- 'hh'
- 'pc'
- 'f'
UserNameCheck: true
UserName-punishment-command: "kick %player% 您的用户名包含违禁词请更换用户名"
filter.yml(敏感词):
### Fill in the regular expression for each prohibited word on each line here(在这里填写每行一个违禁词的正则表达式)
# Demo(例如):
.*傻逼.*
.*Lose.*
(?i)\bf[u\*\.\s]*c[kx]+\b
filter_replace.yml(敏感词替换):
# ChatLog 违禁词替换配置
# 替换为的字符,默认为*
replace_with: '*'
# 需要替换的违禁词正则表达式列表
# 每行一个正则表达式
patterns:
- 'cnm'
lang.yml(语言):
# ChatLog 语言配置文件
# 插件消息
plugin:
reload: "§aChatLog 配置已重新加载!"
reload_usage: "§c用法:/chatlog reload"
startup: "ChatLog 插件已初始化,日志文件位置: {0}"
shutdown: "ChatLog 插件已关闭"
# 错误消息
error:
create_dir: "无法创建插件目录: {0}"
create_file: "无法创建{0}文件: {1}"
write_log: "写入{0}时发生错误"
# 违规处理消息
violation:
username: "玩家 {0} 用户名包含违禁词,已执行命令: {1}"
chat: "玩家 {0} 发送消息被拦截(包含违禁词)。内容: {1} 已执行命令: {2}"
# 配置相关消息
config:
loaded_commands: "已加载 CheckCommands,命令数: {0}"
loaded_filters: "已加载 {0} 个违禁词正则"
default_config: "已生成默认 config.yml,请根据需求修改各项配置"
default_filter: "已生成默认 filter.yml,请根据需求在每行添加违禁词正则"
load_error: "读取 {0} 时发生错误,使用默认配置"