hReport - 高级玩家举报系统,集成 Discord 与数据库
厌倦了通过繁琐的命令或外部表单来管理玩家举报?使用 hReport! 简化你的服务器审核流程。
hReport 是一个高级且高度可配置的玩家举报系统,专为 Spigot & Paper 服务器(1.16+)设计。它允许玩家直接在游戏内轻松举报可疑行为、违反规则或其他问题。工作人员随后可以通过强大的 Discord 集成 或游戏内命令高效地管理这些举报,并可选择将所有内容记录到 MySQL 数据库 中。
hReport 以性能和易用性为设计理念,旨在为服务器社区提供一个全面的、免许可证费的解决方案。
主要功能:
- 简单的游戏内举报: 玩家使用直观的
/report <player> [reason] [proof_url] 命令进行举报。举报原因和证据链接(例如图片/视频链接)是可选的,但鼓励提供。
- 即时 Discord 通知: 在指定的 Discord 频道立即接收详细的举报信息。再也不用担心漏掉任何举报!
- 丰富的嵌入信息: Discord 嵌入包含以下信息:
- 举报玩家与被举报玩家(含 UUID)
- 举报原因及可选的证据链接
- 时间戳
- 被举报玩家最近的聊天消息数量(可在配置中设置),以便了解上下文。
- 举报状态(待处理、已处理、无效)
- 交互式 Discord 管理: 工作人员可以直接在 Discord 中使用举报嵌入上的交互按钮来管理举报:
- 快速将举报标记为有效或无效。
- 启动处罚程序(可配置)。
- 通过 Discord 执行处罚: 在
config.yml 中定义服务器的处罚命令(踢出、静音、临时封禁、警告、自定义命令等)。工作人员可以从 Discord 直接触发这些命令,针对被举报的玩家执行处罚,支持使用占位符填入玩家名称、UUID、原因、工作人员名称和举报 ID。
- 可选的 MySQL 数据库日志记录: 在配置中启用数据库支持,以保留所有举报及其状态和处理方式的持久历史记录。非常适合追踪和责任追溯。(表会自动创建)。
- 高度可配置: 自定义几乎所有方面:
- 独立启用或禁用 Discord 和数据库功能。
- 在
messages.yml 中配置所有消息(支持颜色代码 &)。
- 设置 Discord Bot Token、Guild ID 和 Channel ID。
- 定义所有从 Discord 执行的处罚命令。
- 设置
/report 命令的冷却时间。
- 自定义嵌入外观(标题、描述、不同状态的颜色 - 通过
messages.yml 配置)。
- PlaceholderAPI 支持: 在可配置的消息中使用 PAPI 占位符以增加上下文信息。
- 重载命令: 使用
/hreport reload 立即应用配置更改(需要权限)。
- (计划中/可选)游戏内管理: 供工作人员在 Minecraft 中直接列出和查看举报的命令。
- 免费使用: 核心功能无需许可证密钥或付费。
命令与权限:
/report <player> [reason] [proof_url] - 举报一名玩家。
- 权限:
hreport.report (默认:true)
/hreport reload - 重新加载配置文件。
- (计划/未来功能:
/hreport list、/hreport view <id> 等,用于游戏内管理)
hreport.notify - 允许工作人员在新举报创建时收到游戏内通知。(默认:op)
依赖项:
hReport - Advanced Player Reporting with Discord & Database Integration
Tired of managing player reports through clunky commands or external forms? Streamline your server's moderation with hReport!
hReport is an advanced, highly configurable player reporting system designed for Spigot & Paper servers (1.16+). It allows players to easily report suspicious behavior, rule-breaking, or other issues directly in-game. Staff members can then efficiently manage these reports through a powerful Discord integration or via in-game commands, with the optional ability to log everything to a MySQL database.
Built with performance and ease-of-use in mind, hReport aims to be a comprehensive, license-free solution for server communities.
Key Features:
- Simple In-Game Reporting: Players use the intuitive
/report <player> [reason] [proof_url] command. Reason and proof URL (e.g., image/video link) are optional but encouraged.
- Instant Discord Notifications: Receive detailed reports immediately in a designated Discord channel. No more missed reports!
- Rich Embed Information: Discord embeds include:
- Reporting Player & Target Player (with UUIDs)
- Report Reason & optional Proof Link
- Timestamp
- Configurable number of recent chat messages from the target player for context.
- Report Status (Pending, Processed, Invalid)
- Interactive Discord Management: Staff can manage reports directly within Discord using interactive buttons on the report embed:
- Quickly mark reports as valid or invalid.
- Initiate punishment procedures (configurable).
- Execute Punishments via Discord: Define your server's punishment commands (kick, mute, tempban, warn, custom commands, etc.) in
config.yml. Staff can trigger these commands directly from Discord for reported players, using placeholders for player name, UUID, reason, staff name, and report ID.
- Optional MySQL Database Logging: Enable database support in the config to keep a persistent history of all reports, their status, and how they were handled. Perfect for tracking and accountability. (Table created automatically).
- Highly Configurable: Customize almost every aspect:
- Enable/disable Discord and Database features independently.
- Configure all messages (with color code support
&) in messages.yml.
- Set up Discord Bot Token, Guild ID, Channel ID.
- Define all punishment commands executed from Discord.
- Set a cooldown for the
/report command.
- Customize embed appearance (Title, Description, Colors for different statuses - via
messages.yml).
- PlaceholderAPI Support: Use PAPI placeholders in configurable messages for added context.
- Reload Command: Apply configuration changes instantly with
/hreport reload (requires permission).
- (Planned/Optional) In-Game Management: Commands for staff to list and view reports directly in Minecraft.
- Free to Use: No license key or payment required for the core features.
Commands & Permissions:
/report <player> [reason] [proof_url] - Reports a player.
- Permission:
hreport.report (Default: true)
/hreport reload - Reloads the configuration files.
- Permission:
hreport.admin (Default: op)
- (Planned/Future:
/hreport list, /hreport view <id>, etc. for in-game management)
- Permission:
hreport.view (Default: op)
hreport.notify - Allows staff to receive in-game notifications when a new report is created. (Default: op)
Dependencies:
评论 0
登录后参与评分
还没有评论,来抢沙发吧