# Configuration

### Framework Configuration

```lua
Config.Framework = {
    AutoDetect = true,                    -- Auto-detect framework
    ForceFramework = 'standalone',        -- Force specific framework (when AutoDetect = false)
    DetectionOrder = {                    -- Detection priority order
        'qb-core',
        'es_extended', 
        'standalone'                      -- fallback
    }
}
```

#### Options:

* **AutoDetect**: `true` = automatically detect framework, `false` = use ForceFramework
* **ForceFramework**: Force a specific framework (`'qb-core'`, `'es_extended'`, `'standalone'`)
* **DetectionOrder**: Which frameworks to check first (first found wins)

### Inventory Configuration

```lua
Config.Inventory = {
    AutoDetect = true,
    ForceInventory = 'standalone',
    DetectionOrder = {
        'qb-inventory',
        'ox_inventory',
        'es_extended',
        'standalone'
    }
}
```

#### Options:

* **AutoDetect**: `true` = automatically detect inventory, `false` = use ForceInventory
* **ForceInventory**: Force specific inventory (`'qb-inventory'`, `'ox_inventory'`, `'es_extended'`, `'standalone'`)
* **DetectionOrder**: Which inventory systems to check first

### Target Configuration

```lua
Config.Target = {
    AutoDetect = true,
    ForceTarget = 'standalone', 
    DetectionOrder = {
        'qb-target',
        'ox_target',
        'standalone'
    }
}
```

#### Options:

* **AutoDetect**: `true` = automatically detect target system, `false` = use ForceTarget
* **ForceTarget**: Force specific target (`'qb-target'`, `'ox_target'`, `'standalone'`)
* **DetectionOrder**: Which target systems to check first

### Debug Settings

```lua
Config.Debug = true
```

When enabled, ic\_lib will print detailed information about:

* Framework detection results
* Bridge loading status
* Function calls (in standalone mode)
* Errors and warnings
