> For the complete documentation index, see [llms.txt](https://fxscripts.gitbook.io/fxdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fxscripts.gitbook.io/fxdocs/scripts/fxstaffreview.md).

# fxStaffReview

## **Config File**

```lua
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**

<pre class="language-sql"><code class="lang-sql"><strong>CREATE TABLE fx_staffreview 
</strong>( 
<strong>    id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, 
</strong><strong>    license varchar(100) NOT NULL, 
</strong>    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;
);
</code></pre>

## **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](https://fxscripts.gitbook.io/fxdocs/info/discord-webhook)
