AnotherReports
它提供了一套完整的举报系统,包括:
- 玩家提交举报
- 基于 GUI 的管理面板
- 举报历史记录系统
- SQLite 持久化存储
- Discord Webhook 集成
- 防垃圾信息保护
- 基于 YAML 的多语言系统
- 异步数据库和 Webhook 操作
兼容性
- Minecraft: Paper 1.21.4
- Java: 21
- API 版本: 1.21
玩家举报
命令
/report <player> <description>
规则
- 目标必须在线
- 不允许自我举报
- 描述长度:5–200 个字符
- 2 分钟内防止重复举报
- 每位玩家的冷却时间
- 速率限制保护
管理员界面
命令
/reportlist
功能
- 45 格分页 GUI
- 点击打开详细举报视图
- 接受 / 拒绝操作
- 集成的历史查看器
状态系统
- OPEN(待处理)
- ACCEPTED(已接受)
- REJECTED(已拒绝)
举报历史
命令
/reporthistory <player> [page]
跟踪数据
- 举报者
- 目标
- 描述
- 状态
- 审核人
- 创建时间戳
- 审核时间戳
多语言系统
语言文件位置:
plugins/AnotherReports/lang/
支持的语言
- en.yml (English)
- uk.yml (Ukrainian)
- ru.yml (Russian)
- de.yml (German)
- es.yml (Spanish)
- pl.yml (Polish)
您可以通过创建新的 YAML 文件来添加其他语言。
配置示例
language: "en"
功能
- 基于 YAML 的翻译文件
- 自动回退到英语
- 支持占位符
- 没有硬编码的 GUI 或消息字符串
- 支持通过
/reports reload 重新加载
Discord Webhook 集成
配置示例
webhook:
enabled: true
url: ""
username: "AnotherReports"
avatarUrl: ""
mentionRoleId: ""
触发条件
所有 Webhook 操作均为异步执行,不会阻塞主服务器线程。
防垃圾信息系统
配置示例
cooldownSeconds: 60
maxReportsPer10Minutes: 3
包括
权限
- reports.use — 使用 /report
- reports.admin — 访问管理面板和历史记录
- reports.notify — 接收新举报通知
命令
/report <player> <description> — 提交举报
/reportlist — 打开管理 GUI
/reporthistory <player> — 查看历史记录
/reports reload — 重新加载配置和语言文件
AnotherReports
It provides a complete report system including:
- Player report submission
- GUI-based moderation panel
- Report history system
- SQLite persistent storage
- Discord webhook integration
- Anti-spam protection
- YAML-based multilingual system
- Asynchronous database and webhook operations
Compatibility
- Minecraft: Paper 1.21.4
- Java: 21
- API Version: 1.21
Player Reports
Command
/report <player> <description>
Rules
- Target must be online
- Self-reporting is not allowed
- Description length: 5–200 characters
- Duplicate prevention within 2 minutes
- Per-player cooldown
- Rate limit protection
Moderator Interface
Command
/reportlist
Features
- 45-slot paginated GUI
- Click to open detailed report view
- Accept / Reject actions
- Integrated history viewer
Status System
Report History
Command
/reporthistory <player> [page]
- 10 entries per page
- Stored in SQLite
Tracked Data
- Reporter
- Target
- Description
- Status
- Reviewed by
- Creation timestamp
- Review timestamp
Multilingual System
Language files location:
plugins/AnotherReports/lang/
Supported Languages
- en.yml (English)
- uk.yml (Ukrainian)
- ru.yml (Russian)
- de.yml (German)
- es.yml (Spanish)
- pl.yml (Polish)
You can add additional languages by creating new YAML files.
Config Example
language: "en"
Features
- YAML-based translation files
- Automatic fallback to English
- Placeholder support
- No hardcoded GUI or message strings
- Reload support via /reports reload
Discord Webhook Integration
Config Example
webhook:
enabled: true
url: ""
username: "AnotherReports"
avatarUrl: ""
mentionRoleId: ""
Triggers
- On report creation
- On accept
- On reject
All webhook operations are asynchronous and do not block the main server thread.
Anti-Spam System
Config Example
cooldownSeconds: 60
maxReportsPer10Minutes: 3
Includes
- Per-player cooldown
- Rate limiting
- Duplicate detection
Permissions
- reports.use — Use /report
- reports.admin — Access moderation panel and history
- reports.notify — Receive new report notifications
Commands
/report <player> <description> — Submit report
/reportlist — Open moderation GUI
/reporthistory <player> — View history
/reports reload — Reload configuration and language files
评论 0
登录后参与评分
还没有评论,来抢沙发吧