Changelog
What changed in each version.
Semantic versions: a renamed or removed config key is a major, a new feature a minor, a fix a patch. Moving between versions: Updating.
3.3.0 - 2026-12-01 — cc_lib 1.14.0 inventory reads
- t0 pressure-washer mode on more inventories. With cc_lib 1.14.0+, the lent
WEAPON_PRESSUREWASHERcan be lent and taken back on qs-inventory, qb-inventory, ps-inventory and lj-inventory too (per-slot metadata throughCC.inventory.slotsWithMeta). Older cc_lib: ox_inventory only, as before. Inventories without slots (ESX default) keep the prop lance. - Boot item checks use
CC.inventory.itemExists(cc_lib 1.14.0) on every inventory cc_lib reads. - Vehicle ownership will use
CC.garage.ownerOfonce cc_lib 1.15.0 ships it; the built-inplayer_vehicles/owned_vehicleslookup stays as the fallback. - No config change. Works on cc_lib 1.10.0+ (newer cc_lib only widens coverage).
3.2.0 - 2026-12-01 — live city 2.8.0-2.11.1 brought in, product hardening
Everything the live city gained since 3.1.0, made neutral for any server. No config key renamed; new keys are additive.
- Contract time limit. Each claimed contract has a limit scaled by its listed work (
ServerConfig.Contract.timeLimit: base + work x perWork, clamped min..max, a warningwarnseconds before). Shown on the board and counted down on the HUD; expiry puts it back on the board unpaid. New server eventcc_powerwash:server:contractExpired. - Idle van recall. A rented van with no contract for
ServerConfig.Van.idleLimitseconds is recalled (warnedidleWarnseconds before; deposit back only at a bay). Only rentals: an owned vehicle is never recalled or deleted (the city build recalled any work vehicle; gated by a new scenario and two mutants intests/modes.lua). New server eventcc_powerwash:server:vanRecalled. - Van blip (
Config.Blips.van): a blip at the bay, then on the van once it streams in. - Custom patch look (
Config.Grime.fx): textured rings per patch, an aim ring under the jet, real graffiti pieces on wall patches that fade as the server's % rises (art = truekinds), and NUI labels (kind in its colour + a ten-block bar).fx = falsekeeps the 3.1.0 GTA markers. - Spray feel: standing on a floor patch any heading washes it (
ServerConfig.Wash.facingFree); moving faster thanConfig.Tool.walk.strafeSpeedthe body follows the aim at once. - Hose pinned to the unit and the lance every frame (no loose end).
- Work outfit (
Config.Outfit): put on at clock-on, the worker's own clothes back at clock-off and on a resource stop, with game natives (works with any clothing script). Off by default (clothing ids differ per server);Custom.wearOutfit/Custom.restoreOutfitincustom/client.luahand it to your clothing script. - Props collide: the washer unit and the job sign archetypes now build their collision.
- Tablet: scroll edge fades, gear renders show the whole prop.
getVersion()readsfxmanifest.lua.- Locales: German, Spanish, French and Portuguese ship alongside English (
setr cc_powerwash_locale). - Docs: compatibility matrix, 3.2.0 troubleshooting rows, common F8/server errors, doc comments on every public function, net event and NUI callback.
- Not in the product: the city's launch-week pay boost and its custom blip sprite (Legacy-only).
- Not seen in game: patch fx orientation, art mirroring, pinned hose, strafe, outfit.
3.1.0 - 2026-11-14 — owner play-test fixes
Twelve fixes from the owner's play-test. No config key renamed; new keys are additive.
- Trolley tows like a cart. No longer glued to the worker (it sank into the ground). Every frame it follows its spot in front of the worker, each axle is probed onto the map, pitch comes from the two axle heights and roll from the ground normal, a kerb lifts it, a wall stops it, and collision stays on (
Config.Rig.tow.follow/turn/rise/axle/lift/radius/maxTilt). Set down, it stays where it rolled to. Why not a physics attach or a rope: both fight the ped's capsule or swing and roll the cart over at kerbs. - Re-tow bug fixed. Tow used E, and at the van E is refill: once the trolley was set down by the rear doors (to refill), the van rows hid the tow row for good. The trolley now has its own key in every mode (
Config.Rig.tow.key, default Y) and both sets of rows show together. Tested: tow, set down by the van, refill, tow again, four times (tests/fixes.lua). - Signs can be moved. Target "Move sign" on each placed sign (E prompt without a target script). New event
cc_powerwash:sign:pick(sign index only): the worker must stand withinServerConfig.Rig.signPickReachof it; cleaning stops until it is placed again through the normal checks.Config.Features.signMove. - Hose connected. The rope waited for nothing (an untextured rope draws nothing) and passed 0 as bone names. It now waits for its textures, runs from the unit's outlet to the lance stub, and to the worker's hand while towing;
Config.Rig.hoseCollisionlays it on the ground. - Spraying pose. No per-frame heading snap (the feet slid); the body turns to the aim at
Config.Tool.walk.turnRate, the legs use a tool-carrying walk and strafe clipset, a slower step while spraying. Aim camera further back and wider. - Visible targets. Every dirty patch gets a pulsing outline in its kind's colour and a floating chip ("Moss 40%"); wall patches draw on the wall normal. Moss and graffiti are opaque and larger.
Config.Grime.outline/chip, materialtag,Config.Features.markers. - Van bays.
Config.Yard.bays: the first free bay of four by the foreman; all blocked is refused; a van at any bay counts as returned. - One worker per contract. A claim lock around everything that can yield (hooks, bridges), re-checked after; released on every exit, on abandon, finish and drop (
Jobs.claimLock). - One foreman target ("Hydro-Clean", opens the tablet; Equipment is a tab).
- Logo without the white tile. Tabs go bright at once (hover no longer repaints the selected tab, no colour fade on it).
- Tests:
tests/fixes.lua(re-tow, contract lock, sign move, bays; 7 mutants) and 3.1.0 static gates intests/verify.lua. - Not seen in game: tow feel, hose look, walk clipsets, marker brightness.
3.0.0 - 2026-11-13 — Code Cartel product
The Legacy city job becomes a product any server can run. Major: config keys moved (Config.Vans -> Config.Vehicle.rental.vans, ServerConfig.Van.models -> ServerConfig.Vehicle.rentalModels); the liveried vans moved to their own resource.
- Vehicle modes (
Config.Vehicle.mode):rental(as before),owned(the worker's own vehicle: driver seat, type, model list and keys checked on the server),none(no vehicle; the trolley is delivered to the site or collected at the yard). New eventsvan:useandkit:toggle(no arguments). - Optional assets: props fall back to base-game models (
Config.Props.useCustom, or deletestream/); the liveried vans areoptional/cc_powerwash_vans, used only when started. - Feature toggles (
Config.Features), integrations (Config.Integrations: business, housing, treasury resource names or false), brand (Config.Brand,{brand}in locales), UI theme (Config.UI.theme/hud/tabs/sounds/photos/prompts/progress). - Default economy retuned for a typical server (~$34-48k/h, $50k cap); the Legacy figures are the
legacypreset (setr cc_powerwash:preset "legacy"). - Hooks
beforeClockOn,beforeClaim,beforeVehicle; exportsGetContract,GetCareer;CC.api.publish; outbound eventcc_powerwash:server:contractCompleted;custom/server.luafunctionsgiveKeys,setFuel,ownsVehicle,homeAt,businessBay. - Logging channels
economy,security,adminfrom convars; security flags captured. - Data:
cc_powerwash_metaschema version + ordered migrations on boot (schema 1 = the 2.6.0 tables, so a 2.x database upgrades in place).sql/install.sql,sql/migrations/. - Compatibility: the two direct ox_inventory reads moved behind
server/bridge_ext.lua(TODO(cc_lib));t0tool mode needs per-slot metadata and falls back to the prop lance. Foreman opens with an E prompt when no target script runs. - Items for ox_inventory, qb-core, qs-inventory/codem and ESX in
install/items/. - Owned mode ownership (review 1 High): a vehicle is the worker's only when
Custom.ownsVehiclesays so or the framework's table does (player_vehicleson QBCore/Qbox,owned_vehicleson ESX); keys are a second check; re-proved at set-up and pack-up; a boot line when nothing can prove it (ServerConfig.Vehicle.owned.needOwnership). Trolley tow travel capped per contract (ServerConfig.Rig.maxTowTotal). Logo must be a file underweb/assets/; font names only. Prompt keys inConfig.Prompt.keys. - Docs:
docs/(installation, configuration, vehicle modes, props, theming, locales, exports, integrations, troubleshooting, updating). - Tests:
tests/modes.lua(framework identifier matrix, everything-none boot, every vehicle mode attacked, toggles, hooks, broken config, data, 18 mutants).
2.6.0 and earlier
The job's history before it became a Code Cartel product (2.0.0 rebuild: tablet, props, trolley, signs, walls, aim camera, liveried vans) is in CHANGELOG.md in the resource.