Configuration
The configuration file shared/config.lua allows you to customize how ic_lib detects and loads different systems.
Framework Configuration
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 ForceFrameworkForceFramework: Force a specific framework (
'qb-core'
,'es_extended'
,'standalone'
)DetectionOrder: Which frameworks to check first (first found wins)
Inventory Configuration
Config.Inventory = {
AutoDetect = true,
ForceInventory = 'standalone',
DetectionOrder = {
'qb-inventory',
'ox_inventory',
'es_extended',
'standalone'
}
}
Options:
AutoDetect:
true
= automatically detect inventory,false
= use ForceInventoryForceInventory: Force specific inventory (
'qb-inventory'
,'ox_inventory'
,'es_extended'
,'standalone'
)DetectionOrder: Which inventory systems to check first
Target Configuration
Config.Target = {
AutoDetect = true,
ForceTarget = 'standalone',
DetectionOrder = {
'qb-target',
'ox_target',
'standalone'
}
}
Options:
AutoDetect:
true
= automatically detect target system,false
= use ForceTargetForceTarget: Force specific target (
'qb-target'
,'ox_target'
,'standalone'
)DetectionOrder: Which target systems to check first
Debug Settings
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
Last updated