📝Report System
The Crown Report System is a comprehensive tool designed to streamline communication between players and staff. It features a unique dual-interface design: an interactive Book GUI for players to submit detailed reports and a robust Inventory GUI for staff to manage, track, and resolve them.
Key Features
Interactive Book Interface: Players file reports via a clickable Written Book, ensuring a guided and detailed submission process.
Multi-Type Reporting: Support for reporting Players, Clans, or Server Issues.
Data Snapshots: Automatically collects target data (Inventory, Location, Health, Ping, etc.) at the moment of the report.
Workflow Management: Report status tracking (Pending, Taken, Assigned, Resolved, Rejected).
Staff Assignment: Assign specific reports to specific moderators.
Integrated Actioning: Punish targets directly from the report menu.
For Players: Submitting a Report
Players initiate reports using a simple command. The system then opens a book that guides them through categorization to ensure staff get the right information.
Commands
/report [player]
Opens the report book. If a player name is provided, it skips the target selection step.
crown.report.create (if enabled)
The Reporting Flow
Target Selection: Choose to report a Player, a Clan, or a Server Issue.
Categorization: Select a category (e.g., Disruptive Gameplay, Bad Behavior).
Reason: Select a specific reason (e.g., Kill Aura, Chat Spam).
Details: The player enters specific details in chat or confirms the selection.
Submission: The report is sent to the database, and online staff are notified.
Note: When reporting a player who is online, the system automatically takes a "snapshot" of their current stats (Health, Ping, Location, Gamemode) to aid investigation.
For Staff: Managing Reports
Staff members manage reports via a centralized GUI.
Commands
/reports
Opens the main reports list.
crown.report.view
/reports <player>
Opens reports filtered by a specific player as the target.
crown.report.view
/reports #<id>
Opens a specific report directly by ID.
crown.report.view
/reports !<player>
Opens reports filtered by a specific player as the requester.
crown.report.view
1. The Reports Menu
The main menu lists reports sorted by date (newest first).
Filter by Status: Toggle between Pending, Taken, Assigned, Resolved, Rejected, or All.
Filter by Type: Toggle between Player, Clan, or Server reports.
Filter by Name: Search for reports against a specific target or from a specific requester.
My Reports: Quickly filter to show only reports assigned to you.
2. Report Details View
Clicking a report opens the Management Dashboard for that specific entry.
Target Info
View the reported player's profile (heads to /profile).
Requester Info
View the profile of the player who sent the report.
Record Summaries
See punishment history statistics for both the Target and Requester (useful to spot serial offenders or false reporters).
Collected Data
View the snapshot data (HP, Ping, Location) captured at the time of the report.
Punish Buttons
Shortcuts to open the Punish Menu for the Target (or the Requester, in case of abuse).
3. Workflow Actions
Staff can change the state of a report to keep the team organized:
Take Report: Assigns the report to yourself and sets status to Taken.
Assign: Assign the report to another specific moderator (requires
crown.report.assign).Resolve: Marks the report as Resolved (e.g., punishment issued).
Reject: Marks the report as Rejected (e.g., insufficient evidence).
Mark Pending: Resets the report to Pending and unassigns it.
Configuration
Global Settings (config.yml)
config.yml)You can configure anti-spam measures and permission requirements.
Customizing the Book (reports.yml)
reports.yml)You can fully customize the text, categories, and flow of the player reporting book. The system uses a page-based navigation logic.
Example of a Category Page:
GUI Customization
reports_menu.yml: Customize the layout and items of the main list.report_details_menu.yml: Customize the layout of the specific report view.
Permissions
crown.report.create
Allows submitting reports (if require-permission is true).
Default / Players
crown.report.bypasscooldown
Bypasses the report cooldown and rate limit.
VIPs / Staff
crown.report.view
Allows access to /reports and viewing report details.
Moderators
crown.report.assign
Allows assigning reports to other staff members.
Admins / Sr. Mods
Database Structure
Reports are stored in the reports table (MySQL or SQLite).
report_id: Unique 8-character ID.
status: Current state (PENDING, TAKEN, etc.).
collected_data: Serialized string containing snapshot data.
moderator_uuid: UUID of the staff member currently handling the report.
resolved_at: Timestamp of when the report was closed.
Last updated
