Skip to content

cc_jobcentre: compatibility

cc_jobcentre talks to the rest of your server only through cc_lib (the free Code Cartel bridge). cc_lib detects what is running at start-up and falls back to a working default when a category is missi

cc_jobcentre talks to the rest of your server only through cc_lib (the free Code Cartel bridge). cc_lib detects what is running at start-up and falls back to a working default when a category is missing, so the Job Centre boots on a bare server with nothing but cc_lib. To force a choice instead of detection, set it in cc_lib's config (its README → "Overrides"); cc_jobcentre has no per-resource code of its own to change.

Required: cc_lib 1.7.0 or newer (1.11+ recommended; the header's player card needs 1.7). Optional: oxmysql (answer cache, spend ledger, start-up loans).

Frameworks

FrameworkStatusWhat the Job Centre reads from it
Qbox (qbx_core)SupportedCharacter name, job label, cash + bank, identifier (loans)
QBCore (qb-core)SupportedSame; loan repayment listens to QBCore:Server:OnMoneyChange
ESX Legacy (es_extended)SupportedSame; loan repayment via reportLoanEarning
ox_coreSupportedSame; loan repayment via reportLoanEarning
Standalone (no framework)SupportedPlayer name; balance and loans off

Categories this resource uses

CategoryUsed forDetected (via cc_lib)Without one
TargetThe desk interactionox_target, qb-target, qtarget, bt-targetNative [E] prompt at the desk
InventoryItem pictures and "you carry this" ticks on the needs listox_inventory, qb-inventory, lj-inventory, ps-inventory, qs-inventory, codem-inventory, origen_inventory, core_inventory, tgiann-inventory, ak47_qb_inventory, mf-inventory, framework inventoriesA plain bullet, no ticks
NotifyWaypoint set, loan and business noticesox_lib, qbx_core, okokNotify, mythic_notify, wasabi_notify, brutal_notify, t-notifyNative GTA notification
MoneyBalance on the job rail, loan repaymentThe framework's own accounts (+ okokBanking, qs-banking)Line hidden
DatabaseAnswer cache, spend ledger, loansoxmysqlWorks without; forgets cache and spend across restarts, no loans
BusinessThe Business tabCode Cartel cc_business 2.x+Tab hidden

Categories this resource does not touch

Progress bars, phones, fuel, vehicle keys, banking apps, clothing and dispatch are not used. The Job Centre employs nobody and pays nobody: it is a reference desk that points at your job scripts. It therefore never conflicts with any of them, and listings can name jobs from any vendor (provider = 'qb-truckerjob', 'esx_garbagejob', 'jim-mining'...).

Job scripts on the default board

The shipped board lists six common free jobs at their stock spots. Each is hidden until one of its provider resources is running (Config.Board.hideUninstalled):

ListingProviders looked for
Garbage Collectionqbx_garbagejob, qb-garbagejob, esx_garbagejob
Taxi Driverqbx_taxijob, qb-taxijob, esx_taxijob
Bus Driverqbx_busjob, qb-busjob
Truck Driverqbx_truckerjob, qb-truckerjob, esx_truckerjob
Tow Truck Operatorqbx_towjob, qb-towjob, esx_towjob
Vineyard Pickerqbx_vineyard, qb-vineyard

Any other script can be added in Config.Jobs, or can list itself with exports.cc_jobcentre:registerJob (see exports-and-hooks.md).

Maps and MLOs

The board's map is stock GTA V; pins are placed from world coordinates, so they stay right on any map edit that keeps the island. The office position is config (Config.Locations), so put the desk in any city-hall or job-centre MLO you own: stand there, run /jobcentre_coords, paste.

Matrix status

ServerBootsWorksEvidence
Bare standalone (cc_lib only)YesYescc_lib simulator (tests/sim.lua, 205 checks)
Everything off (Config.Features.* false, no DB)YesYesSimulator scenario with every Config.Features flag off
Qbox + ox_*YesBoard, adviser, waypointsThe author's own city ran this code line (2.x / 3.0) on Qbox + ox_inventory + ox_target
QBCore + qb-*Not yet bootedOwner's test pass
ESX + ox_*Not yet bootedOwner's test pass