Owned Shops - Configuration - SMX Docs
SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



Owned Shops

Job Scripts · FiveM Ready

Core Runtime Controls

Config.Framework = "ESX"        -- ESX | OLDESX | QBCORE
Config.Language = "de"
Config.Inventory = "AUTO"       -- AUTO | ESX | QB | OX
Config.Interaction = "MARKER"   -- AUTO | MARKER | OX | QB
Config.DebugMode = false
Config.ItemImageBasePath = "https://cfx-nui-smx-inventory/html/assets/items"
Config.Notify.Type = "AUTO"     -- AUTO | ESX | QBCORE | OX | OKOK | MYTHIC | CUSTOM

These are fallback values. Runtime creator settings can override them from DB state.

Creator Panel Access and Guardrails

Config.CreatorPanel.Enabled = true
Config.CreatorPanel.Command = "shopcreator"
Config.CreatorPanel.RequireAce = false
Config.CreatorPanel.AcePermission = "smx.shops.creator"
Config.CreatorPanel.AutoImportDefaults = true
Config.CreatorPanel.Permissions = {
  ESX = { "admin", "superadmin" },
  QBCORE = { "admin", "god" }
}

When AutoImportDefaults is enabled, default templates/shops/pickups are inserted if runtime tables are empty.

Economy and Upgrade Defaults

Config.OwnedShops.DefaultBuyPrice = 500000
Config.OwnedShops.StartItemAmount = 100
Config.OwnedShops.DeliveryAmount = 25
Config.OwnedShops.DeliveryReward = 1500
Config.OwnedShops.DeliveryRewardType = "cash"
Config.OwnedShops.CategoryUnlockPrice = 5000
Config.OwnedShops.CategorySellRefundPercent = 70
Config.OwnedShops.OpenOwnerMenuKey = 47

Storage Upgrade

1000 -> 2000 -> 3000 capacity.

Truck Upgrade

25 -> 50 -> 90 transport capacity with vehicle class progression.

Max Jobs Upgrade

3 -> 7 -> 12 concurrent supplier jobs.

Restock Upgrade

25 -> 60 -> 120 max order amount per cycle.