Dealership Creator β Installation β
Dependencies β
| Resource | Required | Notes |
|---|---|---|
oxmysql | Yes | The database. Tables are created on first start; there is nothing to import. |
| Framework | Yes | es_extended, qb-core or qbx_core. |
fwb_interact | Yes (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. |
| Target | Optional | ox_target, qb-target or qtarget, only if you pick Target instead of Press E. It goes through fwb_interact. |
| Banking | Optional | Needed for society shops that charge a job or gang account: qb-banking, Renewed-Banking, wasabi_banking, okokBanking, esx_addonaccount or qb-management. |
| Vehicle keys | Optional | fwb_vehiclekeys, qb-vehiclekeys, qbx_vehiclekeys, qs-vehiclekeys, mk_vehiclekeys or wasabi_carlock. |
| Fuel, weather, HUD | Optional | Picked automatically when running. See Integrations. |
There are no items to add.
Install Steps β
- Create a category folder named
[fs]inside your server'sresources/directory if you haven't already (resources/[fs]/). - Place the
fwb_dealershipsfolder intoresources/[fs]/fwb_dealerships. Keep the folder name. - Stop any other vehicle shop resource (esx_vehicleshop, qb-vehicleshopβ¦) so two shops don't stand on the same spot.
- Add the resource to your
server.cfgafter your framework andoxmysql:
lua
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure fwb_interact
ensure fwb_dealerships- Give yourself admin access (Admin Access) and restart the server.
- 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 allowThe command and the ACE can be renamed in Settings β General β Commands.
First Start β
The setup asks two things:
- What kind of server? β Serious RP, Standard or Casual. This sets the starting prices, financing and test drive settings; everything can be changed later.
- Your vehicles β import them from:
| Source | Best for |
|---|---|
| Framework files | QBCore / Qbox shared/vehicles.lua |
| Database tables | ESX vehicles / vehicle_categories or any table with spawn names |
| Game scan | Add-on vehicles the game has loaded |
| GTA's default vehicles | All 876 base-game vehicles with pictures, brand and performance |
| Empty | Add 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:
| Table | What is in it |
|---|---|
fwb_dealer_config | Settings, vehicles, dealerships |
fwb_dealer_state | Stock, owners, staff, shop accounts |
fwb_dealer_sales | Every sale |
fwb_dealer_finance | Financing contracts |
fwb_dealer_log | The 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.
