Chat AutoMod
Chat AutoMod 是一款轻量级的服务端模组,专为 Fabric 服务器设计。
它会自动检查玩家消息中的垃圾信息、过度大写、重复字符、广告、可疑链接以及可配置的过滤词或短语。消息可以被阻止、记录或报告给在线的工作人员,无需依赖任何外部审核服务。
玩家加入服务器时无需安装此模组。
功能特性
- 消息冷却与快速刷屏检测
- 重复及相似消息检测
- 过度大写检测
- 重复字符与符号刷屏检测
- Unicode 及零宽字符规范化
- 可配置的词与短语过滤器
- 基础数字字母混排(Leetspeak)及混淆检测
- 域名、IP 地址及 Discord 邀请链接检测
- 可配置允许的域名列表
- 基于分数的违规系统
- 临时与永久禁言
- 可配置的执行处罚命令
- 工作人员审核警报
- 违规历史记录
- 纯文本审核日志
- 实时重载配置
- 消息测试命令
- 权限与绕过支持
- 无需客户端安装
- 无需 AI 服务或外部审核 API
基于分数的惩罚机制
Chat AutoMod 不必对每次违规立即对玩家实施惩罚。
每条规则可以添加可配置的分数值。当玩家达到特定的分数阈值时,可应用不同的处理措施。
例如:
{
"2": "warn",
"5": "mute 5m",
"10": "kick",
"20": "permanent mute"
}
违规分数会在可配置的时间后自动衰减。
这使得服务器能够区分偶尔的轻微违规与反复或严重的滥用行为。
可配置的操作
每条审核规则均可独立执行以下操作:
- 允许该消息
- 阻止该消息
- 通知工作人员
- 警告玩家
- 增加违规分数
- 临时禁言玩家
- 永久禁言玩家
- 踢出玩家
- 执行可配置的服务端命令
管理命令
/automod reload
/automod test <message>
/automod history <player>
/automod violations <player>
/automod clear <player>
/automod mute <player> <duration>
/automod unmute <player>
/automod inspect
/automod test 命令会在不惩罚任何人的情况下,将消息通过当前的审核规则进行测试。
示例:
/automod test join my server example dot com
结果显示如下:
Matched:
- advertising.domain_obfuscation
Normalized:
join my server example.com
Action:
Message blocked
Points:
+5
这使得在不使用其他账号的情况下,更容易配置和测试过滤器。
隐私保护
默认情况下,不会存储原始的玩家消息。
服务器管理员可以选择启用消息存储,用于审核日志和违规历史记录。还可以配置自动日志保留策略。
支持的版本
- Minecraft 1.21.1 Fabric
- Minecraft 26.2 Fabric
Chat AutoMod 旨在保持仅服务端运行。原版客户端无需安装即可加入服务器。
计划中的功能
- 对
/msg、/tell 和 /reply 等私聊命令进行审核
- NeoForge 支持
- Discord Webhook 通知
- 可选的管理面板与配置 GUI
- 额外的可配置安全检查
Chat AutoMod
Chat AutoMod is a lightweight, server-side moderation mod for Fabric servers.
It automatically checks player messages for spam, excessive caps, repeated characters, advertising, suspicious links and configurable filtered words or phrases. Messages can be blocked, logged or reported to online staff without requiring any external moderation service.
Players do not need to install the mod to join the server.
Features
- Message cooldown and rapid-spam detection
- Duplicate and similar-message detection
- Excessive caps detection
- Repeated-character and symbol spam detection
- Unicode and zero-width character normalization
- Configurable word and phrase filters
- Basic leetspeak and obfuscation detection
- Domain, IP address and Discord invite detection
- Configurable allowed domains
- Score-based violation system
- Temporary and permanent mutes
- Configurable punishment commands
- Staff moderation alerts
- Violation history
- Plain-text moderation logs
- Live configuration reload
- Message testing command
- Permission and bypass support
- No required client installation
- No AI services or external moderation APIs
Score-based punishments
Chat AutoMod does not have to immediately punish a player for every violation.
Each rule can add a configurable number of points. Different actions can then be applied when the player reaches certain score thresholds.
For example:
{
"2": "warn",
"5": "mute 5m",
"10": "kick",
"20": "permanent mute"
}
Violation points automatically decay after a configurable amount of time.
This allows servers to treat occasional minor violations differently from repeated or severe abuse.
Configurable actions
Each moderation rule can independently:
- Allow the message
- Block the message
- Notify staff
- Warn the player
- Add violation points
- Temporarily mute the player
- Permanently mute the player
- Kick the player
- Execute a configurable server command
Administration commands
/automod reload
/automod test <message>
/automod history <player>
/automod violations <player>
/automod clear <player>
/automod mute <player> <duration>
/automod unmute <player>
/automod inspect
The /automod test command runs a message through the active moderation rules without punishing anyone.
Example:
/automod test join my server example dot com
The result shows:
Matched:
- advertising.domain_obfuscation
Normalized:
join my server example.com
Action:
Message blocked
Points:
+5
This makes it much easier to configure and test filters without using another account.
Privacy
Original player messages are not stored by default.
Server owners can optionally enable message storage for moderation logs and violation history. Automatic log retention can also be configured.
Supported versions
- Minecraft 1.21.1 Fabric
- Minecraft 26.2 Fabric
Chat AutoMod is intended to remain server-side only. Vanilla clients can join without installing it.
Planned features
- Moderation of private-message commands such as
/msg, /tell and /reply
- NeoForge support
- Discord webhook notifications
- Optional moderation dashboard and configuration GUI
- Additional configurable security checks
评论 0
登录后参与评分
还没有评论,来抢沙发吧