GR1M Docs

Dealerships

Qbox dealership resource using the GR1M dealership UI. It replaces jg-dealerships completely: shop, staff, stock, finance, trade-ins, private sales and swaps, test drives and the Motors phone app.

v0.3.0Needs qbx_core, ox_lib, oxmysql, ox_target, qbx_vehicles

#Runtime dependencies

Required and started before this resource:

Optional integrations:

GR1M_UltraBoss bank and phone apps read loans from this resource (GetFinanceAccounts, PayFinanceInstallment), with jg-dealerships as a fallback when this resource is stopped.

#Install

  1. Back up the database. On first start the resource creates or upgrades its own tables (schema v7). The database user needs CREATE, ALTER, INDEX, SELECT, INSERT, UPDATE and DELETE. If installation fails, dealership actions stay disabled and the console says why.
  2. In the server cfg, after GR1M_UltraBoss and GR1M_Mech: stop jg-dealerships then ensure GR1M_Dealerships.
  3. Grant the admin ACE dealership.admin (or use a Qbox admin/god group). Creating a dealership also needs UltraBoss admin rights, because UltraBoss creates the job.
  4. Import the JG data (see Legacy cutover), or run /dealeradmin to create dealerships and capture their points.

#Commands

#How it works

#Safety notes