# Report System

## INSTALLATION

### 1.  Resource Download

\
**To get started, you'll need to download your new resource previously purchased from** [**shop**](https://loureiro-stoned.gitbook.io/docs/overview/website-shop)**.** For that we must log in with our account at [`keymaster`](https://keymaster.fivem.net/asset-grants/) and look for the Asset grants section, there we will find our complete package.

{% hint style="info" %}
To get updates you get them from the same website ([keymaster](https://keymaster.fivem.net/asset-grants)).
{% endhint %}

### 2. Unzip The Folder

Unzip the script folder than **copy&#x20;*****"stoned-reports"*** folder and **paste** it on your server **resources folder.**

<figure><img src="https://3385301882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6RtuIyKM7kJj3UumLC0%2Fuploads%2FafdkNPHS7f27WtMGLAWw%2Fimage.png?alt=media&#x26;token=ca4bcff8-e0ec-4ad3-81f0-587e5545d9be" alt=""><figcaption></figcaption></figure>

### 3. Ensure the resource

Put this line in your server.cfg.

{% hint style="warning" %}
This should be under your essentials resources.
{% endhint %}

```
ensure stoned-reports
```

## CONFIGURATION

### 4. Configure

**4.1  Setup your framework and groups to access the staff panel**

*ESX Example*

<figure><img src="https://3385301882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6RtuIyKM7kJj3UumLC0%2Fuploads%2FK5aoYHAi1Bhx99OvMpS0%2Fimage.png?alt=media&#x26;token=a836fe1b-fc12-4f62-948a-2ebc8de58eb5" alt=""><figcaption></figcaption></figure>

**4.2 Setup how to open the report menu & staff panel**

*Example to open only by command*

<figure><img src="https://3385301882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6RtuIyKM7kJj3UumLC0%2Fuploads%2FBNLdzoH1w8ndLld8gsMz%2Fimage.png?alt=media&#x26;token=36542add-5d6d-4ef4-9272-55281fe1737b" alt=""><figcaption></figcaption></figure>

**4.3 Configure the remaining details, such as:**

* Notify
* Locations (...)

**4.5 Put webhook URL**

* File: config/webhook.lua

**4.6 If you want to custom the permissions**\\

* File config/functions.lua

### 5. Restart Server
