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
| Framework | Status | What the Job Centre reads from it |
|---|---|---|
Qbox (qbx_core) | Supported | Character name, job label, cash + bank, identifier (loans) |
QBCore (qb-core) | Supported | Same; loan repayment listens to QBCore:Server:OnMoneyChange |
ESX Legacy (es_extended) | Supported | Same; loan repayment via reportLoanEarning |
| ox_core | Supported | Same; loan repayment via reportLoanEarning |
| Standalone (no framework) | Supported | Player name; balance and loans off |
Categories this resource uses
| Category | Used for | Detected (via cc_lib) | Without one |
|---|---|---|---|
| Target | The desk interaction | ox_target, qb-target, qtarget, bt-target | Native [E] prompt at the desk |
| Inventory | Item pictures and "you carry this" ticks on the needs list | ox_inventory, qb-inventory, lj-inventory, ps-inventory, qs-inventory, codem-inventory, origen_inventory, core_inventory, tgiann-inventory, ak47_qb_inventory, mf-inventory, framework inventories | A plain bullet, no ticks |
| Notify | Waypoint set, loan and business notices | ox_lib, qbx_core, okokNotify, mythic_notify, wasabi_notify, brutal_notify, t-notify | Native GTA notification |
| Money | Balance on the job rail, loan repayment | The framework's own accounts (+ okokBanking, qs-banking) | Line hidden |
| Database | Answer cache, spend ledger, loans | oxmysql | Works without; forgets cache and spend across restarts, no loans |
| Business | The Business tab | Code 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):
| Listing | Providers looked for |
|---|---|
| Garbage Collection | qbx_garbagejob, qb-garbagejob, esx_garbagejob |
| Taxi Driver | qbx_taxijob, qb-taxijob, esx_taxijob |
| Bus Driver | qbx_busjob, qb-busjob |
| Truck Driver | qbx_truckerjob, qb-truckerjob, esx_truckerjob |
| Tow Truck Operator | qbx_towjob, qb-towjob, esx_towjob |
| Vineyard Picker | qbx_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
| Server | Boots | Works | Evidence |
|---|---|---|---|
Bare standalone (cc_lib only) | Yes | Yes | cc_lib simulator (tests/sim.lua, 205 checks) |
Everything off (Config.Features.* false, no DB) | Yes | Yes | Simulator scenario with every Config.Features flag off |
| Qbox + ox_* | Yes | Board, adviser, waypoints | The author's own city ran this code line (2.x / 3.0) on Qbox + ox_inventory + ox_target |
| QBCore + qb-* | Not yet booted | Owner's test pass | |
| ESX + ox_* | Not yet booted | Owner's test pass |