WENTUS

Configuration (Config.Base)

The multi-framework configuration block common to all Wentus resources.

Each resource's config.lua file starts with a Config.Base block. The framework, inventory, target and menu selection is made here — the code does not change.

Config.Base

config.lua
Config.Base = {
    Core = "QBox", -- QBCore, QBox, ESX
    CloseSitKey = "X",
    Events = {
        OnPlayerLoad = "QBCore:Client:OnPlayerLoaded",
        OnPlayerUnload = "QBCore:Client:OnPlayerUnload",
        OnJobUpdate = "QBCore:Client:OnJobUpdate",
        OnDutyServer = "QBCore:ToggleDuty",
        QBMenuClose = "qb-menu:client:closeMenu",
        ManagementMoney = "Renewed-Banking", -- qb-banking, qb-management, okokBanking, codem
        ManagementMenu = "qb-bossmenu:client:OpenMenu",
    },
    Notify = "ox_lib",                 -- ox_lib, qb-core, qbx-core, esx, okokNotify
    TargetSystem = { TargetExport = "ox_target" },   -- ox_target, qb-target
    MenuInputSettings = {
        Menu = "ox",  MenuExport = "qb-menu",
        Input = "ox", InputExport = "ox-input",
    },
    ProgressBar = { Type = "ox", isCircle = false }, -- ox, qb, esx
    PolyZone = { Type = "ox_lib" },                  -- ox_lib, PolyZone
    InventoryType = "ox",                            -- ox, qb
    InventoryExport = "ox-inventory",                -- ox-inventory, qb-inventory
    Music = { MusicExport = "xsound" },
}

Field Descriptions

Core
QBCore | QBox | ESX
Framework selection. shared/bridge.lua resolves the global Core accordingly. Both QBox and QBCore use the qb-core export (QBox carries a qb-core compatibility bridge). ESX uses es_extended:getSharedObject().
Notify
string
Notification system. ox_lib is recommended.
TargetSystem.TargetExport
ox_target | qb-target
Interaction target. ox_target → requires ox_lib. qb-target → requires PolyZone (enable the @PolyZone/* lines in fxmanifest).
InventoryType
ox | qb
Inventory. ox → ox_inventory, qb → qb-inventory. The item format changes accordingly (items.lua vs items-qbox.lua).
ProgressBar.Type
ox | qb | esx
Progress bar provider.
Events.ManagementMoney
string
The banking export for the business account (boss menu money). Sales/tax revenue is written here.

Quick Switch by Framework

Core = "QBox"
InventoryType = "ox"
TargetSystem = { TargetExport = "ox_target" }
Notify = "ox_lib"

fxmanifest.lua → use @qbx_core/shared/locale.lua.

If a missing/unstarted dependency warning appears in the console when the server starts, your Config.Base selection does not match the installed resources. Fix whichever field the warning points to.

For resource-specific settings (station coordinates, recipes, prices), see the relevant resource's Configuration page.