fxStaffReview

Config File

Config = {
    webhook = "webhook here", -- Paste Discord Webhook URL here if you want to receive messages in a discord channel about who and when has reviewed someone.
    useCustomPFP = false, -- If set to false the script will use the default pfp icons
    commandName = "openstaff",
    notify = "fxnotify", -- (fxnotify, qbcore, esx, none(default gta notification))

    StaffList = {
        {
            name = "Example",
            displayName = "Example Example",
            pfp = " " -- You can leave it empty if you are not using custom pfps
        },
    }
}

Installation Guide

Execute the SQL code below in your database

CREATE TABLE fx_staffreview 
( 
    id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, 
    license varchar(100) NOT NULL, 
    discord varchar(50) NOT NULL, 
    staffname varchar(30) NOT NULL, 
    staffdisplayname varchar(30) NOT NULL, 
    rating int(11) NOT NULL, 
    date varchar(50) NOT NULL ) 
    ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
);

Discord Webhook URL (for the logs)

Once you have the webhook URL paste it in the config.lua on line 2: webhook = "webhook here"

How to get a Discord Webhook URL

Last updated