Skip to content

Installation

Install cc_powerwash in about five minutes.

1. Dependencies

ResourceNeededNotes
cc_lib 1.10.0+yesthe Code Cartel bridge to your framework, inventory, target, keys, fuel, phone
oxmysqlyesthe ledger, editor places and bookings
OneSyncyesany current FXServer artifact
A frameworknoQbox, QBCore, ESX, ox_core — or none (standalone)
Everything elsenodetected at start; see Integrations

2. Files

  1. Put cc_powerwash in your resources folder.
  2. Optional: move cc_powerwash/optional/cc_powerwash_vans next to it for the liveried vans (Props & stream pack).

3. server.cfg — ensure order

cfg
ensure oxmysql
ensure cc_lib
# your framework, inventory, target, keys, fuel scripts here
ensure cc_powerwash_vans     # optional, BEFORE cc_powerwash
ensure cc_powerwash

add_ace group.admin cc_powerwash.admin allow

The same lines are in install/convars.cfg.

4. Database

Automatic. On first start the resource creates its tables and prints [cc_powerwash] database migrated to schema 1. Every later version migrates itself on boot.

Manual (a host without CREATE rights): run sql/install.sql once, then later files in sql/migrations/ in order.

TableHolds
cc_powerwash_ledgerevery contract paid (the hourly cap and experience read it)
cc_powerwash_placesyard and sites saved with the editor
cc_powerwash_bookingsbusiness and home bookings
cc_powerwash_cleansbusiness premises clean dates
cc_powerwash_gearequipment level per character
cc_powerwash_metathe schema version

5. Items

One item, pw_detergent (the pre-soak). Paste the block for your inventory:

InventoryFile
ox_inventory (Qbox, ESX + ox)install/items/ox_inventory.lua -> ox_inventory/data/items.lua
qb-inventory, ps-inventory, lj-inventoryinstall/items/qb-core.lua -> qb-core/shared/items.lua
qs-inventoryinstall/items/qs-inventory.lua -> qs-inventory/shared/items.lua
codem-inventorysame fields in codem-inventory/config/itemlist.lua
core_inventory, tgiann-inventoryadd pw_detergent with the same label in their item list
ESX default inventoryrun install/items/esx.sql

Image: any 100x100 PNG named pw_detergent.png in your inventory's image folder. No detergent wanted? Config.Features.detergent = false.

Equipment parts (steel, electronickit) and debris drops (rubber, aluminum, plastic, metalscrap) are crafting items: put your item names in ServerConfig.Gear / ServerConfig.Debris, or turn those features off. The console names any item your inventory lacks.

6. Convars

ConvarTypePurpose
set cc_powerwash_webhook "<url>"set (secret)one Discord webhook for every log
set cc_powerwash_webhook_economy / _security / _adminsetone webhook per channel
setr cc_powerwash:preset "<name>"setrload presets/<name>.lua (+ _server.lua)
setr cc_powerwash_locale "<code>"setrlanguage file in locales/ (default en)
setr cc:keys "<resource>" and the other cc:*setrforce a cc_lib bridge (see cc_lib docs)

Never put a webhook in a setr convar: setr is sent to every player.

7. ACE

ACELets
cc_powerwash.admin/powerwash editor (move the yard, add sites) and /powerwash tune

8. Check it

Restart and look for, in order:

[cc_powerwash] database migrated to schema 1
[cc_powerwash] config OK

Then go to the drop-of-water blip by the Strawberry Ave car wash and talk to the foreman. Anything else in the console: Troubleshooting.