> For the complete documentation index, see [llms.txt](https://loureiro-stoned.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://loureiro-stoned.gitbook.io/docs/tuning-system.md).

# Tuning System

## INSTALLATION

### 1.  Resource Download

\
**To get started, you'll need to download your new resource previously purchased from** [**shop**](/docs/overview/website-shop.md)**.** 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 `"stoned-tuning"`** and **paste** it on your server **resources folder**.

<figure><img src="/files/DGfaJwNfvvadhd8iOdwY" alt=""><figcaption></figcaption></figure>

### 3. Ensure

Put this line in your server.cfg.

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

```
ensure stoned-tuning
```

## CONFIGURATION

### 1. Setup Framework

*stoned-tuning\shared\main.lua*

* Choose your framwork here:

&#x20;

<figure><img src="/files/zrwpYq61baFiXFS5Mnj3" alt=""><figcaption></figcaption></figure>

### 2. Configure each tuning location:

*stoned-tuning\shared\main.lua*

* Coords;
* Marker type (by id);
* Label for blip (map) and interface title;
* You can decide whether access is restricted to jobs or for all players;
* From which balance will the money be removed (job/society or the player's bank/money).

<figure><img src="/files/gcf11bCskwuqTffZJJ8G" alt=""><figcaption></figcaption></figure>

### 3. Configure specific tunings

*stoned-tuning\shared\tunes.lua*

* Img
* Price
* and other details...

<figure><img src="/files/yj1WUbhXQq0QjNhmDfKu" alt=""><figcaption></figcaption></figure>

### 4. Setup your webhook & log

*stoned-tuning\server\webhook.lua*

<figure><img src="/files/uJIbeJYDEZ3mGml1UYyu" alt=""><figcaption></figcaption></figure>
