Installation
Dependencies, ensure order, permissions, convars and surveying the yard.
Back to the overview. Problems on first start: Troubleshooting.
1. Requirements
| Resource | Needed | Why |
|---|---|---|
cc_lib 1.7.0 or newer | Yes | The Code Cartel's free compatibility layer. It finds your framework, money, keys, fuel, target, notify and progress scripts, and hardens every net event. 1.7.0 adds the tablet's shared top bar. |
oxmysql | Recommended | Saves workers, properties, companies and the ledger. Without it nothing persists and properties come from config.lua on every start. |
| OneSync | Yes | The server spawns the ute, trailer and mower and hands them to the player. Every modern server has it on (set onesync on). |
| A framework | No | Qbox, QBCore, ESX or ox_core. With none, cc_lib runs standalone: the job works, pay is logged but not paid. |
| A target script | No | ox_target or qb-target. With none, built-in [E] prompts take over. |
2. Install
- Put
cc_libandcc_mowingin yourresourcesfolder. Keep the folder namecc_mowing. - In
server.cfg, after your framework, inventory and target:ensure oxmysql ensure cc_lib ensure cc_mowing - Give your staff the permissions:
add_ace group.admin cc_mowing.admin allow add_ace group.admin cc_mowing.survey allow add_ace group.admin cc_mowing.diagnostics allow - The tables are created on the first start. If your database user cannot
CREATE TABLE, importsql/cc_mowing.sqlby hand first. - Optional Discord logs. Use
set, neversetr, so players cannot read the URL:set cc_mowing_webhook "https://discord.com/api/webhooks/..." # fallback for all set cc_mowing_webhook_economy "https://discord.com/api/webhooks/..." # every money move set cc_mowing_webhook_security "https://discord.com/api/webhooks/..." # cheat flags set cc_mowing_webhook_admin "https://discord.com/api/webhooks/..." # admin commands, editor - Optional language:
setr cc_mowing_locale "de"(en,de,es,fr,pt). - Start the server and read the boot line:
[cc_mowing] cc_mowing 2.4.0 | framework: qbx | database: ready | 9 contract(s), 19 propert(ies)If it ends in
N CONFIG PROBLEM(S), the lines above it name each entry and field.
3. Survey the yard and the houses
The yard and the 19 shipped houses sit on real GTA V streets, but every map is different: an MLO, a map mod or a parked car can sit on any of them. Survey before players see the job.
- Stand where the foreman should be and run
/mowing editor, then Edit the yard. Set the Foreman, Ute spawn and Return bay where you stand. Keep the ute spawn clear and leave room behind it for the trailer. - For each house, open it in the editor (Go teleports you there). Set the park point, the front door and the green bin, and redraw the grass zones round the real lawn. Then Save.
- Start a Suburban Starter contract yourself. Check the mower sits on the trailer, unloads behind it, and that the grass and gnomes look right. Tune the mower's position with
/mowing strapif needed. - Run
/mowing exportand paste the result intoconfig.lua, so a fresh database gets your surveyed houses.
Full editor guide: Commands & editor.
4. Choose the economy
Pay is set per lawn section in server/config.lua (ServerConfig.Pay.perSection). The shipped numbers pay about $150,000 an hour at level 1 for four-star work, rising to about $220,000 at level 50 with the pay skill maxed. For a hotter economy, one line swaps in the included preset:
ServerConfig.Preset = 'high_pay' -- about $175k/h at level 1, capped at $250k/hAfter a few days of play, /mowing economy 48 prints what the job paid out over the last 48 hours, by kind, and the top earner. Move a contract's perSection if it runs hot or cold. Detail: Configuration.
Removing it
stop cc_mowing deletes every kit and refunds every deposit. The tables are cc_mowing_workers, cc_mowing_properties, cc_mowing_regulars, cc_mowing_ledger, cc_mowing_companies and cc_mowing_company_members.