A free script, Innovative pausemenu for Fivem Servers with Integrated reports system with notification, Possibility to turn notifications on and off with Real-time refreshing reports system.
Installation
You have to copy the extracted folder "sys-pausemenu" to your resources directory
In order for this script to work you have to execute the SQL file in your database. This last is going to create a table that stores the players reports and replies.
CREATE TABLE `sys_reports` (`id` INT(11) NOT NULL AUTO_INCREMENT,`license`TEXT NOT NULL COLLATE 'utf8mb4_bin',`name`TEXTNULL DEFAULT NULL COLLATE 'utf8mb4_bin',`subject`TEXT NOT NULL COLLATE 'utf8mb4_bin',`message` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',`replies` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',`updatedAt`TEXT NOT NULL COLLATE 'utf8mb4_bin',`status` INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) USING BTREE)COLLATE='utf8mb3_general_ci'ENGINE=MyISAMAUTO_INCREMENT=0;
Make sure you start this script by adding the following line to your server.cfg
ensure sys-pausemenu
Config File
In less than a minute you can configure this script to satisfy your needs.
Config = {}Config.Core ="qb" -- Framework; currently only QB is allowedConfig.DropPlayerMessage ='Message to appear on player quitting the server'Config.DiscordToken ="Discord token to get player' avatar and information"Config.DiscordURL ="https://discord.gg/UZ49JzEfQk" -- Discord server URLConfig.CustomCrossHairs =true-- Allow or disallow customcrosshairsConfig.AceLevel ="admin" -- Minimum ace level to receive reportsConfig.RecordsPerPage =7-- Reports to show per page, paginated systemConfig.Language ="fr" -- UI LanguageConfig.Languages = {} -- Do not remove this, this line must be keptConfig.Crosshairs = {-- Add crosshairs to this block by following this line-- and putting the crosshair image in sys-pausemenu/html/assets/crosshairs/ { name ='Unique name', label ='Label to show in UI', img ="image name" },}