⚙️Configuration

All source scripts automatically take common configurations such as framework. For this reason, these variables are not listed in the config. The rest would be

Config.Debug = true

Config.AutomaticParking = true -- If enabled, parking will activate automatically when exiting the vehicle, provided it is empty. Otherwise, exports will need to be used to park it.
Config.PersistNoOwnedVehicles = true -- If disabled, vehicles not owned by players will not be saved in the database. This means they will be lost if the server restarts.

Config.Clean = {
    enabled = true, -- Enable the inactive vehicle cleanup system
    maxInactiveDays = 30, -- Number of days a vehicle can be inactive before being removed from the system
}

Config.BlacklistedVehiclesModels = { -- List of vehicles that cannot be parked
    "bike",
}

Config.Columns = {
    ['qb-core'] = {
        ['vehicles'] = 'player_vehicles',
        ['state'] = 'state',
        ['plate'] = 'plate',
        ['identifier'] = 'citizenid',
    },
    ['esx'] = {
        ['vehicles'] = 'owned_vehicles',
        ['state'] = 'stored',
        ['plate'] = 'plate',
        ['identifier'] = 'owner',
    },
}

Last updated