Before a ticket: run cc in the server console (cc_lib's diagnostics: framework, inventory, target, keys, fuel detected) and paste it with the [cc_powerwash] lines.
| You see | Fix |
|---|
Couldn't load resource cc_powerwash or Error parsing script fxmanifest.lua | the manifest was saved with a BOM or another encoding by an editor: re-save fxmanifest.lua as UTF-8 without BOM (VS Code: bottom bar, "Save with Encoding") or re-download it |
Could not find dependency cc_lib for resource cc_powerwash | install cc_lib 1.10.0+ and ensure cc_lib before ensure cc_powerwash |
Could not find dependency oxmysql | install oxmysql and ensure it first |
SCRIPT ERROR: @cc_powerwash/...: attempt to index a nil value (global 'CC') | cc_lib started after us or failed to start: fix its ensure order and its own errors first |
[cc_powerwash] could not create or migrate tables (...); the job stays closed | oxmysql is not connected or the database user cannot CREATE TABLE: fix mysql_connection_string, or run sql/install.sql by hand |
| You see | Fix |
|---|
| No blip, no foreman | the yard is off: check the console for config: lines; Config.Yard.enabled = true |
| Foreman stands but nothing happens when you look at him | no target script detected: walk up and press E (or set Config.Interaction.foreman = 'prompt') |
| Tablet does not open / blank white or invisible panel | another resource keeps NUI focus, or web/ was edited: restore web/ from the download; F8 shows any page error |
| Cursor stuck after closing | press Escape; if it persists, another resource holds focus (restart cc_powerwash releases ours) |
| You see | Fix |
|---|
[cc_powerwash] config: item "pw_detergent" is not in your inventory (install/items/ has it for every inventory) | paste the block for your inventory from install/items/ (Installation), restart the inventory |
config: Debris item "rubber" is not in your inventory (or set Config.Features.debris = false) | use your server's crafting items in ServerConfig.Debris, or turn debris off |
| Pre-soak says you have no detergent though you do | the item name differs: ServerConfig.Detergent.item must match your inventory's name |
| You see | Fix |
|---|
Rent does nothing; config: Config.Vehicle.rental.vans[1] model "x" is not in ServerConfig.Vehicle.rentalModels | add the model to rentalModels (server-side allowlist) |
| "The bay is blocked" | a vehicle stands on every bay in Config.Yard.bays (the van takes the first free one): move one, or edit the list |
| "I can't tow the trolley again" | fixed in 3.1.0: tow is its own key (Config.Rig.tow.key, Y), shown next to the van's keys |
| No keys for the rented van | cc shows keys: none or the wrong script: setr cc:keys "<your keys resource>", or fill Custom.giveKeys |
| Van has no fuel | cc shows fuel: none: setr cc:fuel "<resource>", or fill Custom.setFuel (ti_fuel and others) |
| Owned mode: "That vehicle is not registered to you" | the plate is not in player_vehicles / owned_vehicles under that character; on standalone / ox_core define Custom.ownsVehicle |
config: Config.Vehicle.mode is owned but nothing can prove who owns a vehicle on this framework (standalone): define Custom.ownsVehicle ... | exactly that: Vehicle modes has an example |
| Liveried van rents plain | cc_powerwash_vans is not started, or started after us: ensure cc_powerwash_vans before ensure cc_powerwash, then restart the server (vehicle metadata loads on connect) |
| Livery van is invisible or a different model | the pack's stream/ files were removed or renamed: re-copy optional/cc_powerwash_vans |
| You see | Fix |
|---|
| Base-game compressor and cone instead of our trolley and sign | stream/ was deleted or not downloaded yet (first join), or Config.Props.useCustom = false: this is the designed fallback |
| Props invisible but the job works | the client has not streamed them yet: rejoin; check stream/ holds the .ydr, .ytd and cc_powerwash.ytyp files |
| Walk through the trolley | Config.Rig.collider was set to false: put the colliders back |
| You see | Fix |
|---|
| Spraying does not count; HUD says "move closer" / "face it" / "hose out of reach" / "signs" | that is the server telling the worker why: get within the tip's range, face the patch, tow the trolley closer, place the signs |
| Half speed, "wrong tip" or "needs pre-soak" | change nozzle (R) or pre-soak oil with detergent |
| "Too fast" when finishing | a timed action finished faster than the server floor (ServerConfig.Timers): keep floors below the bar lengths in Config.Actions |
| Pay lower than the card | the hourly cap (ServerConfig.Pay.hourlyCap) per licence |
| You see | Fix |
|---|
| "Out of time on that contract. It went back on the board, unpaid." | the contract's time limit ran out (ServerConfig.Contract.timeLimit: base + work x perWork, clamped min..max). Raise base/perWork, or set timeLimit = nil to use the flat claimTimeout |
| "No contract taken, so the van went back to the yard" | a rented van with no contract for ServerConfig.Van.idleLimit seconds is recalled (warned idleWarn s before). idleLimit = 0 turns it off. Owned vehicles are never recalled |
| The work outfit does not go on | Config.Outfit.enabled is false by default (clothing ids differ between servers): set your ids and turn it on, or use Custom.wearOutfit in custom/client.lua |
| The outfit is the wrong clothes / invisible torso | the drawable ids are from another clothing pack: pick the ids in your clothing menu and copy them into Config.Outfit |
| Own clothes not back after a crash | clothes are restored on clock-off and resource stop; after a crash a relog reloads the saved skin from your appearance script |
| Patch rings / graffiti do not show, GTA markers do | Config.Grime.fx = false, or web/assets/fx/*.png were deleted: re-copy web/assets/fx/ |
| Graffiti reads mirrored on walls | Config.Grime.fx.flip = true |
| No van blip | Config.Blips.van = nil turns it off; otherwise the blip appears once the van streams in |
| You see | Fix |
|---|
[cc_powerwash] config: ... (any line) | one line per broken setting at start: fix the value it names; the rest of the resource keeps running with safe defaults |
SCRIPT ERROR: @cc_powerwash/custom/server.lua:.. | an error in your own custom/ function: it is caught and the built-in behaviour runs; fix your function |
cc_lib security lines naming a cc_powerwash: event (cooldown, bad argument, flag) | a client fired an event too fast or with arguments outside its spec: one is lag or spam, a pattern of them is a cheater (cc_lib's security log has the player) |
Failed to load script client/outfit.lua after an update | an old fxmanifest.lua was kept: replace the whole folder except config.lua, server/config.lua, custom/, locales/ |
NUI ... net::ERR_FILE_NOT_FOUND ... web/assets/... | a file under web/assets was removed: re-copy web/ |
| You see | Fix |
|---|
Table 'cc_powerwash_ledger' doesn't exist | the boot migration failed earlier: see the first error in the console, or run sql/install.sql |
Unknown column after an update | a migration was skipped by a failed boot: restart once with a working DB connection; the resource applies missing migrations in order |
Do I need ox_lib / ox_target / ox_inventory? No. cc_lib and oxmysql only. Can players use their own cars? Yes, Config.Vehicle.mode = 'owned'. Can I run it with no vehicles at all? Yes, 'none'. Do I have to stream your props and vans? No; base-game fallbacks are built in. Is anything trusted from the client? No amounts, positions or models: see "What is trusted" in the README.