# Configuration

## Configuration File

```lua
Config = {}
Config.OpenKey = 'F10' -- change it whatever keybind do you like -- look more here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
Config.ShowInfo = 'steam' -- discord | steam | game, Show player info from

Config.ShowStaff = true -- if true staff badge will show near the name
Config.StaffAcePerm = { -- if ShowStaff = true
    {AcePerm = 'go', label = 'GO'},
    {AcePerm = 'admin', label = 'ADMIN'},
    {AcePerm = 'god', label = 'GOD'}
}

-- ### PAY ATTENTION! ###
-- The RGB values below are expressed in table type and not as strings like in the other LVS scripts.
Config.UI = {
    colors = {
        primary = {0, 248, 185}, -- table: {R, G, B} (https://g.co/kgs/6PaotAk)
        secondary = {0, 102, 76},
        red = {248, 105, 105},
    }
}

Config.VersionControl = true

Config.onOpenClose = function(state)
    if state then
        --TriggerEvent('lv-core:client:hideHud') -- hide the hud on player list open
    else
        --TriggerEvent('lv-core:client:showHud') -- restore hud when close player list
    end
end

```


---

# 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://fivem.lvsoft.com.ar/qb-esx/lvs-playerlist/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.
