okokReports is a standalone FiveM script with its own interface that lets players send reports and feedback to your admins through a command. It works without a framework and can use ESX admin groups.
How it works
When a player types /report, a menu opens where they can send a player report, a general question or a bug report to the server admins.
Admins type /reports to open the list of pending reports. Selecting one opens a window with all its details: the category (player report, question, bug), the subject and the explanation of the issue.
Features
- Configurable commands for players and admins.
- Report cooldown (in minutes) to prevent spam.
- Discord logs when a report is created, when an admin assists it and when an admin concludes it, with configurable bot name, server name, icon, date format and colors.
- Admin permissions by identifier list (steam, license, xbl, live, discord, fivem, ip) or, with
Config.ESX = true, by ESX group (superadmin, admin, mod). - No IP lock; the source code is included.
Requirements
- okokNotify, or change the notifications in
client.luaandserver.luato your own system
Installation
- Copy the
okokReportsfolder into your resources. - Edit
config.lua: replace the example identifiers inConfig.AdminListwith your own admins, and set your server and bot name. - Set your Discord webhook URL in
server.lua(line 13). - Add
ensure okokReportsto your server.cfg.