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` TEXT NULL 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=MyISAM
AUTO_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 allowed
Config.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 URL
Config.CustomCrossHairs = true -- Allow or disallow customcrosshairs
Config.AceLevel = "admin" -- Minimum ace level to receive reports
Config.RecordsPerPage = 7 -- Reports to show per page, paginated system
Config.Language = "fr" -- UI Language
Config.Languages = {} -- Do not remove this, this line must be kept
Config.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" },
}