# Configuration

## Config

Complete config.lua

***

### Basics

#### Language

```lua
Config.Language = 'en'
```

| Value | Description |
| ----- | ----------- |
| `en`  | English     |
| `de`  | German      |

### Accent color

```lua
Config.AccentColor = {
    primary   = "#fffbfc",  -- Pink
    secondary = "#3f3e3e",  -- Orange
}
```

### Admin

```lua
Config.AdminGroups  = { "admin", "superadmin" }
Config.AdminCommand = "frakbell"
```

### Interaction

```lua
Config.InteractKey    = 38       -- E
Config.BellRadius     = 2.0      -- Distance in meters required to interact with the bell
Config.RingCooldown   = 120000   -- Milliseconds between two bell rings
Config.MarkerMaxDist  = 10.0     -- Marker becomes completely invisible beyond this distance
Config.MarkerFadeDist = 3.0      -- Full visibility within this distance, then fades out
```

### Marker colors RGB

```lua
Config.MarkerColors = {
    { id = "pink",   label = "Pink",   r = 240, g = 27,  b = 85  },
    { id = "orange", label = "Orange", r = 226, g = 154, b = 44  },
    { id = "blue",   label = "Blue",   r = 30,  g = 144, b = 255 },
    { id = "green",  label = "Green",  r = 46,  g = 204, b = 113 },
    { id = "yellow", label = "Yellow", r = 241, g = 196, b = 15  },
    { id = "white",  label = "White",  r = 255, g = 255, b = 255 },
    { id = "red",    label = "Red",    r = 231, g = 76,  b = 60  },
    { id = "purple", label = "Purple", r = 155, g = 89,  b = 182 },
    { id = "cyan",   label = "Cyan",   r = 0,   g = 188, b = 212 },
}
```

### Marker shapes

```lua
Config.MarkerShapes = {
    { id = 1,  label = "Cylinder", zOffset = -1.0 },
    { id = 3,  label = "Arrow",    zOffset =  0.1 },
    { id = 25, label = "Circle",   zOffset =  0.05 },
    { id = 9,  label = "Ring",     zOffset =  0.1 },
    { id = 38, label = "Star",     zOffset =  0.5 },
    { id = 4,  label = "Chevron",  zOffset =  0.1 },
}
```

{% hint style="info" %}
Here you find the FiveM markers: <https://docs.fivem.net/docs/game-references/markers/>
{% endhint %}

### Doorbell sound&#x20;

```lua
Config.UseXSound = true    -- true = use xsound, false = no sound

Config.XSound = {
    -- File is located in html/bell.mp3 → URL is set automatically
    volume   = 0.4,        -- Volume from 0.0 - 1.0
    duration = 4000,       -- Milliseconds until the sound is destroyed
}
```

{% hint style="warning" %}
XSound required: <https://github.com/Xogy/xsound>
{% endhint %}

### LBPhone notify

```lua
Config.UseLBPhone = false   -- true = use lb-phone export, false = ESX.ShowNotification

Config.LBPhone = {
    app        = "yourappidentifier", -- App name shown in the notification
    thumbnail  = nil,               -- Thumbnail URL (optional)
    avatar     = nil,               -- Avatar URL (optional)
    showAvatar = false,             -- Show avatar placeholder if no avatar is set
}
```

{% hint style="warning" %}
LBPhone required: <https://lbscripts.com/package/phone>
{% endhint %}


---

# 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://varixcode.gitbook.io/varixcode/varixcode-series/vlrixcode-frakbell/configuration.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.
