Compatibility
cc_scrapyard calls no framework, inventory, target, notify, progress, menu, dispatch or keys resource directly. It calls cc_lib, which detects what your server runs at start and falls back to a workin
cc_scrapyard calls no framework, inventory, target, notify, progress, menu, dispatch or keys resource directly. It calls cc_lib, which detects what your server runs at start and falls back to a working built-in version when nothing is installed. To force a choice, set cc_lib's convar, for example setr cc:target "ox_target" (see cc_lib's README → Overrides).
Legend: Tested = run in the automated session matrix (tests/sim.lua, a framework stub per column) · Bridged = handled through cc_lib, not yet run on a live server of that kind.
Frameworks
| Framework | Garage table read | Dirty money (auto) | Vehicle categories | Status |
|---|---|---|---|---|
| Qbox (qbx_core) | player_vehicles | black_money item | qbx_core list | Tested (matrix) · live-city proven on 1.x |
| QBCore | player_vehicles | black_money item (or item:markedbills) | qb-core shared vehicles | Tested (matrix) |
| ESX Legacy | owned_vehicles | black account | vehicles table | Tested (matrix) |
| ox_core | vehicles | black account | built-in list | Tested (matrix) |
| Standalone (no framework) | none — own-car scrap off, every car counts as NPC | black_money item | built-in list | Tested (matrix) |
| ND_Core | none by default (set ServerConfig.Garage.schema to a table) | black | built-in list | Bridged |
The built-in list (server/models.lua) holds every base-game car by category, so tiers work on any server. Add-on cars go in ServerConfig.Vehicles.models.
Inventories (through cc_lib)
ox_inventory · qs-inventory · origen_inventory · codem-inventory · core_inventory · ak47_qb_inventory · tgiann-inventory · qb-inventory · ps-inventory · lj-inventory · mf-inventory. Item files ship for ox_inventory, the qb family and ESX (install/items/). Parts are read slot by slot with their metadata (tier, VIN), so an inventory must keep item metadata — all of the above do.
Targeting (through cc_lib)
ox_target · qb-target · qtarget · bt-target · interact · sleepless_interact. No target resource: every interaction becomes a native [E] prompt, and the yard adds its own [E] Scrap this car / [E] Start chopping prompts at the bays (a target script normally puts those on the vehicle).
Everything else (through cc_lib)
| Category | Supported | Without one |
|---|---|---|
| Notify | ox_lib, okokNotify, mythic_notify, brutal_notify, t-notify, codem-notification, wasabi_notify | GTA feed notification |
| Progress / skill check | ox_lib, qb-progressbar, progressbar, mythic_progbar, rprogress, esx_progressbar | built-in bar and key check |
| Menu / input | ox_lib, qb-menu, esx_context, esx_menu_default, nh-context | built-in |
| Text UI | ox_lib, cd_drawtextui, okokTextUI, qb-core DrawText | help text |
| Dispatch | ps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, lb-tablet, core_dispatch, linden_outlawalert, origen_police, emergencydispatch | a blip and a notification for on-duty police |
| Society money (upgrade money, optional) | Renewed-Banking, qs-banking, qb-banking, qb-management, fd_banking, okokBanking, esx_addonaccount | upgrade money is a sink |
Any other dispatch: the beforeDispatch hook (EXPORTS.md, example 4 in custom/server.lua).
Vehicle keys
The yard locks its own wrecks and sets the doorslockstate state bag that qbx_vehiclekeys and its forks read, so a keys script does not offer "Lockpick" / "Break window" on a wreck. With other keys scripts the wreck is simply frozen and locked; nothing on it gives anything.
Garages and dealerships
| jg-advancedgarages | in_garage is set when a chopped car goes back (detected) |
| jg-dealerships | financed column: a financed car cannot be scrapped (ServerConfig.Garage.financeColumn) |
| Impound / police holds | ServerConfig.Garage.holdQuery — one SQL line for your impound table |
| Insurance scripts | ServerConfig.Connections.insurance (resource + export) or the isInsured hook |
Game build and maps
Base-game props, peds and animations only. The default sites are on the base map (no MLO). Any game build supported by current FXServer.