> For the complete documentation index, see [llms.txt](https://horizon-scripts.gitbook.io/horizon-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://horizon-scripts.gitbook.io/horizon-scripts-docs/horizonphone/configuration.md). Agents can also search and read this documentation through its [MCP server](https://horizon-scripts.gitbook.io/horizon-scripts-docs/~gitbook/mcp).

# Configuration

## Framework

```lua
Config.Framework = 'auto'
```

Supported values: `auto`, `qbox`, `qbcore`, `esx` and `standalone`.

Automatic detection checks Qbox, then QBCore, then ESX.

## Inventory

```lua
Config.Inventory = 'auto'
```

Automatic detection supports `ox_inventory`, `qs-inventory`, `qb-inventory`, `lj-inventory`, `ps-inventory`, `core_inventory`, `codem-inventory`, `origen_inventory` and `tgiann-inventory`.

## Phone behavior

```lua
Config.OpenCommand = 'horizonphone'
Config.OpenKey = 'F2'
Config.HiddenNumberSettingEnabled = true
Config.EnableSheriffService = true
```

Server-only secrets and custom character adapters belong in `server/config.lua`. Never expose credentials in client files.
