Skip to content

Dealership Creator β€” Installation ​

Dependencies ​

ResourceRequiredNotes
oxmysqlYesThe database. Tables are created on first start; there is nothing to import.
FrameworkYeses_extended, qb-core or qbx_core.
fwb_interactYes (Free)How players use display cars, the boss menu, the employee desk, doors and the job board: Press E by default. cr_interact works too.
TargetOptionalox_target, qb-target or qtarget, only if you pick Target instead of Press E. It goes through fwb_interact.
BankingOptionalNeeded for society shops that charge a job or gang account: qb-banking, Renewed-Banking, wasabi_banking, okokBanking, esx_addonaccount or qb-management.
Vehicle keysOptionalfwb_vehiclekeys, qb-vehiclekeys, qbx_vehiclekeys, qs-vehiclekeys, mk_vehiclekeys or wasabi_carlock.
Fuel, weather, HUDOptionalPicked automatically when running. See Integrations.

There are no items to add.


Install Steps ​

  1. Create a category folder named [fs] inside your server's resources/ directory if you haven't already (resources/[fs]/).
  2. Place the fwb_dealerships folder into resources/[fs]/fwb_dealerships. Keep the folder name.
  3. Stop any other vehicle shop resource (esx_vehicleshop, qb-vehicleshop…) so two shops don't stand on the same spot.
  4. Add the resource to your server.cfg after your framework and oxmysql:
lua
ensure oxmysql
ensure es_extended      # or qb-core / qbx_core
ensure fwb_interact
ensure fwb_dealerships
  1. Give yourself admin access (Admin Access) and restart the server.
  2. In game, run /fwb_dealerships. The first time, the setup opens (First Start).

Admin Access ​

The admin panel needs the fwb_dealerships.admin ACE. Without it, the player sees a screen with their own add_ace line and a copy button.

lua
add_ace group.admin fwb_dealerships.admin allow
# or
add_ace identifier.license:your_license_here fwb_dealerships.admin allow

The command and the ACE can be renamed in Settings β†’ General β†’ Commands.


First Start ​

The setup asks two things:

  1. What kind of server? β€” Serious RP, Standard or Casual. This sets the starting prices, financing and test drive settings; everything can be changed later.
  2. Your vehicles β€” import them from:
SourceBest for
Framework filesQBCore / Qbox shared/vehicles.lua
Database tablesESX vehicles / vehicle_categories or any table with spawn names
Game scanAdd-on vehicles the game has loaded
GTA's default vehiclesAll 876 base-game vehicles with pictures, brand and performance
EmptyAdd vehicles yourself later

Then New dealership in the control centre walks you through your first shop and its in-game setup.


Database ​

These tables are created on first start:

TableWhat is in it
fwb_dealer_configSettings, vehicles, dealerships
fwb_dealer_stateStock, owners, staff, shop accounts
fwb_dealer_salesEvery sale
fwb_dealer_financeFinancing contracts
fwb_dealer_logThe activity log

Bought cars go into your framework's owned vehicles table (owned_vehicles on ESX, player_vehicles on QBCore / Qbox). The table and columns can be changed in Settings β†’ Sales β†’ After a sale.

FWB Studio documentation.