JG Docs
Used Vehicles

Installation

Install JG Used Vehicles and prepare it for first use

Used VehiclesJG Used VehiclesPurchase on the JG store

JG Used Vehicles requires OneSync, server artifact 7290 or newer, ox_lib, oxmysql and Qbox, QBCore or ESX.

Installation

Download and unzip

Unzip the jg-usedvehicles-bundle and open the jg-usedvehicles-bundle folder.

Add the resource to your server

Drag jg-usedvehicles into a new folder called [jg] within your server's resources folder.

Install the dependencies

Install the latest versions of ox_lib and oxmysql.

Start your framework, oxmysql and ox_lib before jg-usedvehicles.

Update your server.cfg

Add this line to server.cfg after your framework and dependencies:

server.cfg
ensure [jg]

Check the database installation

Config.AutoRunSQL = true is enabled by default. On the first start, JG Used Vehicles creates its database tables and adds the required columns to your framework's vehicle table.

Check the server console for this message:

[JG Used Vehicles] Database tables are ready.

If the automatic installation fails, stop the resource and run install/install.sql in your database software. Start the resource again after the query finishes without errors.

Configuration

Core options live in config/config.lua. Check these before opening your server:

  • Config.Framework detects Qbox, QBCore or ESX when set to "auto".
  • Config.FuelSystem and Config.VehicleKeys should match the resources on your server.
  • Config.Phone, Config.Tablet, Config.Notifications and Config.SocietyBanking control the main integrations.
  • Config.InteractionMethod controls how players interact with dealerships.
  • Config.MarketplaceBranding changes the CarTrader name, colours and logos.

Gameplay settings such as listing limits, fees, auctions and finance terms are managed in the Settings tab of /useddealeradmin. They are stored in the database.

Image uploads

Vehicle photography requires a remote image provider. Choose Qbox CDN, Fivemanage, Cloudflare R2 or AWS S3, then add its credentials to config/config.photos.lua.

Image Uploads/used-vehicles/image-uploads

Keep config/config.photos.lua private. Don't post its API keys in GitHub repositories, support tickets or screenshots.

Next step

Create your first location after the resource and image provider are working:

Setting Up Locations/used-vehicles/setting-up-locations

Fully restart your server after changing these files. Don't rely on restarting jg-usedvehicles alone during the first installation.

Last updated 1 September 2026

On this page