âī¸ Master Configuration Reference (config.lua) â
config.lua is fully config-driven. Adding or modifying tiers automatically updates the in-game Admin NUI and Player HUD without touching any HTML or CSS files!
đ ī¸ General Settings â
lua
Config = {}
-- Select your server framework: 'qbx' (Qbox), 'qb' (QBCore), or 'esx' (ESX Legacy)
Config.Framework = 'qbx'
-- Persistent database storage
Config.UseDatabase = true
-- Select your active inventory:
-- 'ox_inventory', 'qb-inventory', 'qs-inventory', 'ps-inventory', 'core_inventory', 'codem-inventory', or 'custom'
Config.Inventory = 'ox_inventory'
-- Default non-VIP inventory capacities
Config.DefaultWeight = 30000 -- 30 kg in grams
Config.DefaultSlots = 50 -- 50 slots
-- Notification system:
-- 'ox_lib', 'okokNotify', 'wasabi_notify', 'mythic_notify', 't-notify', 'framework', or 'custom'
Config.Notify = 'ox_lib'
-- Discord Webhook for staff audit logging
Config.DiscordWebhook = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL'đ Tier Order & VIP Packages Definition â
lua
-- Hierarchy order from lowest to highest (for rank permission checks)
Config.TierOrder = { 'bronze', 'silver', 'gold', 'diamond' }
Config.Tiers = {
['bronze'] = {
label = "Bronze VIP",
badge = "đĨ",
color = "#cd7f32",
weight = 45000, -- 45 kg
slots = 60, -- 60 slots
perks = {
"+15 kg Max Capacity",
"+10 Inventory Slots"
}
},
['silver'] = {
label = "Silver VIP",
badge = "đĨ",
color = "#cbd5e1",
weight = 60000, -- 60 kg
slots = 75, -- 75 slots
perks = {
"+30 kg Max Capacity",
"+25 Inventory Slots"
}
},
['gold'] = {
label = "Gold VIP",
badge = "đĨ",
color = "#f59e0b",
weight = 80000, -- 80 kg
slots = 95, -- 95 slots
perks = {
"+50 kg Max Capacity",
"+45 Inventory Slots",
"Priority Queue Access"
}
},
['diamond'] = {
label = "Diamond VIP",
badge = "đ",
color = "#38bdf8",
weight = 100000, -- 100 kg
slots = 120, -- 120 slots
perks = {
"+70 kg Max Capacity",
"+70 Inventory Slots",
"Custom Vehicle Livery",
"Priority Support Channel"
}
}
}