Skip to content

cc_tradie compatibility

cc_tradie talks to your server only through cc_lib. cc_lib detects what you run when the resource first needs it (first started resource in its list wins), and every category has a fallback, so cc_tra

cc_tradie talks to your server only through cc_lib. cc_lib detects what you run when the resource first needs it (first started resource in its list wins), and every category has a fallback, so cc_tradie starts on a bare server with nothing but cc_lib and oxmysql.

To force a choice, set it in cc_lib: Config.Bridge. in cc_lib/config.lua, or the cc: convar (set cc:inventory "qs-inventory"). 'none' turns a category off. cc_tradie has no bridge code of its own to edit.

Evidence: Sim = cc_tradie's own test suites boot the real resource on cc_lib's simulator with that stack and drive a whole shift through real net events (tests/boot.lua). cc_lib = covered by cc_lib's own adapter tests and docs, used by cc_tradie through the same calls. In game = run on a live server.

Frameworks

FrameworkWorksEvidenceNotes
Qbox (qbx_core)yesSim, In game (1.2.0 on a live Qbox city)
QBCore (qb-core)yesSim
ESX Legacy (es_extended)yesSim
ox_coreyescc_libmoney as items
Standalone (no framework)yesSim (every category none)identifier = licence; Config.Job.required needs a framework

What cc_tradie uses, and the fallback

CategoryUsed forPopular resources supported (via cc_lib)Without one
Inventoryspare parts, finds, unloading the chestox_inventory, qs-inventory, origen, codem, core_inventory, tgiann, qb-inventory, ps-inventory, lj-inventory, ak47, mfthe framework's inventory
Moneybuying the jackhammer, parts, upgrades; wagesthe framework's cash / bank (ServerConfig.Payment.account)items
Targetthe foreman and the truck's tool chestox_target, qb-target, qtarget, bt-target, interact, sleepless_interactan [E] prompt at the ped and the truck
Notifyevery messageox_lib, okokNotify, mythic_notify, brutal_notify, t-notify, codem-notification, wasabi_notifythe framework's notify, then the GTA feed
Text UIthe "press E to drill" promptox_lib, cd_drawtextui, okokTextUI, qb drawtextnative help text
Vehicle keyskeys to the work truck for every crew memberqbx_vehiclekeys, Renewed-Vehiclekeys, wasabi_carlock, mk_vehiclekeys, qs-vehiclekeys, MrNewbVehicleKeys, qb-vehiclekeys, cd_garage, okokGarage, jaksam vehicles_keys, t1ger_keysthe truck is unlocked
Fuelthe truck's starting fuelRenewed-Fuel, ox_fuel, LegacyFuel, ps-fuel, cdn-fuel, lj-fuel, lc_fuel, qb-fuel, okokGasStation, qs-fuelstations, BigDaddy-Fuel, hyon_gas_stationthe game's fuel level
Loggingstaff logsDiscord webhooks, Fivemanage, ox_lib logger, cc_lib:log eventconsole
Pay/XP boostdouble-pay weekendscc_lib 1.13+ CC.boost (Config.Features.boost)no boost

Not needed

CategoryWhy
Progress barthe drill is cc_tradie's own pressure-gauge minigame; the server enforces the time
Clothing / appearancethe uniform is set with game natives and your own clothes are restored on clock-off, on death and on resource stop. It works next to illenium-appearance, fivem-appearance, qb-clothing, esx_skin and the rest, and never writes to their saved outfits. Turn it off with Config.Features.uniform = false
Phonenothing to send; use the cc_tradie:client:* events or custom/client.lua to push your own phone notifications
Dispatcha legal job: nothing is reported to police
Banking / societywages are paid from nowhere into the player's own account; no society account is touched
ox_libnot required (used through cc_lib when present)

Maps

Every default location (the depot on Route 68 and the 13 dig sites in the Grand Senora Desert) is on vanilla terrain with no MLO, so it works on any map. Moving them is config.lua (depot, truck bays) and config_sites.lua (sites, return zone).

Database

oxmysql only. Tables are created and migrated on start (CREATE TABLE IF NOT EXISTS, numbered migrations that are safe to run twice). MySQL 5.7+ / MariaDB 10.3+.

Artifacts and OneSync

Lua 5.4 (lua54 'yes'), any current recommended FXServer build. OneSync must be on: the truck is a server-side vehicle and its condition is read by the server.

Languages

English (complete). de, es, fr, pt ship as starters that fall back to English for any missing key. Add a language by copying locales/en.json.

Known limits

  • esx_vehiclelock / esx_carlock have no key API: crews use the truck unlocked.
  • Standalone has no jobs, so Config.Job.required = true refuses everyone there.
  • A renamed inventory fork is found by forcing it in cc_lib (Config.Bridge.inventory).