# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fxscripts.gitbook.io/fxdocs/scripts/fxstaffreview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
