# Core Configuration

The canonical configuration is `config.lua`. This page highlights the settings most commonly changed in current builds.

## General

```lua
Config.Framework = 'auto' -- auto | esx | qb | qbox | nord | standalone
Config.Locale = 'en' -- en | pt
Config.Debug = false

Config.OpenCommand = 'inventory'
Config.OpenKey = 'TAB'
Config.AdminCommand = 'norditems'
Config.AdminAce = 'nord_inventory.admin'
```

## Modular providers

Notification, Text UI and Target are configured independently:

```lua
Config.Notify = 'nord_inventory'
Config.TextUI = 'nord_inventory'
Config.Target = 'auto'
```

Examples:

```lua
Config.Notify = 'ox_lib'
Config.TextUI = 'nord_inventory'
Config.Target = 'ox_target'
```

Changing one provider does not change the other systems.

## Interaction mode

```lua
Config.Interaction = {
 Mode = 'textui', -- textui | target
 Key = 'E',
 Control = 38
}
```

Provider selection is **not** stored inside `Config.Interaction`; use `Config.TextUI` and `Config.Target` instead.

## Inventory capacity defaults

```lua
Config.DefaultPlayerSlots = 40
Config.DefaultPlayerWeight = 80000
Config.DefaultStashSlots = 60
Config.DefaultStashWeight = 150000
Config.TrunkSlots = 50
Config.TrunkWeight = 120000
Config.GloveboxSlots = 10
Config.GloveboxWeight = 15000
```

Weights are expressed in grams by default.

## Sessions and persistence

```lua
Config.InventorySessionSeconds = 300
Config.SaveIntervalSeconds = 30
Config.MaxTransferAmount = 100000
Config.MaxContainerDepth = 3

Config.EnableWeight = true
Config.EnableVolume = false
Config.EnableDurability = true
Config.EnableItemHistory = true
Config.TransactionLogRetentionDays = 14
```

## Weapon magazine settings

```lua
Config.WeaponAmmo = {
 Enabled = true,
 DefaultMagazineSize = 30,
 MaxMagazineSize = 999,
 DetectMagazineFromGame = true,
 AutoReloadDelay = 260,
 ReloadCooldown = 650,
 ManualReloadControl = 45,
}
```

Use the attached current `config.lua` for the full nested configuration and exact defaults.
