Skip to content

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

FrameworkStatusNotes
Qbox (qbx_core)SupportedWorkers keyed by citizenid
QBCore (qb-core)SupportedWorkers keyed by citizenid
ESX Legacy (es_extended)SupportedWorkers keyed by the character identifier
ox_coreSupportedWorkers keyed by the character id
Standalone (none)SupportedThe 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

CategoryWhat cc_mowing uses it forExamples cc_lib findsWith none installed
MoneyDeposit, wages, Garage, company accountthe framework's ownLogged only (standalone)
Society bankingPay.society wages, UpgradeSinkqb-banking, Renewed-Banking, okokBanking, esx_society, qb-management, and others cc_lib listsThe wage is created by the server; sink money leaves the economy
TargetForeman, trailer, mower, customer, binox_target, qb-target, qtargetBuilt-in [E] prompts
NotifyEvery messageox_lib, okokNotify, mythic_notify, the framework'sGTA's own notification
Progress barUnload, load, empty, sharpen, inspectox_lib, progressbar, the framework'sA built-in bar
Text UIPromptsox_lib, the framework'sGTA help text
Vehicle keysKeys to your own uteqbx_vehiclekeys, qb-vehiclekeys, wasabi_carlock, MrNewbVehicleKeys, and othersNothing needed: the kit is unlocked
FuelA full tank on the kitox_fuel, Renewed-Fuel, LegacyFuel, cdn-fuel (through the fuel state bag)GTA's own fuel level is set
Weather and timeWet-grass and dawn/night bonusesany 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
DatabaseSavingoxmysqlNothing saved; properties from config.lua each start
Inventory, phone, dispatch, clothingNot usedThe 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

FXServerAny recommended artifact with Lua 5.4 (lua54 'yes')
OneSyncRequired (on or Infinity). The server spawns the kit and hands it to the player.
Game buildAny. The shipped models are all base-game.
Routing bucketsSupported: 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.