Skip to content

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

FrameworkGarage table readDirty money (auto)Vehicle categoriesStatus
Qbox (qbx_core)player_vehiclesblack_money itemqbx_core listTested (matrix) · live-city proven on 1.x
QBCoreplayer_vehiclesblack_money item (or item:markedbills)qb-core shared vehiclesTested (matrix)
ESX Legacyowned_vehiclesblack accountvehicles tableTested (matrix)
ox_corevehiclesblack accountbuilt-in listTested (matrix)
Standalone (no framework)none — own-car scrap off, every car counts as NPCblack_money itembuilt-in listTested (matrix)
ND_Corenone by default (set ServerConfig.Garage.schema to a table)blackbuilt-in listBridged

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)

CategorySupportedWithout one
Notifyox_lib, okokNotify, mythic_notify, brutal_notify, t-notify, codem-notification, wasabi_notifyGTA feed notification
Progress / skill checkox_lib, qb-progressbar, progressbar, mythic_progbar, rprogress, esx_progressbarbuilt-in bar and key check
Menu / inputox_lib, qb-menu, esx_context, esx_menu_default, nh-contextbuilt-in
Text UIox_lib, cd_drawtextui, okokTextUI, qb-core DrawTexthelp text
Dispatchps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, lb-tablet, core_dispatch, linden_outlawalert, origen_police, emergencydispatcha 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_addonaccountupgrade 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-advancedgaragesin_garage is set when a chopped car goes back (detected)
jg-dealershipsfinanced column: a financed car cannot be scrapped (ServerConfig.Garage.financeColumn)
Impound / police holdsServerConfig.Garage.holdQuery — one SQL line for your impound table
Insurance scriptsServerConfig.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.