# 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**<br>

* File config/functions.lua

### 5. Restart Server


---

# 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://loureiro-stoned.gitbook.io/docs/report-system.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.
