Compatibility
Frameworks and scripts cc_mowing works with, how each is found, and how to override it.
Back to the overview.
cc_mowing never calls a framework or another script directly. Every call goes through cc_lib, which finds what your server runs at start and falls back to a built-in version when nothing is installed. Nothing has to be configured for the usual stacks.
Frameworks
| Framework | Status | Notes |
|---|---|---|
Qbox (qbx_core) | Supported | Workers keyed by citizenid |
QBCore (qb-core) | Supported | Workers keyed by citizenid |
ESX Legacy (es_extended) | Supported | Workers keyed by the character identifier |
| ox_core | Supported | Workers keyed by the character id |
| Standalone (none) | Supported | The whole job works and every payout is logged, but there is no money system to pay into. Workers keyed by license2. |
Force a framework if detection picks the wrong one: setr cc:framework "qbox" (qbox, qb, esx, ox, standalone).
Other scripts
| Category | What cc_mowing uses it for | Examples cc_lib finds | With none installed |
|---|---|---|---|
| Money | Deposit, wages, Garage, company account | the framework's own | Logged only (standalone) |
| Society banking | Pay.society wages, UpgradeSink | qb-banking, Renewed-Banking, okokBanking, esx_society, qb-management, and others cc_lib lists | The wage is created by the server; sink money leaves the economy |
| Target | Foreman, trailer, mower, customer, bin | ox_target, qb-target, qtarget | Built-in [E] prompts |
| Notify | Every message | ox_lib, okokNotify, mythic_notify, the framework's | GTA's own notification |
| Progress bar | Unload, load, empty, sharpen, inspect | ox_lib, progressbar, the framework's | A built-in bar |
| Text UI | Prompts | ox_lib, the framework's | GTA help text |
| Vehicle keys | Keys to your own ute | qbx_vehiclekeys, qb-vehiclekeys, wasabi_carlock, MrNewbVehicleKeys, and others | Nothing needed: the kit is unlocked |
| Fuel | A full tank on the kit | ox_fuel, Renewed-Fuel, LegacyFuel, cdn-fuel (through the fuel state bag) | GTA's own fuel level is set |
| Weather and time | Wet-grass and dawn/night bonuses | any weather resource that publishes GlobalState.weather (or currentWeather) and the hour (time.hour or hour) | No bonus; set cc_mowing:weather / cc_mowing:hour to test |
| Database | Saving | oxmysql | Nothing saved; properties from config.lua each start |
| Inventory, phone, dispatch, clothing | Not used | The job gives no items, sends no dispatch calls, and saves no clothing (work clothes are put on and taken off locally) |
To override any category, use cc_lib's config.lua: Config.Bridge.target = 'my-target-fork', or 'none' to force the fallback. See cc_lib's COMPATIBILITY page for the full list of more than 90 resources.
Server requirements
| FXServer | Any recommended artifact with Lua 5.4 (lua54 'yes') |
| OneSync | Required (on or Infinity). The server spawns the kit and hands it to the player. |
| Game build | Any. The shipped models are all base-game. |
| Routing buckets | Supported: the kit follows the worker into their bucket. |
Maps and MLOs
The yard and the 19 houses are on base-game streets. A map mod or MLO can put a building, a fence or a parked car where a lawn was. Move the yard and redraw any house with the in-game editor; nothing needs a code change.
How it was tested
tests/verify.lua: static checks over the manifest, every event schema, locales and config.tests/sim.lua: a whole contract, crews, companies and every exploit path, with every feature on and again with every feature off.tests/attack.lua,tests/adversarial.lua: the real cc_lib and server files under a hostile client.tests/compat.lua: the cc_lib adapters (OneSync, buckets, spawn, weather, admin) on a bare standalone server.
Results for this version are in the changelog.