Config = {} -- Localisation Config.Locale = "ro" Config.NumberAndDateFormat = "en-US" Config.Currency = "$%s" -- Format string for currency display. Use %s for the amount (e.g., "$%s" -> "$1,000", "%s coins" -> "1,000 coins") Config.SpeedUnit = "kph" -- or "kph" Config.DistanceUnit = "km" -- or "km" -- Framework & Integrations Config.Framework = "QBCore" -- or "QBCore", "Qbox", "ESX" Config.FuelSystem = "rcore_fuel" -- or "LegacyFuel", "ps-fuel", "lj-fuel", "ox_fuel", "cdn-fuel", "hyon_gas_station", "okokGasStation", "nd_fuel", "myFuel", "ti_fuel", "Renewed-Fuel", "rcore_fuel", "qs-fuelstations", "none" Config.VehicleKeys = "qs-vehiclekeys" -- or "qb-vehiclekeys", "MrNewbVehicleKeys", "jaksam-vehicles-keys", "qs-vehiclekeys", "mk_vehiclekeys", "wasabi_carlock", "cd_garage", "okokGarage", "t1ger_keys", "Renewed", "tgiann-hotwire", "none" Config.Notifications = "ox_lib" -- or "default", "okokNotify", "ox_lib", "ps-ui" -- Interactions Config.InteractionMethod = "textui" -- or "textui", "target", "3dtextui", "radial" Config.DrawText = "auto" -- or "jg-textui", "qb-DrawText", "okokTextUI", "ox_lib", "ps-ui" Config.Target = "auto" -- or "ox_target" Config.DrawText3d = "auto" -- or "sleepless_interact" Config.RadialMenu = "auto" -- or "ox_lib" -- Framework jobs Config.UseFrameworkJobs = true -- Text UI prompts Config.OpenShowroomPrompt = "[E] Open Showroom" Config.OpenShowroomKeyBind = 38 Config.ViewInShowroomPrompt = "[E] View in Showroom" Config.ViewInShowroomKeyBind = 38 Config.OpenManagementPrompt = "[E] Dealership Management" Config.OpenManagementKeyBind = 38 Config.SellVehiclePrompt = "[E] Sell Vehicle" Config.SellVehicleKeyBind = 38 -- If you don't know what this means, don't touch this -- If you know what this means, I do recommend enabling it but be aware you may experience reliability issues on more populated servers -- Having significant issues? I beg you to just set it back to false before opening a ticket with us -- Want to read my rant about server spawned vehicles? https://docs.jgscripts.com/advanced-garages/misc/why-are-you-not-using-createvehicleserversetter-by-default Config.SpawnVehiclesWithServerSetter = false -- Finance (to disable finance, you have to do it on a per-location basis in-game) Config.FinancePayments = 12 Config.FinanceDownPayment = 0.1 -- 0.1 means 10% Config.FinanceInterest = 0.1 -- 0.1 means 10% Config.FinancePaymentInterval = 12 -- in hours Config.FinancePaymentFailedHoursUntilRepo = 1 -- in hours Config.MaxFinancedVehiclesPerPlayer = 5 Config.FinanceProcessOfflinePlayers = true -- Process finance payments for offline players (deducts from their bank in database) -- Little vehicle preview images in the garage UI - learn more/add custom images: https://docs.jgscripts.com/advanced-garages/vehicle-images Config.ShowVehicleImages = true -- Vehicle purchases Config.PlateFormat = "1AA111AA" -- https://docs.jgscripts.com/dealerships/plate-format Config.HideVehicleStats = false -- Test drives Config.TestDrivePlate = "TEST1111" -- This is a plate seed so it'll be random every time (read: https://docs.jgscripts.com/dealerships/plate-format) Config.TestDriveTimeSeconds = 120 Config.TestDriveNotInBucket = false -- Set to true for everyone to see the test driven vehicle (player is instanced by default) Config.DealershipMaxActiveTestDrives = 5 -- Maximum number of active test drives per dealership (direct test drives only) -- Display vehicles (showroom) Config.DisplayVehiclesPlate = "DEALER" Config.DisplayVehiclesHidePurchasePrompt = false -- Dealership stock purchases Config.TruckingMissionForOrderDeliveries = true Config.DealerPurchasePrice = 0.8 -- 0.8 = Dealers pay 80% of vehicle price Config.VehicleOrderTime = 1 -- in mins Config.ManagerCanChangePriceOfVehicles = true -- Managers can change the price of vehicles in the dealership -- Blip format Config.BlipNameFormat = "Dealership: %s" Config.Categories = { planes = "Planes", sportsclassics = "Sports Classics", sedans = "Sedans", compacts = "Compacts", motorcycles = "Motorcycles", super = "Super", offroad = "Offroad", helicopters = "Helicopters", coupes = "Coupes", muscle = "Muscle", boats = "Boats", vans = "Vans", sports = "Sports", suvs = "SUVs", commercial = "Commercial", cycles = "Cycles", industrial = "Industrial" } -- -- [Advanced] -- Employee Permissions (only applicable if UseFrameworkJobs is NOT enabled) -- These define what each employee role can do at owned dealerships -- -- Permission constants: -- ADMIN - Full access to everything (implicitly granted to owners and server admins) -- MANAGE_EMPLOYEES - Hire/fire employees, change roles -- MANAGE_INVENTORY - Order vehicles, manage stock, display vehicles, pricing -- MANAGE_FINANCES - Bank account deposits/withdrawals, settings (commission, label) -- SELL - Direct sales to players, test drives -- DELIVER - Deliver trucking orders -- VIEW_RECORDS - View sales history and order history -- -- Note: When using framework jobs instead of the built-in employee system, -- you'll map job grades to these same permission constants. -- Config.EmployeePermissions = { ["Manager"] = { "ADMIN", -- Full access }, ["Supervisor"] = { "MANAGE_INVENTORY", "VIEW_RECORDS", "SELL", "DELIVER", }, ["Sales"] = { "SELL", "VIEW_RECORDS", "DELIVER", }, } -- Commands Config.MyFinanceCommand = "myfinance" Config.DirectSaleCommand = "directsale" Config.DealerAdminCommand = "dealeradmin" -- Nerd options Config.EntityStreamingDistance = 100.0 -- Distance in meters at which entities despawn/respawn Config.RemoveGeneratorsAroundDealership = true Config.AutoRunSQL = false Config.ReturnToPreviousRoutingBucket = false Config.HideWatermark = false Config.Debug = false