Configuration
Every block in config.lua and server/config.lua, and what to change first.
Back to the overview. Every setting is also explained by a comment beside it in the file itself; this page is the map.
| File | Who can read it | What lives there |
|---|---|---|
config.lua | every player (it is downloaded) | features, the yard, levels, equipment, contracts, grass, customers, timings, keys, the editor, the properties |
server/config.lua | the server only | every price and payout, star scoring, the mood table, XP, deposit, caps, anti-cheat tolerances, cooldowns, webhooks |
presets/*.lua | the server only | whole alternative economies, picked with one line |
custom/server.lua, custom/client.lua | you | your own hooks. Never escrowed, kept across updates |
locales/*.json | every player | every string the player sees |
Both config files are open (not escrowed), so you can change anything in them. A value of the wrong type is caught at start: the console prints one line naming the key, and the boot line ends in N CONFIG PROBLEM(S). See Troubleshooting.
Public config (config.lua)
| Block | What it controls |
|---|---|
Config.Debug | Draws every lawn section and prints job steps and refused events. Never changes behaviour; keep false on a live server. |
Config.SeedRevision | Properties are seeded from this file into the database once. Bump it to make this file win over the database again (houses edited in game are then overwritten). |
Config.Features | An on/off switch for every feature. See Feature switches. |
Config.UI | The tablet: accent (the one theming colour), theme ('light' or 'dark' until a player picks), hudMode ('full', 'compact', 'closed'), showClock, guideFirst. |
Config.Target | Target icon and interaction distance for ox_target / qb-target. |
Config.Yard | The yard: label, foreman position, model and scenario, the spawn spawns bays, truckSpawn, returnBay, blip, scenery props, and revision. Bump revision when you move the yard in this file, or a yard saved by the editor keeps winning. |
Config.Levels | The maximum level (max), the XP curve (base, growth) and the titles per level band. |
Config.Equipment | Ute, trailer and mower models per level band, the deck reach, the catcher size, the trailer gap and where the mower sits on the trailer (attach). |
Config.Outfit | Work clothes put on at the start and taken off at the end (client only, saved nowhere). /mowing outfit prints what you wear as config lines. |
Config.Kit | How the kit is handed over: full fuel and health, the mower's suspension raise, and which vehicle extras each model keeps (false = leave them alone). |
Config.Upgrades | The Garage lines (ute, deck, catcher, ramp): each tier's level and value. Prices are in server/config.lua. |
Config.Goals, Config.Challenges, Config.Achievements | Daily challenges (three a day) and the 13 achievements. Rewards are in server/config.lua. |
Config.Skills | The skill tree: each skill's effect, size per rank and the level each rank needs. |
Config.Contracts | Each contract: id, label, description, level gate, which property pools it draws from and how many houses it visits. |
Config.Grass | Clump spacing and jitter, grass models and styles, densities, the per-section clump budget, what counts as done, and the outline. |
Config.Obstacles, Config.BinModel | Gnome models and how many; the green bin prop. |
Config.Customers | Ped models, first and last names, personalities and their idle scenarios. |
Config.Requests | What customers can ask for (mind the gnomes, be quick, use my bin, back first). |
Config.Tasks, Config.Stripes, Config.Events | Optional extra jobs (leaves, edging, hedge), mowing stripes, and the dog / extra ask events. |
Config.Timings | How long each progress bar shows. The server floors are in ServerConfig.Cut, and must stay below these (checked at start). |
Config.Anims, Config.Particles, Config.Bag | Animations, the clippings particle, and the bag carried to the bin (model, hand bone, offsets). |
Config.Keys | Editor keys (F5 / F6 / F7) and the job card toggle (F10). Players can rebind them in GTA Settings, Key Bindings, FiveM. |
Config.Editor | Editor limits (zones, points, NPCs, undo steps) and the NPC model list. |
Config.Ace | The three ACE names, and everyone (keep it false; see below). |
Config.Properties | The shipped houses, grouped into pools. The editor writes to the database, which wins over this list. |
Feature switches
Every key in Config.Features is true or false. The resource is tested with every one of them off.
| Switch | Default | What it turns on |
|---|---|---|
conversation | on | Talking to the customer, moods and openers |
requests | on | Customer requests and the bonus or penalty for them |
obstacles | on | Gnomes on the lawn |
catcher | on | The catcher fills and must be emptied |
deposit | on | The refundable kit deposit |
levels, skills, upgrades, goals, leaderboard | on | The career: levels, skill tree, Garage, challenges and achievements, leaderboard |
editor | on | /mowing editor |
blips, peds, particles, sounds, outline | on | Map blips, extra NPCs at houses, clippings, sounds, the lawn outline |
keys | on | Give the player keys to their ute through your keys script |
dialogueCamera, inspectCam | on | The conversation camera and the inspection sweep |
regulars | on | Houses keep their resident, who remembers your last visit |
guide | on | The arrow over what to do next |
streak | on | Perfect-lawn streak bonus |
wear | on | Blades go dull and are sharpened at the trailer |
events | on | The dog and the mid-job ask |
crews, companies | on | Two-person crews; player-owned companies |
conditions | on | Weather and time-of-day pay bonuses |
recover | on | /mowingrecover for a lost or stuck rig |
tasks | off | Extra jobs: leaf blowing, edging, hedges |
stripes | off | Mowing stripes left on the lawn |
Server config (server/config.lua)
| Block | What it controls |
|---|---|
ServerConfig.Preset | nil for the numbers in this file, or the name of a file in presets/ ('high_pay' ships). An unknown name is a boot error. |
ServerConfig.Pay | Money. See Money. |
ServerConfig.Wear | How fast blades dull and the lowest reach a dull blade keeps. |
ServerConfig.Tasks, ServerConfig.Events | Pay and chance for the extra tasks and events. |
ServerConfig.Crew | max members besides the leader (1 = a two-person crew), invite range and expiry, the least work for a share (minUnits), the bonus per working member, the XP share. |
ServerConfig.Company | Founding fee, ranks, the owner's cut, pay and XP bonuses by company level, the city commission, the hourly retainer (retainerPerLevel, retainerPerMember, activeHours, retainerHours) and the fleet price multiplier. |
ServerConfig.Streak, ServerConfig.Conditions, ServerConfig.Tips | Streak bonus, weather and time-of-day multipliers, tip tables by stars. |
ServerConfig.Skills | What a skill reset costs and how often. |
ServerConfig.Stars, ServerConfig.Mood | How the server scores a lawn into 1 to 5 stars, and how each opener moves each personality's mood. |
ServerConfig.XP | XP per section, per star, per contract. |
ServerConfig.Deposit | The kit deposit, in dollars. |
ServerConfig.Caps | contractsPerHour (start cap) and payoutPerHour (pay ceiling). These stop alts and exploits; they are not a wage. |
ServerConfig.Journey, ServerConfig.Cut | Anti-cheat tolerances: talk range, the per-km travel floor, the yard range, the cut slack, clump rate, the timed-action floors. Change with care. |
ServerConfig.UpgradePrices | What each Garage tier costs, in the same order as Config.Upgrades. Tier 1 is always 0. |
ServerConfig.UpgradeSink | Where Garage and fleet money goes: society = false (it leaves the economy) or a society name (paid into that account through cc_lib). |
ServerConfig.Exports | Limits on other resources: maxXpGrant caps one addXp export call. |
ServerConfig.GoalRewards | Money and XP for each daily challenge and achievement. |
ServerConfig.Cooldowns | Milliseconds between two calls of each event, per player. |
ServerConfig.Webhooks | Read from the cc_mowing_webhook* convars. Leave them as convars. |
Money
ServerConfig.Pay.perSection[contract]is what one lawn section pays for four-star work at level 1 with no skills.defaultcovers a contract with no row.- A contract pays: sections mown x
perSectionx the star multiplier (starMult, about x0.35 to x1.05) x the level multiplier (perLevel, up tomaxLevelMult) x the Word of mouth skill, plus tips, the featured-contract bonus, the streak and the conditions bonus. Ute damage (damagePerPoint, up todamageCap) comes off. minutesPerSectionsets only the "est. time" on a contract card.Pay.society = { enabled = true, account = 'gardener' }pays the wage out of a society account instead of creating money. An empty society refuses the wage unlessfallbackToServer = true.Pay.accountis where the wage lands:'bank'or'cash'.
Shipped numbers, four-star work:
| Worker | About |
|---|---|
| Level 1, no skills | $150,000 an hour |
| Level 50, no skills | $195,000 an hour |
| Level 50, Word of mouth maxed | $220,000 an hour |
Ceiling (Caps.payoutPerHour) | $330,000 an hour |
The high_pay preset multiplies the curve for hot economies: about $175,000 at level 1, and a $250,000 ceiling that holds a maxed level-50 worker. Copy presets/high_pay.lua, rename it and change the check at its top to make your own.
Permissions
ACE (Config.Ace) | Allows |
|---|---|
cc_mowing.admin | The editor, /mowing strap, extras, outfit, companies, reset, setxp, kick |
cc_mowing.survey | /mowing coords |
cc_mowing.diagnostics | /mowing status, /mowing economy |
Config.Ace.everyone = true lets every player use every admin command and the editor. It is for surveying a test server alone. The console warns at every start while it is on.
Locales
setr cc_mowing_locale "de" picks the language (en, de, es, fr, pt). To change wording, edit locales/.json. To add a language, copy en.json to .json, translate the values (keep every {placeholder}), and set the convar. A key missing from your file falls back to English.