Configuration
Defaults below are copied from the shipped config.lua for version 1.0.0. Settings are described using the Configuration conventions.
⚙️ Shipped config.lua
Config.Debug = false
Config.OpenCommand = 'inventory'
Config.Keybind = 'F2'
Config.OrionCore = 'orion-core'
Config.Branding = {
serverName = 'ORBITAL RP',
serverSubtitle = 'LOS SANTOS',
logo = 'logo.png'
}
Config.MaxWeight = { qb = 120000, qbox = 120000, esx = 50000 }
Config.DefaultSlots = 40
Config.HotbarSlots = 5
Config.CashAsItem = {
enabled = true, name = 'cash', label = 'Cash',
weight = 0, image = 'cash.png', account = 'cash'
}
Config.ImagePath = 'itemimages'
Config.FrameworkResourceNames = { qb = 'qb-core', qbox = 'qbx_core', esx = 'es_extended' }
Config.ESX = { useItemsTable = true, itemsTable = 'items' }| Option | Default | What it does |
|---|---|---|
| Config.OpenCommand | ‘inventory’ | Command that opens the inventory. |
| Config.Keybind | ‘F2’ | Default key registered for the command. |
| Config.OrionCore | ‘orion-core’ | Name of the orion-core resource. |
| Config.Branding | see code | Server name, subtitle and logo file shown in the UI. |
| Config.MaxWeight | qb/qbox 120000, esx 50000 | Weight limit per framework. |
| Config.DefaultSlots | 40 | Slots per player inventory. |
| Config.HotbarSlots | 5 | Hotbar slots. |
| Config.CashAsItem | enabled | Shows the cash account as an inventory item. |
| Config.ESX.useItemsTable | true | Read ESX item definitions from the items table. |
Last updated on