A report system built around a custom staff inbox, written in React. Players file a report from one small screen, staff work through everything from one panel, and Discord threads, screenshots, warnings, bans and appeals all live in the same place.
The aim was to make reporting something players actually use, and to let staff close a report without opening five other menus.
Player side
- A report form that fits on one screen
- A page that shows where their report is in the queue and whether staff are on duty
- Chat with staff inside the report, with an in-game message when someone answers
- Warnings that pop up on screen, which they can accept or dispute
- Ban appeals, in game or from Discord
- A rating when a report is closed
Staff panel
- Inbox as a list or a board, with tags, filters, bulk actions and keyboard shortcuts
- "Needs me", "Mine", "Everything" and "Done" views, so staff see what to pick up first
- Chat with the reporter, internal notes, replies to a single message and quick replies
- Players tab with health, armor, position, Discord ID and what each player was carrying
- Everyone involved in a report is saved with it, including who was standing nearby
- Overview page with how fast each staff member closes reports
- On and off duty, with alerts only going to staff who are on duty
- A key that hides the panel, so staff can keep playing while a report is open
Actions on the report
Go to, bring, spectate, freeze, heal, revive, god mode, screenshot, warn, kick and ban, right from the report. There is also a clothing menu button that opens the appearance menu on the player's screen (illenium-appearance, qb-clothing and esx_skin are detected, or use your own function).
Discord
Every report gets its own thread. Replies and the Claim, Snooze and Close buttons work in both directions, so answering in Discord shows up in game. Players can also appeal a ban with /appeal. Only people with the roles you list can reply or press buttons.
Screenshots
A screenshot can be added when a report is filed, for the reporter, the reported player or both, and you choose this per topic. Players see a short notice and can be given a switch to turn it off. Staff can also take one from the report. Images go to fivemanage, imgbb, a Discord webhook or your own server (a small one is included). Only the link is saved in the database.
Warnings, bans and appeals
- Warnings pop up for the player, who can accept or dispute them
- Bans match every identifier the player has
- Appeals can be answered in the panel, and accepting one lifts the ban
- Limits against report spam, and strikes for false reports
Topics
Report topics, their fields and which ones need evidence are all managed in the Categories page of the panel. Nothing is hard coded, and you can reset to the defaults at any time.
Configuration
The settings you will probably want to look at:
- Commands, staff groups, and the key that hides the panel
- Quick or guided report form
- Cooldowns, daily limits and strikes for false reports
- Duty behaviour and reminders for reports waiting too long
- Tags and quick replies
- Which inventory the player panel reads from
- Screenshot rules per topic, and where images are stored
- Automatic deletion of old closed reports
- Discord bot, channels and roles
Secrets such as tokens and keys sit in a separate server-only file that is never sent to players.
Exports and events
Create reports from other scripts, add notes, set tags, put staff on or off duty, read a report's state or react to a ban. Documented in docs/API.md.
Compatibility
- Qbox, QBCore and ESX, detected automatically
- Inventory: ox_inventory, qs-inventory, QBCore, ESX or your own function
- Tested on Qbox, QBCore and ESX
- The interface is already built, so there is nothing to compile
Features at a glance
- Staff inbox as a list or a board
- One-screen report form
- Queue page with staff on duty
- Report chat, internal notes and quick replies
- Reply to a single message
- Tags and filters
- Bulk actions and keyboard shortcuts
- Players tab with inventory
- Nearby players saved with each report
- Go to, bring, spectate, freeze, heal, revive, god mode
- Clothing menu button
- Automatic screenshots, per topic
- Multiple screenshot hosts
- Discord threads with two-way sync
- Claim, Snooze and Close from Discord
- Warnings with accept and dispute
- Ban appeals in game and from Discord
- Bans match every identifier
- Anti-abuse: cooldowns, limits, strikes
- Staff duty and stats
- Report ratings
- Editable topics and fields
- Retention for old reports
- Exports and events
- Full install, Discord and API guides
Everything is meant to be changed, so you can fit it to how your staff team works.
Video Preview: https://youtu.be/RvMEhhN95HU