> For the complete documentation index, see [llms.txt](https://codebyrave.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://codebyrave.gitbook.io/docs/resources/cr-enchanted-scoreboard/configuration/config.md).

# Config

## Instruction&#x20;

{% hint style="warning" %}
Config.Framework: framework u server runs
{% endhint %}

{% hint style="success" %}
Config.Colours: set colours if desired in text, in the next updates there will be more colors added
{% endhint %}

{% hint style="success" %}
Config.JobGroups: allows to add one specific job with multiple jobs to work as one group count
{% endhint %}

```
-- config.lua
Config = {}

-- Choose framework: "ESX" or "QBCore"
Config.Framework = "ESX"

-- Keybind scoreboard
Config.ScoreboardKey = "F10"

-- Command text
Config.ScoreboardCommand = "togglescoreboard"

-- Color setting: "rainbow" or solid color such as "red", "blue", etc.
Config.Colour = "rainbow" -- choose colour led

-- Available colours
Config.Colors = {
    rainbow = { "#ff0000", "#ff9900", "#33ff00", "#00ccff", "#cc00ff", "#ff0000" }, -- rainbow animation
    red = "#ff0000",
    blue = "#0000ff",
    green = "#00ff00",
    yellow = "#ffff00",
    pink = "#ff69b4",
    orange = "#ff8c00"
}

-- Multiple jobs in group
Config.JobGroups = {
    police = { "police", "sheriff", "fib" },
    ambulance = { "ambulance", "doctor" },
    mechanic = { "mechanic", "mechanic1" },
    criminal = { "criminal", "ballas", "vagos", "lostmc" }, -- criminals and gangs
}

-- Better do not touch this
Config.UpdateInterval = 5000 -- in milliseconds
Config.InitialVisibility = true


```


---

# 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://codebyrave.gitbook.io/docs/resources/cr-enchanted-scoreboard/configuration/config.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.
