> For the complete documentation index, see [llms.txt](https://l2s.gitbook.io/l2s-dev-documentations/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://l2s.gitbook.io/l2s-dev-documentations/qbcore/hud/configuration.md).

# Configuration

## Commands

List of useful commands for the basic functions of your server using our asset, you can execute them using ExecuteCommand or read them informatively.

| copy | usability | description                |
| ---- | --------- | -------------------------- |
| hud  | /hud      | open the hud Control Panel |

## 1. main scripts

Here you must to change this config to work with your server, like your Core Name and your voice name script, Fuel name script ...

```lua
L2SHUD.Corename = 'l2s-core' -- Your Core Name (Only For QBcore Files)
L2SHUD.ShortName = 'l2s-' -- Triggers Name will be change like qb-hud
L2SHUD.voicescript = 'l2s-voice' -- pma-voice name , if you use l2s files only
L2SHUD.inputexport = 'l2s-input'-- qb-input name
L2SHUD.fuelexport = 'LegacyFuel'-- Fuel name
```

## 2. HUD Color

To Change your HUD Color Open The File in vs code and search the old color (#1ADAC5) Replace To New Color.

```lua
L2SHUD.maincolor = '#1ADAC5' -- Main Color
L2SHUD.hudcolor2 = '#ffffff' -- Texts Color
L2SHUD.progresscolor = '#1ADAC5' -- Progressbar Color
L2SHUD.middecolor = '#FFF523' -- Middle Things Color (yellow)
L2SHUD.errorcolor = '#B82014' -- Red Things Color (red)
```

## 3. Priority System

l2s-hud has a Priority System as long as you want to enable it in config.lua, you can change the message of the priority on and off.

```lua
L2SHUD.PrioritySystem = true -- Priroty System
L2SHUD.PriroityMessages = 'Priority has been activated. Any criminal act is strictly prohibited. In addition, thefts have been disabled until the priority expires.'
L2SHUD.PriroityMessagesDone = 'Priority has been deactivated'
```

## 4. main settings

in this config you have money and radar setting, first you have the money if you wanna Show money constantly you must to do it true.

```lua
L2SHUD.Money = {}
L2SHUD.Money.ShowConstant = false -- Show money constantly
L2SHUD.Radar = {}
L2SHUD.Radar.NoRadarVehicles = {
    "bmx",
    "cruiser",
    "fixter",
    "scorcher",
    "tribike",
    "tribike2",
    "tribike3",
}
```

## 5. stress and speed

in this config you can change the Minimum of Stress and Speed.

```lua
QBStress.MinimumStress = 70
QBStress.MinimumSpeed = 250
```
