AutoMod
AutoMod 是一款 Minecraft Spigot 插件,旨在通过利用 AI(具体为 Perspective API)来审查和屏蔽有害消息,从而增强游戏内的聊天审核功能。该插件还会屏蔽链接、域名以及 IP 地址(包括 IPv4 和 IPv6)。此外,AutoMod 支持通过 Redis 通信实现多实例服务器,并利用缓存来加速审核过程,且支持配置缓存过期时间。
文档
Documentation
功能
- AI 驱动审核: 使用 Perspective API 实时检测并审查有害消息。
- 链接与 IP 屏蔽: 屏蔽链接、域名、IPv4 和 IPv6 地址,以防止垃圾信息和恶意内容。
- 多实例支持: 利用 Redis 在多个服务器实例之间进行通信,以实现同步审核。
- 可配置缓存: 实施缓存以提高性能,并提供可自定义的过期设置。
- 智能反垃圾邮件检测: 采用算法智能识别并缓解垃圾信息行为。
- 防命令滥用: 限制命令使用频率,以防止滥用并保持服务器稳定。
- 支持 LiteBans: 与 LiteBans 集成,通过高级封禁管理功能增强审核能力。
安装
- 从 发布页面 下载 AutoMod 的最新版本。
- 将
AutoMod.jar 文件放入服务器的 plugins 目录中。
- 重启 Minecraft 服务器以加载插件。
配置
首次运行后,将在 plugins/AutoMod 目录中生成一个配置文件。主要配置选项包括:
- Perspective API 密钥: 从 Perspective API 网站 获取 API 密钥,并将其添加到配置文件中。
- Redis 配置: 设置 Redis 连接详细信息以启用多实例通信。
- 缓存设置: 配置缓存过期时间,以平衡性能和资源使用。
命令
/automod reload - 重新加载插件配置。
/automod status - 检查所有服务的状态。
/automod unmute <player> - 解除对玩家的静音。
权限
automod.bypass - 绕过所有 AutoMod 过滤器
automod.staff - 可以看到原始消息
用法
AutoMod 会自动审核聊天消息,根据配置屏蔽有害内容、链接和 IP 地址。无需额外命令即可启动审核过程。
贡献
- 在 GitHub 上 Fork 仓库。
- 创建一个新分支 (
git checkout -b feature-branch)。
- 进行修改并提交更改 (
git commit -am 'Add new feature')。
- 推送分支 (
git push origin feature-branch)。
- 创建新的 Pull Request。
许可证
本项目基于 MIT 许可证授权。有关更多详细信息,请参阅 LICENSE 文件。
支持
如需支持,请在 GitHub 仓库 上提交 Issue,或通过电子邮件 support@unilix.it 联系我们。
或者加入 Discord 服务器
感谢您使用 AutoMod!我们希望它能帮助您保持 Minecraft 服务器聊天环境的安全和愉快,让每个人都能享受其中。
AutoMod
AutoMod is a Minecraft Spigot plugin designed to enhance in-game chat moderation by using AI, specifically the Perspective API, to censor and block harmful messages. The plugin also blocks links, domains, and IP addresses (both IPv4 and IPv6). Additionally, AutoMod supports multi-instance servers through Redis communication and utilizes caches to speed up the moderation process, with configurable cache expiration.
Docs
Documentation
Features
- AI-Powered Moderation: Uses Perspective API to detect and censor harmful messages in real-time.
- Link and IP Blocking: Blocks links, domains, IPv4, and IPv6 addresses to prevent spam and malicious content.
- Multi-Instance Support: Utilizes Redis to communicate between multiple server instances for synchronized moderation.
- Configurable Caching: Implements caches to improve performance with customizable expiration settings.
- Smart Anti-Spam Detection: Employs algorithms to identify and mitigate spam behavior intelligently.
- Anti-Command Spam: Limits the frequency of command usage to prevent abuse and maintain server stability.
- LiteBans Supported: Integrates with LiteBans to enhance moderation capabilities with advanced ban management features.
Installation
- Download the latest release of AutoMod from the releases page.
- Place the
AutoMod.jar file into your server's plugins directory.
- Restart your Minecraft server to load the plugin.
Configuration
After the initial run, a configuration file will be generated in the plugins/AutoMod directory. The main configuration options include:
- Perspective API Key: Obtain an API key from the Perspective API website and add it to the configuration file.
- Redis Configuration: Set up Redis connection details to enable multi-instance communication.
- Cache Settings: Configure the cache expiration time to balance performance and resource usage.
Commands
/automod reload - Reloads the plugin configuration.
/automod status - Checks the status of all services.
/automod unmute <player> - Unmutes a player.
Permissions
automod.bypass - Bypasses all AutoMod filters
automod.staff - Can see the original message
Usage
AutoMod automatically moderates chat messages, blocking harmful content, links, and IP addresses based on the configuration. There is no need for additional commands to start the moderation process.
Contributing
- Fork the repository on GitHub.
- Create a new branch (
git checkout -b feature-branch).
- Make your changes and commit them (
git commit -am 'Add new feature').
- Push the branch (
git push origin feature-branch).
- Create a new Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Support
For support, please open an issue on the GitHub repository or contact us via email at support@unilix.it.
Or even join the discord server
Thank you for using AutoMod! We hope it helps keep your Minecraft server chat safe and enjoyable for everyone.
评论 0
登录后参与评分
还没有评论,来抢沙发吧