Configuration

Edit shared/config.lua to customise your loot box experience:


Basic Settings

config = {}

-- Debug mode for troubleshooting
config.debug = true

-- UI Mode (true = animated UI, false = classic notifications)
config.useUI = true

UI Configuration

config.ui = {
    -- Inventory system configuration - change this to match your inventory
    inventory = {
        system = 'ox', -- 'ox', 'qb', 'esx'
        iconPath = 'nui://ox_inventory/web/images/',
        iconExtension = '.png',
        fallbackIcon = 'nui://ox_inventory/web/images/placeholder.png'
    },
    
    -- Rarity colours for UI
    rarityColors = {
        common = '#b0c3d9',
        uncommon = '#5e98d9', 
        rare = '#4b69ff',
        ['very-rare'] = '#8847ff',
        epic = '#d32ce6',
        legendary = '#eb4b4b'
    }
}

Loot Table Configuration

Located in shared/config.lua:


Rarity Colours

Customise rarity colours in shared/config.lua:


Inventory System Settings

Configure your inventory system in shared/config.lua:

Last updated