> For the complete documentation index, see [llms.txt](https://wiki.qfdevelopers.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.qfdevelopers.com/scripts/editor-1/configuration.md).

# Configuration

#### Configuration Guide (`config/config.lua`)

The configuration file is structured to be self-explanatory, but below are the critical sections explained in depth.

**UI Branding & Colors** The loadscreen utilizes modern HSL (Hue, Saturation, Lightness) values for primary colors. This allows for dynamic theming across the UI components.

```lua
Config.Locale = "en-US"
-- HSL format (Hue Saturation% Lightness%) - Do NOT use HEX or RGB here.
Config.PrimaryColor = "223 99% 59%" 
Config.LogoUrl = "https://yourwebsite.com/logo.svg"
```

{% hint style="info" %}
**Tip: Asset Hosting** To significantly reduce client downloading times when they connect to your server, host all your media (Logos, Backgrounds, Audio) on an external Content Delivery Network (CDN) or Discord/Imgur, rather than streaming them directly from the FiveM server.
{% endhint %}

**Media & Backgrounds** You can define an array of background images that the loadscreen will cycle through.

```lua
Config.Background = {
    type = "images",
    images = {
        "https://link-to-your-image-1.jpg",
        "https://link-to-your-image-2.jpg"
    },
}
```

**Audio Engine** The built-in audio player supports multiple tracks.

```lua
Config.Songs = {
    {
        id = 1,
        title = "Los Santos Vibes",
        authors = { "Artist Name" },
        coverUrl = "https://link-to-album-art.jpg",
        audioUrl = "https://link-to-audio-track.mp3", -- Must be a direct raw audio file (.mp3, .ogg)
    },
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wiki.qfdevelopers.com/scripts/editor-1/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
