Configuration
Defaults below are copied from the shipped config.lua for version 1.0.1. Settings are described using the Configuration conventions.
⚙️ System selection
Each system can be left on auto (first supported resource found wins) or forced to one value. The shipped defaults:
Config.Debug = true
Config.Framework = 'auto'
Config.Inventory = 'auto'
Config.Notify = 'auto'
Config.UI = 'lation'
Config.Appearance = 'auto'
Config.Banking = 'auto'
Config.Dispatch = 'auto'
Config.Garage = 'auto'
Config.Phone = 'auto'
Config.VehicleKeys = 'auto'
Config.Target = 'auto'| Option | Default | What it does |
|---|---|---|
| Config.Debug | true | Prints the Orion Core debug box at startup. Turn off in production. |
| Config.Framework | ‘auto’ | qb, qbox or esx are detected from the resources in ResourceNames.Framework. |
| Config.Inventory | ‘auto’ | codem, ak47, quasar, ox or qb. |
| Config.Notify | ‘auto’ | Prefers ox_lib, then lation, okok, mythic, codem, quasar, wasabi, qb, esx. |
| Config.UI | ‘lation’ | Progress bars and text UI: ox, lation, qb or esx. |
| Config.Appearance | ‘auto’ | illenium, fivem, qb, esx_skin, crm, codem, quasar, tgiann, rcore. |
| Config.Banking | ‘auto’ | renewed, okok, quasar, qb, esx. |
| Config.Dispatch | ‘auto’ | ps, codem, cd, quasar. |
| Config.Garage | ‘auto’ | jg, quasar, ak47, qb, qbox, cd, okok. |
| Config.Phone | ‘auto’ | lb, quasar, codem, okok, qb, gks. |
| Config.VehicleKeys | ‘auto’ | wasabi, qb, qbox, qs, renewed. |
| Config.Target | ‘auto’ | ox (ox_target) or qb (qb-target). |
⚙️ Resource names
Config.ResourceNames maps each short key to the folder name of the resource it represents. Edit a name here if your resource folder is called something different.
Config.ResourceNames = {
Framework = {
qb = 'qb-core',
qbox = 'qbx_core',
esx = 'es_extended'
},
Inventory = {
ox = 'ox_inventory',
qb = 'qb-inventory'
-- codem, ak47, quasar ...
}
-- Notify, UI, Appearance, Banking, Dispatch, Garage, VehicleKeys, Phone, Target
}Last updated on