For the complete documentation index, see llms.txt. This page is also available as Markdown.

Config

Edit rcore_dealership/config.lua for global settings that apply to the whole script.

🐞 Debug

Use debug only when testing or when support asks for more information.

Config.Debug = false

💬 Locale

Set the language file loaded from rcore_dealership/locales.

Config.Locale = 'en'

Only en.lua is included by default. See the Locale page to add your own language.

📏 Units

Choose the speed units shown in the UI.

Config.Units = Units.METRIC
Value
Result

Units.METRIC

km/h

Units.IMPERIAL

mph

🔎 Auto Detection

These options are detected automatically by default. Set them manually only if auto detection finds the wrong resource.

Option
Default

Config.Framework

AUTO_DETECT

Config.Database

AUTO_DETECT

Config.Target

AUTO_DETECT

Config.Society

AUTO_DETECT

🛡️ Admin Groups

Config.FrameworkAdminGroups controls which framework groups count as admins for the admin tablet.

Framework
Default groups

ESX

superadmin, admin

QBCore

god, admin

⌨️ Commands

Change the command names in Config.Commands.

Option
Default
Description

Admin

dealershipadmin

Opens the admin tablet.

CustomerTablet

mydealership

Opens the customer tablet.

ManualNPCOrder

dealership_npc_order

Generates a new NPC order for a dealership. Usage: /dealership_npc_order <dealershipId>.

SeedVehicles

dealership_seed_vehicles

Seeds vehicles into the database. Usage: dealership_seed_vehicles confirm.

🧪 Experimental

Config.Experimental toggles experimental features. Leave it at Experimentals.NONE unless instructed otherwise.

Last updated