JG Docs
Dealerships

Adding Vehicles

Import vehicles from your framework or add them manually in the admin panel

Create your dealership locations before adding vehicles. Imports use each location's ID or categories to decide where vehicles are available.

Importing vehicles

Open the vehicle list

Open the admin panel with /dealeradmin, then select Vehicles in the left sidebar.

Choose an import source

Click Import and select the source for your framework. The panel checks that the source is available and shows how many vehicles it found.

See the framework details below if the source is unavailable or the count is wrong.

Choose the import behaviour

Select one of these options:

  • Append adds vehicles whose spawn codes aren't already in JG Dealerships. Existing vehicles and dealership data are left unchanged.
  • Overwrite deletes the existing JG Dealerships vehicle list, display vehicles, stock, orders and sales before importing the selected source.

Use Append unless you intend to replace all existing dealership vehicle data. Back up your database before using Overwrite.

Choose how vehicles are assigned

If the source includes shop data, choose one of these stock assignment methods:

  • Use dealership IDs from source assigns each vehicle using its shop value. Every value must match the ID of a location in JG Dealerships.
  • Match by vehicle category assigns each vehicle to locations that include its category.

The shop option isn't shown when the source has no shop data. ESX imports always match vehicles by category.

Run the import

Click Import. When it finishes, check the vehicle list and confirm the vehicles are assigned to the correct dealerships.

Framework import details

Adding vehicles manually

Use this method for individual vehicles that aren't in your framework's vehicle list, such as addon vehicles.

Open the add vehicle form

Open /dealeradmin, select Vehicles, then click Add in the top-right corner.

The Vehicles page in the dealership admin panel, with the Add button in the top-right corner

Enter the vehicle details

The Add Vehicle form showing the vehicle details, stock settings and dealership selection

Complete these fields:

  • Spawn Code is the vehicle's exact model spawn name, such as adder. Start the addon vehicle resource before adding it so the panel can validate the spawn code.
  • Brand is the manufacturer shown to players. This is optional.
  • Model is the vehicle name shown to players.
  • Category controls how the vehicle is grouped and filtered. The available options come from Config.Categories in config/config.lua.
  • Price is the base price. It is also used as the starting price for each selected dealership.
  • Overwrite dealership prices is used when editing a saved vehicle. It changes existing dealership prices to the new base price.
  • Enable Price Limits lets you set the minimum and maximum prices that dealership managers can choose.
  • Unlimited Stock removes the global ordering limit. Turn it off to set the maximum number that can be ordered across all dealerships.
  • Dealerships controls which locations stock the vehicle. Select every location where it should be available.

Save the vehicle

Click Add at the bottom of the form. The vehicle should appear in the list with its category, price and assigned dealerships.

Last updated 21 July 2026

On this page