Discord
PideMann
如果你发现任何错误或需要支持,可以通过这里联系我。
AutoMute
AutoMute 是一个可配置的 Paper 插件,能够自动检测聊天中的脏话和广告,取消违规消息并施加临时禁言。管理员还可以施加、检查、列出和移除禁言。
支持的环境
- Paper 1.16.x 至 1.21.x(请使用匹配的 jar 文件)
- Java 8 或更高版本
- 默认使用 SQLite
- 可选 MySQL 持久化存储
自动过滤器
脏话过滤器将匹配配置为完整单词的词,不会匹配嵌入在更大单词内部的词。广告过滤器会检测域名、IP 地址和自定义模式。当相应设置启用时,操作员以及拥有 automute.bypass 或 automute.exempt 权限的玩家将被忽略。
命令
/mute <player>
显示已配置的原因代码。
/mute <player> <reason-code>
应用针对该原因的配置持续时间。
/mute <player> <duration> <reason>
应用自定义持续时间和原因。
/unmute <player>
移除当前的禁言状态。
/muteinfo <player|ID>
显示当前或历史的禁言信息。
/mutelist
列出当前的禁言状态。
/otomute help
显示管理命令。
/otomute word <add|remove|list> <word>
管理脏话词汇。
/otomute ad <add|remove|list> <pattern>
管理广告模式。
/otomute filter <status|toggle> <profanity|advertising|general>
显示或更改过滤器状态。
/otomute reason <list|add|remove|duration|name> ...
管理预设的禁言原因。
/otomute message <list|set> ...
管理 lang.yml 中的消息。
/otomute broadcast <list|add|remove> ...
管理禁言公告。
/otomute settings <list|set> ...
管理过滤器和公告设置。
/otomute reload
重新加载配置、语言、原因和已存储的禁言记录。
权限
automute.mute.reason 使用配置的原因代码。
automute.mute.timed 使用自定义持续时间和原因。
automute.mute.any 同时使用两种禁言模式。
automute.unmute 移除禁言。
automute.info 查看禁言详情。
automute.list 列出当前禁言。
automute.admin 使用所有管理功能。
automute.exempt 忽略自动过滤。
automute.bypass 忽略自动过滤。
存储
当前禁言存储在 mutes.yml 中,默认情况下也会镜像到 SQLite。可以在 config.yml 中启用 MySQL。历史禁言记录存储在 history.yml 中。数据库凭据保留在服务器配置中,绝不会发送至 Modrinth。
Modrinth 更新通知
AutoMute 会检查公共 Modrinth 版本端点以获取项目 riym9KGa 的信息。它绝不会发送令牌、凭据、数据库值或玩家数据。它不会自动下载或安装更新。如果有新版本可用,操作员在加入服务器时会收到通知。可以通过设置 update-check.enabled: false 禁用此检查。
Discord
PideMann
If you find any bugs or need support, you can contact me here.
AutoMute
AutoMute is a configurable Paper plugin that automatically detects profanity and
advertising in chat, cancels the offending message, and applies a temporary mute.
Staff can also apply, inspect, list, and remove mutes.
Supported environment
- Paper 1.16.x through 1.21.x (use the matching jar)
- Java 8 or newer
- SQLite by default
- Optional MySQL persistence
Automatic filters
The profanity filter matches configured words as complete words. It does not
match a configured word inside a larger word. The advertising filter detects
domains, IP addresses, and custom patterns. Operators and players with
automute.bypass or automute.exempt are ignored when the corresponding setting is
enabled.
Commands
/mute <player>
Shows the configured reason codes.
/mute <player> <reason-code>
Applies the configured duration for a reason.
/mute <player> <duration> <reason>
Applies a custom duration and reason.
/unmute <player>
Removes an active mute.
/muteinfo <player|ID>
Shows active or historical mute information.
/mutelist
Lists active mutes.
/otomute help
Shows administration commands.
/otomute word <add|remove|list> <word>
Manages profanity words.
/otomute ad <add|remove|list> <pattern>
Manages advertising patterns.
/otomute filter <status|toggle> <profanity|advertising|general>
Shows or changes filter state.
/otomute reason <list|add|remove|duration|name> ...
Manages ready-made mute reasons.
/otomute message <list|set> ...
Manages messages in lang.yml.
/otomute broadcast <list|add|remove> ...
Manages the mute announcement.
/otomute settings <list|set> ...
Manages filter and announcement settings.
/otomute reload
Reloads configuration, language, reasons, and stored mutes.
Permissions
automute.mute.reason Use configured reason codes.
automute.mute.timed Use custom durations and reasons.
automute.mute.any Use both mute modes.
automute.unmute Remove mutes.
automute.info View mute details.
automute.list List active mutes.
automute.admin Use all administration functions.
automute.exempt Ignore automatic filtering.
automute.bypass Ignore automatic filtering.
Storage
Active mutes are stored in mutes.yml and mirrored to SQLite by default.
MySQL can be enabled in config.yml. Historical mute records are stored in
history.yml. Database credentials remain in the server configuration and are
never sent to Modrinth.
Modrinth update notifications
AutoMute checks the public Modrinth versions endpoint for project riym9KGa.
It never sends a token, credential, database value, or player data. It does not
download or install updates automatically. Operators are notified when they
join the server if a newer version is available. The check can be disabled with
update-check.enabled: false.
评论 0
登录后参与评分
还没有评论,来抢沙发吧