GGuard
GGuard 是一款轻量且高度可配置的 Paper 插件,旨在保护你的服务器免受脏话、聊天绕过尝试和垃圾信息的困扰,同时为工作人员提供一个易于使用的管理界面。
这是我的首个公开插件。此前,我主要为 Minecraft 服务器开发私有插件,现在很高兴能终于与社区分享这款作品。
功能特性
? 高级脏话过滤
? 反垃圾信息保护
- 自动检测垃圾信息消息。
- 完全集成于旗帜系统(Flag System)。
? 旗帜系统
- 玩家违反聊天规则时会获得旗帜标记。
- 可配置在施加惩罚前需要累积的旗帜数量。
- 通过配置文件进行完全自定义。
? 自动禁言系统
- 当玩家达到旗帜上限时,自动执行可配置的禁言命令。
- 通过在配置文件中更改命令,使用你喜欢的惩罚插件。
指令
| 指令 |
别名 |
描述 |
权限 |
/chatmoderation reload |
/cm reload |
无需重启服务器即可重新加载所有插件配置文件。 |
chatmoderation.admin |
/chatmoderation resetflags <player> |
/cm resetflags <player> |
重置玩家的旗帜计数。 |
chatmoderation.admin |
/chatflags |
/flags, /chatflag |
打开工作人员管理 GUI,查看被标记的玩家、旗帜计数、聊天历史并管理惩罚。 |
chatmoderation.admin |
权限
| 权限 |
描述 |
默认值 |
chatmoderation.admin |
授予所有管理员指令和管理 GUI 的访问权限。 |
OP |
chatmoderation.bypass.spam |
允许玩家绕过反垃圾信息系统。 |
False |
chatmoderation.bypass.badwords |
允许玩家绕过脏话过滤器。 |
False |
chatmoderation.notify |
每当有玩家被标记时接收通知。 |
OP |
?️ 工作人员管理 GUI
通过直观的图形用户界面管理被标记的玩家。
可用操作包括:
- 查看被标记的玩家
- 查看每位玩家的旗帜计数
- 禁言
- 解除禁言
- 清除旗帜
- 其他管理操作
⚙️ 高度可配置
几乎所有内容均可自定义:
- 消息
- GUI 布局
- 脏话列表
- 旗帜限制
- 惩罚命令
- 更多内容
测试
GGuard 已在 alaskamc.xyz 上经过测试,在生产环境中表现稳定,无问题。
如果你正在寻找一个可以游玩的服务器,欢迎前往体验——他们提供 SMP 和 BoxPvP 模式。
未来计划
这仅仅是开始。计划的更新内容包括:
- 支持更多 Minecraft/Paper 版本
- 新的管理功能
- 性能改进
- 额外的 GUI 选项
- 基于社区反馈增加更多配置设置
反馈
如果你喜欢 GGuard,请考虑留下评论、报告错误或建议新功能。也非常欢迎将本插件分享给其他服务器所有者。
感谢你的支持,希望 GGuard 能帮助保持你的服务器聊天环境干净且愉快!
GGuard
GGuard is a lightweight and highly configurable Paper plugin that protects your server from bad words, chat bypass attempts, and spam while providing an easy-to-use management interface for staff.
This is my first public plugin. Previously, I mainly developed private plugins directly for Minecraft servers, and I'm excited to finally share one with the community.
Features
? Advanced Bad Word Filter
-
Block any word listed in badwords.yml.
-
Easily add or remove blocked words.
-
Advanced anti-bypass detection that catches variations such as:
fish
FIsh
fi_sh
fi\sh
- and many other common bypass methods.
? Anti-Spam Protection
- Detects spam messages automatically.
- Fully integrated with the flag system.
? Flag System
- Players receive flags when they violate chat rules.
- Configure how many flags are required before punishment is applied.
- Fully customizable through configuration files.
? Automatic Mute System
- Automatically executes a configurable mute command once a player reaches the flag limit.
- Use your preferred punishment plugin by changing the command in the config.
Commands
| Command |
Aliases |
Description |
Permission |
/chatmoderation reload |
/cm reload |
Reload all plugin configuration files without restarting the server. |
chatmoderation.admin |
/chatmoderation resetflags <player> |
/cm resetflags <player> |
Reset a player's flag count. |
chatmoderation.admin |
/chatflags |
/flags, /chatflag |
Open the staff moderation GUI to view flagged players, flag counts, chat history, and manage punishments. |
chatmoderation.admin |
Permissions
| Permission |
Description |
Default |
chatmoderation.admin |
Grants access to all admin commands and the moderation GUI. |
OP |
chatmoderation.bypass.spam |
Allows a player to bypass the anti-spam system. |
False |
chatmoderation.bypass.badwords |
Allows a player to bypass the bad word filter. |
False |
chatmoderation.notify |
Receives notifications whenever a player is flagged. |
OP |
?️ Staff Management GUI
Manage flagged players through an intuitive GUI.
Available actions include:
- View flagged players
- View each player's flag count
- Mute
- Unmute
- Clear flags
- Additional management actions
⚙️ Highly Configurable
Almost everything can be customized:
- Messages
- GUI layouts
- Bad word list
- Flag limits
- Punishment commands
- And much more
Tested
GGuard has been tested on alaskamc.xyz, where it performed reliably in production without issues.
If you're looking for a server to play on, feel free to check them out—they offer both SMP and BoxPvP.
Future Plans
This is only the beginning. Planned updates include:
- Support for more Minecraft/Paper versions
- New moderation features
- Performance improvements
- Additional GUI options
- More configuration settings based on community feedback
Feedback
If you enjoy GGuard, consider leaving a review, reporting bugs, or suggesting new features. Sharing the plugin with other server owners is also greatly appreciated.
Thank you for your support, and I hope GGuard helps keep your server's chat clean and enjoyable!
评论 0
登录后参与评分
还没有评论,来抢沙发吧