Skip to main content
config/config.compat.lua — frameworks, inventories, society accounts, licenses and other scripts.

Supported resources

Framework

'auto' checks qbx_core, then qb-core, then es_extended. Players are identified by the ESX identifier or the QBCore / Qbox citizenid. Everything framework-specific lives in bridge/, which stays editable when the resource is escrowed.

Inventory

'auto' picks the first one that is started in that order. Usable document items on origen_inventory, tgiann-inventory and core_inventory go through the framework’s usable-item system, as they do for those inventories’ own items. The origen and tgiann bridges try both export spellings those inventories have used (AddItem / addItem…); if your version differs, edit bridge/sv_bridge.lua, which stays editable when escrowed. Used for Config.PaymentItem and document items. Give a document type an item to hand it out when ordered. On ox_inventory it gets holder, expires and description metadata:

Society accounts

The society comes from the bill’s society ('society_police') or job ('police'). 'auto' uses vms_bossmenu when it’s running, otherwise esx_addonaccount (ESX), qb-banking → qb-management (QBCore) or Renewed-Banking → qb-banking (Qbox).

License sync

Licenses earned in the License Center are also granted in the framework, so police, gun shops and other scripts see them.
Licenses not listed in the map are not synced. 'auto' uses esx_license, or Buty-license when esx_license isn’t running. On ESX the license type must exist in your licenses table. removeLicense (export) removes it again.

Other scripts

VMS scripts

With vmsCityhall = true City Hall answers these exports['vms_cityhall'] calls:
Some vms scripts only call City Hall when GetResourceState('vms_cityhall') == 'started' (vms_garagesV2 and vms_vehicleshopV2 for VINs). That check can’t see City Hall under another name. For those, set the script’s own City Hall option, or call exports['aps_cityhall'] in its open config instead.
Other VMS resources work alongside City Hall: vms_bossmenu (society money, badge numbers, tax and application permissions, announcements), vms_notifyV2 (notifications), vms_housing (property tax), and the business scripts’ company accounts (business taxes).