cc_supply compatibility
cc_supply never calls a framework or a third-party script directly for core work: it goes through cc_lib, which detects what you run at start-up. Anything cc_lib bridges, cc_supply works with. The few
cc_supply never calls a framework or a third-party script directly for core work: it goes through cc_lib, which detects what you run at start-up. Anything cc_lib bridges, cc_supply works with. The few scripts cc_lib does not cover are detected at runtime, wrapped in pcall, and fall back cleanly when missing.
Frameworks (through cc_lib)
| Framework | Status | Notes |
|---|---|---|
| Qbox (qbx_core) | Supported | Businesses = jobs + society accounts, or cc_business |
| QBCore | Supported | Same |
| ESX Legacy | Supported | Society money through esx_society / esx_addonaccount |
| ox_core | Supported | Groups act as jobs |
| Standalone (cc_lib only) | Supported | Sell/buy/board work; business orders need cc_business or a framework with jobs |
Bridged categories (through cc_lib)
| Category | Used for | Examples cc_lib bridges |
|---|---|---|
| Inventory | Selling, buying, crates, carry checks | ox_inventory, qb-inventory, qs-inventory, codem, core, ESX default |
| Target | Counter, board, bay, back door, vehicle break-in | ox_target, qb-target, interact |
| Notify | Every message | ox_lib, okokNotify, mythic, QB/ESX native |
| Progress | Hauling, break-ins | ox_lib, progressbar, QB/ESX native |
| Dispatch | Police alerts for hijacks and tips | ps-dispatch, cd_dispatch, rcore_dispatch, core_dispatch, qs-dispatch, built-in fallback |
| Money / banking | Pay, charges, society accounts | Framework accounts, Renewed-Banking, okokBanking, ESX/QB society |
Detected at runtime (optional)
| Script | What cc_supply does with it | Without it |
|---|---|---|
cc_business | Business backend: permissions, delivery bays and stashes, owners, conversion | Framework jobs are the businesses (ServerConfig.Business) |
cc_freight / your courier script | Runs delivery contracts through the contract exports | Lots are hauled by staff or delivered by NPC freight |
cc_railyard | Trains haul depot-to-depot transfers | Transfers go to couriers or NPC freight |
lb-phone | Read-only "Supply" app | No app (Config.Features.phone) |
cc_fishing | Fish sold straight from its catch store | Fish read from pockets (needs metadata.weight) |
tcc-exchange | Depot index drives an exchange stock | Index still available through GetIndex() |
cc_restock | Vending restocks draw depot packaging | Off by default |
| A CAD / MDT | ServerConfig.Integrations.cad.send adapter | cc_lib dispatch |
| A gang system | ServerConfig.Integrations.gangs adapter (sanctions, turf tax, respect) | No gang rules |
| ox_inventory / qb-inventory stash | NPC freight fills a job-mode business stash | Staff haul the lot at the depot bay |
Maps
The three default depots are vanilla outdoor locations (Elysian Island docks, Sandy Shores, Paleto Bay), checked against the base map's collision; no MLO is needed. If a map mod covers a spot, move it with /supplyadmin survey.
Game build
Any build cc_lib supports. Only vanilla peds, props and vehicles are used.
Tested
The offline suites (tests/verify.lua, tests/sim.lua, tests/product.lua, 179 mutation checks) run on every change, against a simulated FiveM server with both the cc_business backend and plain framework jobs.