Vehicle data · Vehicle Editor guide

Framework Config Generator

Generate QBCore shared vehicle entries or ESX SQL from the vehicles found in your scanned resources.

Generator creates vehicle snippets from every Scanner result for QBCore or ESX. Output is shown in a text area and must be copied manually into the target project.

Generate configuration

  1. Scan the vehicles you want to include.
  2. Open Generator.
  3. Choose QBCore (shared/vehicles.lua) or ESX (SQL).
  4. Optionally open Settings in the upper-right corner to edit class mapping.
  5. Click Generate, review the output, and copy it into the framework project.

QBCore output contains name, brand, model, price, category, type, and shop. ESX output creates an INSERT INTO vehicles (name, model, price, category) statement. Model names are lowercased and apostrophes in names/brands are escaped.

Default mapping

Mapping is based on vehicleClass: motorcycle, boat, helicopter/plane, emergency, super, sport, sport classic, muscle, SUV, off-road, compact, vans, commercial, and industrial. Unknown classes use DEFAULT: automobile/custom, price 50000, shop custom.

The mapping editor accepts JSON and stores it in local storage. Each entry has this shape:

json
{
  "VC_SUPER": {
    "type": "automobile",
    "category": "super",
    "price": 1000000,
    "shop": "luxury_shop"
  }
}

Reset to Default only replaces the editor text. Click Save Configuration to persist it.

Before installing generated output

  • Match the output to your exact framework version and database schema.
  • Confirm that every category and shop exists.
  • Balance prices individually; defaults are not production economy values.
  • Remove duplicate models before running SQL or pasting Lua.
  • Back up the database/configuration and validate syntax.
Ready to work on a resource? Download Vehicle Editor