Installation & Configuration
Last updated
Last updated
Unzip the jg-dealerships-bundle
Drag both jg-dealerships
and jg-textui
into either your [qb]
or [esx_addons]
folder within your server. If you don't plan on using our new default Text UI, you don't need to transfer it to your server, and you can choose a different Text UI script in the config!
You should probably disable qb-vehicleshop
or esx_vehicleshop
because there will be location clashes ;)
Now comes the fun part, configuring the script to your servers needs. No need to mess with any code - we have an awesome new configuration tool, that makes it a breeze:
To use the tool, simply change the settings to your preference, then scroll to the bottom of the page and click the big blue "Generate config.lua" button.
You can then move the downloaded config.lua
file into the root of the jg-dealerships
resource, replacing the existing one. To modify your config.lua
in the future or after an update, you can import it by clicking "Import existing config" at the top of the page. You can then make changes to it and re-generate when you're finished.
JG Dealerships tries to automatically make the required database changes. In some cases, this automatic installation fails and you need to make the changes manually.
Head into the install
folder within jg-dealerships
. Run either the run-qb.sql
(QBCore & Qbox) or run-esx.sql
(ESX) file within your database software (could be PhpMyAdmin or HeidiSQL).
If you get the error along the lines of cannot use the syntax IF NOT EXISTS
- then simply remove every instance of IF NOT EXISTS
from the run.sql file, and re-run it. It will still run fine.
Make sure you are running this SQL code within the correct database - triple check and cross reference the name of the database!
Scripts are more fun when they work with others! See a full list of supported integrations and how to get them set up here: Integrations