Configuration | Quasar Store Documentations (2024)

Contents of config.lua

Welcome to the qs-advancedgarages configuration!

To start configuring your new asset, please read carefully each step in the documentation that we will attach at the end of this message.

Each important part of the configuration will be highlighted with a box. like this one you are reading now, where I will explain step by step each configuration available within this file.

This is not all, most of the settings, you are free to modify it as you wish and adapt it to your framework in the most comfortable way possible. The configurable files you will find all inside client/custom/* or inside server/custom/*.

Direct link to the resource documentation, read it before you start:

https://docs.quasar-store.com/information/welcome

This is just a fragment of the config.lua, this is just an example of the configurable part, you can go to the config.lua and find the location of the garages, recovery, job garages and so on.

Config = Config or {}Locales = Locales or {}--░██████╗░░█████╗░██████╗░░█████╗░░██████╗░███████╗░██████╗--██╔════╝░██╔══██╗██╔══██╗██╔══██╗██╔════╝░██╔════╝██╔════╝--██║░░██╗░███████║██████╔╝███████║██║░░██╗░█████╗░░╚█████╗░--██║░░╚██╗██╔══██║██╔══██╗██╔══██║██║░░╚██╗██╔══╝░░░╚═══██╗--╚██████╔╝██║░░██║██║░░██║██║░░██║╚██████╔╝███████╗██████╔╝--░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝░╚═════╝░╚══════╝╚═════╝░--[[ The first thing will be to choose our main language, here you can choose between the default languages that you will find within locales/*, if yours is not there, feel free to create it!]]Config.Language = 'en'--[[ Framework configuration and tools of your server! Please read the usable options carefully, in case they are not here you can add more or modify the default ones in the client/custom/* and server/custom/* directories. In case of weather or vehiclekeys, you can select false so that it does not depend on either of them. Please choose from the following options: Framework: 'esx' 'qb' Menu: 'esx_menu_default' 'nh-context' 'ox_lib' 'qb-menu' 'esx_context' Fuel: 'LegacyFuel' 'esx-sna-fuel' 'ps-fuel' 'lj-fuel' 'ox_fuel' 'ti_fuel' 'FRFuel' 'ND_Fuel' 'cdn-fuel' 'none' Weather: 'cd_easytime' 'vSync' 'qb-weathersync' 'none' Vehiclekeys: 'qs-vehiclekeys' 'qb-vehiclekeys' 'vehicles_keys' 'fivecode_carkeys' 'stasiek_vehiclekeys' 'xd_locksystem' 'ti_vehicleKeys' 'F_RealCarKeysSystem' 'mono_carkeys' 'glfp10_carkeys' 'wasabi_carlock' 'none UseTarget: 'ox_target' 'qb-radialmenu' 'none']]Config.Framework = 'qb' -- 'esx' o 'qb'Config.Menu = 'qb-menu'Config.Fuel = 'LegacyFuel'Config.Weather = 'qb-weathersync'Config.Vehiclekeys = 'qb-vehiclekeys'Config.UseTarget = 'qb-radialmenu'--[[ General and visual configuration, please read each comment on each configuration, as it is crucial that you understand what you are going to modify. If you want the garages to be shared and have slots in common you can enable Config.GaragesSync, this way when you enter the shell (interior) you will see all the cars in that garage.]]Config.BlipSprites = { ['plane'] = { owned = 423, notOwned = 372, size = 0.6, color = 67 }, ['vehicle'] = { owned = 357, notOwned = 369, size = 0.6, color = 67 }, ['boat'] = { owned = 410, notOwned = 371, size = 0.6, color = 67 }, ['impound'] = { color = 6 }}Config.TransferGaragePrice = 500 -- Price to be charged for taking out a vehiclesConfig.GarageSellTax = 1.3 -- Percentage of profit that the person who creates the garage receives when it is sold (by default it is 50% of the total price)Config.ImpoundPrice = 500 -- Impound default value to remove vehiclesConfig.DisableBlips = false -- Disable all blips or show them on your map?Config.ShortNames = false -- This config will shorten the names so your blips are much lessConfig.startCinematic = 5 -- Cinematic Cams being AFK in the garage, it's a beautiful cinematic cam (by default it is 1.3, one and a half minutes)Config.PlayerToVehicleAnimation = true -- Enable or disable the animation of the player entering the carConfig.SetEntityAlpha = true -- When he saves the car, he makes animations and degrades the carConfig.GarageSync = true -- This option will make the garages share the same number of slots and players will see all the cars inside their shellConfig.PersistentVehicles = true -- Configure if the vehicles are persistent on the map or not--[[ Music system inside the garage, you can remove this feature using false in the Conifg.Sounds or add music yourself in html/sounds/, it must be in mp3 format and its name must not contain spaces. One of the random songs will come out and each player can pause it if enabled.]]Config.Sounds = true -- Enable or disable the music and its Pause buttonConfig.SoundVolume = 0.04 -- Sound volume (we recommend 0.01-0.05 for ambient)Config.SoundFiles = { 'Gloria_Groove_-_Coisa_Boa', 'TroyBoi_-_Say_Yeah', 'NGHTMRE_AAP_Ferg_-_REDLIGHT', 'Party_Favor_GTA_-_Work_It_Out', 'Felix_Jaehn_Breaking_Beattz_-_LIITA', 'Machine_Gun_Kelly_-_El_Diablo'}--[[ In this part we have the jobs configuration, with this you can create garages or even have access to the impound command to remove garages from the streets. You also have an administrative command called mdv, which allows you to delete cars as dv.]]Config.AllowedJobs = { 'mechanic', 'realestate', -- 'realestatejob'}Config.ImpoundJobs = { 'police', -- 'sheriff'}
PreviousStep 6NextVideo

Last updated

Configuration | Quasar Store Documentations (2024)
Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 6104

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.