cc_scrapyard — Salvage Yard & Chop Shop
The Code Cartel · version 2.0.0 · FiveM (GTA V) · escrowed logic, open config
The Code Cartel · version 2.0.0 · FiveM (GTA V) · escrowed logic, open config
A working salvage yard and a hidden chop shop in one resource. Players take a wreck from the foreman, jack it up, pull the wheels nut by nut, hoist the engine out, carry every part to their bay's cage, crush the bare shell and sell the parts or break them down into crafting materials. After dark, they steal cars to order, strip them at a back-lot chop bay and fence VIN-stamped hot parts for dirty money, while the police get a call and can trace a seized part back to the car it came from.
Everything the player sees happens on the car itself: each part is its own target on its own bone, comes off for everyone watching, and goes into the player's hands. The server owns every part, every timer and every dollar.
Features
- Legal yard: 4 vehicle tiers (beater, family, performance, exotic), 18 part slots per car, per-part skill checks and work animations, a parts cage per bay, a hydraulic crusher sequence.
- Workshop tools: trolley jack before wheels and the exhaust, engine hoist before the engine, a click-the-nuts wheel minigame, crawl under the car for the catalytic converter.
- Your own car: scrap a car you own on a bay (typed-plate confirmation; archived, restorable by staff with
/scrapyard restore <plate>). - Parts counter and dismantling bench: sell for cash, or break parts into steel, scrap, aluminium, copper, plastic, glass, rubber and electronics for your crafting scripts.
- 8 worker levels and 6 upgrades: impact wrench, plasma cutter, engine hoist, sorting rig, yard contacts, crusher contract — each a real time or pay change, all configurable.
- Chop shop: NPC and player cars, police-on-duty gates, per-plate and per-chopper cooldowns, a rotating hot list, contracts that name a car parked somewhere in the city.
- VIN tracing: every chopped part carries a VIN;
/vincheck(police) and theVinRecordexport show the car, plate, area and owner. Player cars are always reported to dispatch and go back to their owner's garage, damaged, with an optional recovery fee. - Anti-exploit by design: the client sends slot and menu indexes only; one server file moves items and money; server-enforced work timers; rolling hourly pay caps that survive restarts.
- NUI tablet: a dark workshop panel for the foreman, counter, contact and bench, a job tracker card, and painted floor markings and chevrons that show where to go next.
- Feature toggles for every part of the script, hooks at every decision point, and a documented export API.
Requirements
| cc_lib 1.13.0 or newer | The Code Cartel bridge (free). The only code dependency. |
| oxmysql | Four small tables, created automatically. |
| A framework (optional) | Qbox, QBCore, ESX Legacy, ox_core — or none at all. |
Everything else (inventory, target, notify, progress, skill check, dispatch, keys, banking) is detected through cc_lib and falls back gracefully. See COMPATIBILITY.md.
Install in five minutes
- Drop the
cc_scrapyardfolder into yourresources. - Add the items for your inventory from
install/items/(ox_inventory, QBCore-style, or ESX SQL). - Paste
install/convars.cfgintoserver.cfg—ensure cc_scrapyardafteroxmysql,cc_lib, your framework and your inventory. - Restart. The console prints
cc_scrapyard config OK (1 yard(s) open, framework ..., garage schema ...). - Drive to Rogers Salvage & Scrap (La Puerta) and talk to the foreman.
Full steps, including item pictures and the first in-game test: INSTALL.md.
Documentation
| INSTALL.md | Step by step, items for every inventory, the first test run |
| CONFIG.md | Every config key, its default and what it does |
| EXPORTS.md | Exports, hooks, events and the custom/ files |
| COMPATIBILITY.md | Frameworks, inventories, targets, dispatch, garages |
| TROUBLESHOOTING.md | Every common console error and its fix |
| CHANGELOG.md | What changed, version by version |
What you can edit
Escrow protects the logic. These stay readable and are yours to change: config.lua, server/config.lua, server/models.lua, shared/, locales/, custom/, install/, sql/ and web/ (the panel's look). Colours live in one token block at the top of web/style.css.
Support
Open a ticket in The Code Cartel Discord with your server console output around cc_scrapyard and the result of /scrapyard status.