> For the complete documentation index, see [llms.txt](https://leviascripts.gitbook.io/levia-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leviascripts.gitbook.io/levia-scripts/levia-inventory/config.md).

# Config

***

### Main Config File

All settings are located in:

```
config.lua
```

***

## Framework

```
framework = 'qb'
```

Selects the framework used by the inventory.

#### Supported:

`auto`, `qbox`, `qbx`, `qbcore`, `qb`, `esx`, `ox`, `nd`, `standalone`

> Can be overridden via `inventory:framework` in `server.cfg`.

***

## Target System

```
target = {    enabled = false,    resource = 'ox_target',}
```

Controls how players interact with the inventory.

* `enabled = true` → Uses target system
* `enabled = false` → Uses marker / TextUI
* `resource` → `ox_target`, `qb-target`, `auto`

#### Server override:

```
setr inventory:target "ox_target"
```

***

## UI Settings

* **Footer:** `hud` or empty
* **Categories:** show/hide item filters
* **Controls:** disable movement when inventory is open
* **Clothing Tab:** show/hide clothing section
* **Logo:** toggle UI logo
* **Logo file:** `assets/levia_script_logo.svg`

***

## Language

```
language = 'es' (Available Languages = 'es', 'en', 'pt', 'fr', 'de', 'it')
```

Defines default language and supported locales.

***

## Theme

```
theme = { ... }
```

Controls all UI styling:

* Background colors
* Text colors
* Accent colors
* Borders
* Notifications
* HUD colors
* Slot styling
* Tooltips
* Weight & durability bars
* Shop UI
* Rarity system
* Clothing UI
* Drop zone styles

***

## Categories

```
categories = { ... }
```

Used to group items in the UI.

Each category contains:

* `id` → category name
* `label` → display name
* `items` → list of item names

#### Default examples:

* Weapons
* Food
* Healing

***

## Notes

* Categories only affect UI filtering
* Item names must match exactly
* Theme values are CSS colors
* Framework and target can be overridden via `server.cfg`

***

{% hint style="danger" %}
If you're using Levia Inventory, removing or disabling other inventory systems does not automatically prevent conflicts unless they are fully removed from your server.
{% endhint %}


---

# 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://leviascripts.gitbook.io/levia-scripts/levia-inventory/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.
