---
description: Configuration guide of Treasure Map System.
---

# Configuration

***

#### <mark style="color:blue;">**General Settings**</mark>

| **Parameter**                                            | **Description**                                            | **Example Value** |
| -------------------------------------------------------- | ---------------------------------------------------------- | ----------------- |
| <mark style="color:green;">`Config.Framework`</mark>     | Determines which framework to use: `auto`, `esx`, or `qb`. | `"auto"`          |
| <mark style="color:green;">`Config.Language`</mark>      | Sets the language for in-game messages.                    | `"en"`            |
| <mark style="color:green;">`Config.radioName`</mark>     | Item name for the radio in-game.                           | `"radio"`         |
| <mark style="color:green;">`Config.defaultVolume`</mark> | Default volume level of the radio, ranging from 0 to 100.  | `50`              |

***

#### <mark style="color:blue;">**Radio Settings**</mark>

| **Parameter**                                          | **Description**                            | **Example Value**      |
| ------------------------------------------------------ | ------------------------------------------ | ---------------------- |
| <mark style="color:green;">`Config.RadioProp`</mark>   | The prop used for the radio item.          | `"prop_cs_hand_radio"` |
| <mark style="color:green;">`Config.jobChannels`</mark> | Channels restricted to specific job roles. | See Below              |

**Job-Specific&#x20;**<mark style="color:green;">**Channels**</mark>**&#x20;Example:**

* **Police & BCSO Channels:** Frequencies: `1`, `2`, `3`, `4`, `5`.
* **Ambulance Channels:** Frequency: `2.0`.

***

#### <mark style="color:blue;">**Framework Detection**</mark>

The script is designed to automatically detect the framework in use:

* **ESX Framework**
* **QBCore Framework**
* **Auto Mode:** Detects and applies the appropriate framework.

***

#### <mark style="color:blue;">**Localization**</mark>

| **Parameter**                                      | **Description**                            | **Example Value**                      |
| -------------------------------------------------- | ------------------------------------------ | -------------------------------------- |
| <mark style="color:green;">`Config.Locales`</mark> | Localized messages for radio interactions. | `"en"`, `"de"`, `"fr"`, `"sp"`, `"pt"` |

