Configuration Files
1. Adjust config.lua to your server core
Adjusting the script to your server core
Config.Core = "ESX"
Config.CoreExport = function()
return exports['es_extended']:getSharedObject()
endAdjusting the PlayerLoaded trigger from server core to the script
Config.PlayerLoaded = "esx:playerLoaded"Adjusting the PlayerLogoutServer trigger from server core to the script
Config.PlayerLogoutServer = "esx:playerDropped"Adjusting the script to your server core
Config.Core = "QB-Core"
Config.CoreExport = function()
return exports['qb-core']:GetCoreObject()
endAdjusting the PlayerLoaded trigger from server core to the script
Config.PlayerLoaded = "QBCore:Client:OnPlayerLoaded"Adjusting the PlayerLogoutServer trigger from server core to the script
Config.PlayerLogoutServer = "QBCore:Server:OnPlayerUnload"2. Adjust config.lua to server preferences
If you want to use a progress-bar for the exercises you are doing, you can do so below.
You can adjust your own progress bar in the config.client.lua - CL.Progressbar
Config.UseProgressbar = trueDo you want to use target system, you can adjust other one in the config.client.lua - CL.Target
Config.UseTarget = false
Config.TargetResource = 'ox_target' -- Prepared for 'ox_target', 'qb-target'Adjusting the display of points
Config.UseMarkers = true -- Using a marker to display points
Config.UseText3D = false -- Using a 3D Text to display points
Config.UseHelpNotify = true -- Using a ESX.ShowHelpNotification (only for esx)Set the maximum and minimum number of item purchases per purchase
Config.MaxItemsWithoutBasket = 20
Config.MaxItemsInBasket = 100You can block the ability to run with the package while the goods are being delivered to the store
Config.DisableRunWithBoxInHands = trueLimit of stores to be owned by one player
Do you want to prevent the employment of a player who has another job, if so, you can require the employment of only the person who has a job for example - unemployed
Prevent multiple purchases of products by the same person so that fiends don't scoop up product sales for their own store
3. Adjust config.storemanage.lua to server preferences
Cost of buying the Alarm & Monitoring
The cost of transporting money safely
Costs and insurance times for stores
Times after which stores receive a warning and are removed for inactivity of employees
If a store has x% of products in stock, it will not be subject to Config.TerminationTime, it will be omitted from the liquidation time
If a gasstation has x% of fuel in stock, it will not be subject to Config.TerminationTime, it will be omitted from the liquidation time
For what % a player can sell his business
Employee to be able to create new order to take care of business
What it will give to the store for the upgrade, here you can adjust the values that stores will be able to use at the concurrent upgrade level
Last updated
Was this helpful?