Installation
Install cc_powerwash in about five minutes.
1. Dependencies
| Resource | Needed | Notes |
|---|---|---|
cc_lib 1.10.0+ | yes | the Code Cartel bridge to your framework, inventory, target, keys, fuel, phone |
oxmysql | yes | the ledger, editor places and bookings |
| OneSync | yes | any current FXServer artifact |
| A framework | no | Qbox, QBCore, ESX, ox_core — or none (standalone) |
| Everything else | no | detected at start; see Integrations |
2. Files
- Put
cc_powerwashin your resources folder. - Optional: move
cc_powerwash/optional/cc_powerwash_vansnext to it for the liveried vans (Props & stream pack).
3. server.cfg — ensure order
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 allowThe 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.
| Table | Holds |
|---|---|
cc_powerwash_ledger | every contract paid (the hourly cap and experience read it) |
cc_powerwash_places | yard and sites saved with the editor |
cc_powerwash_bookings | business and home bookings |
cc_powerwash_cleans | business premises clean dates |
cc_powerwash_gear | equipment level per character |
cc_powerwash_meta | the schema version |
5. Items
One item, pw_detergent (the pre-soak). Paste the block for your inventory:
| Inventory | File |
|---|---|
| ox_inventory (Qbox, ESX + ox) | install/items/ox_inventory.lua -> ox_inventory/data/items.lua |
| qb-inventory, ps-inventory, lj-inventory | install/items/qb-core.lua -> qb-core/shared/items.lua |
| qs-inventory | install/items/qs-inventory.lua -> qs-inventory/shared/items.lua |
| codem-inventory | same fields in codem-inventory/config/itemlist.lua |
| core_inventory, tgiann-inventory | add pw_detergent with the same label in their item list |
| ESX default inventory | run 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
| Convar | Type | Purpose |
|---|---|---|
set cc_powerwash_webhook "<url>" | set (secret) | one Discord webhook for every log |
set cc_powerwash_webhook_economy / _security / _admin | set | one webhook per channel |
setr cc_powerwash:preset "<name>" | setr | load presets/<name>.lua (+ _server.lua) |
setr cc_powerwash_locale "<code>" | setr | language file in locales/ (default en) |
setr cc:keys "<resource>" and the other cc:* | setr | force a cc_lib bridge (see cc_lib docs) |
Never put a webhook in a setr convar: setr is sent to every player.
7. ACE
| ACE | Lets |
|---|---|
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 OKThen go to the drop-of-water blip by the Strawberry Ave car wash and talk to the foreman. Anything else in the console: Troubleshooting.