OrigenNetwork
Docs

Configuration · origen_parking

All settings live in config/config.lua.


General

VariableDefaultDescription
Config.Locale'es'UI language — 'en' | 'es' | 'fr' | 'de' | 'pt'
Config.Framework'auto'Framework — 'auto' | 'qbx' | 'qb' | 'esx' | 'standalone' | 'custom'
Config.KeySystem'auto'Key system — 'auto' | 'qbx_vehiclekeys' | 'qs-vehiclekeys' | 'rk-keys' | 'none' | 'custom'
Config.AdminSystem'auto'Admin validation — 'auto' | 'origen_admin' | 'ace' | 'qbx' | 'esx' | 'custom'
Config.AdminPermission'org_parking'Permission string used for origen_admin
Config.AdminAceNode'org_parking.admin'Ace node used when AdminSystem = 'ace'
Config.NotifySystem'auto'Notifications — 'auto' | 'ox_lib' | 'qbx' | 'esx' | 'chat' | 'custom'
Config.TableName'org_parking'SQL table name — do not change if data already exists
Config.GarageIntegration'auto'Garage system — 'auto' | 'origen_garages' | 'qb-garages' | 'none' | 'custom'
Config.AdminCommand'orgadmin'Chat command to open the admin panel
Config.DebugfalseEnable debug logging

Parking behavior

VariableDefaultDescription
Config.AutomaticParkingtrueAuto-park when the player exits and locks the vehicle
Config.AutomaticParkingTimeout30Seconds to wait for lock after exiting before parking
Config.LockVehiclesOnSpawntrueLock spawned vehicles automatically
Config.GiveKeysOnSpawntrueGive keys to the player when their vehicle spawns
Config.AntiThefttrueEject players who are not the vehicle owner

Spawn / streaming

VariableDefaultDescription
Config.SpawnRadius200.0Distance in meters to spawn a parked vehicle
Config.DespawnRadius250.0Distance in meters to despawn — must be > SpawnRadius
Config.DespawnDelay10Seconds before removing the entity after leaving range
Config.GridCellSize150Spatial grid cell size in meters
Config.SpawnConcurrency8Max parallel server-side spawns at once
Config.UseDimensionsfalseEnable routing bucket (dimension) support

Limits

VariableDefaultDescription
Config.MaxPerCell0Max parked vehicles per grid cell — 0 = disabled
Config.MaxPerPlayer0Max parked vehicles per player — 0 = disabled

Zone limits

Fine-grained caps per area:

lua
Config.ZoneLimits = {
    { name = 'City Center', coords = vector3(100.0, 200.0, 30.0), radius = 50.0, max = 5 },
}

Parking cost

Charge players when they retrieve their vehicle:

lua
Config.ParkingCost = {
    enabled      = false,
    ratePerHour  = 50,    -- $ per hour
    minimum      = 10,    -- minimum charge
    freeMinutes  = 0,     -- free grace period
    blockIfBroke = true,  -- prevent retrieval if player can't pay
}

Visuals

VariableDefaultDescription
Config.BlipEnabledtrueShow a map blip for each of the player's parked vehicles
Config.BlipColor3Blip color — 0=white 1=red 2=green 3=blue 5=yellow 40=purple
Config.BlipSprite669Blip sprite — 669=parked car 357=P 225=small car
Config.ParkingMarker.enabledtrueShow a floating "P" marker above nearby parked vehicles
Config.ParkingMarker.drawDist20.0Distance in meters to draw the marker

Fuel

VariableDefaultDescription
Config.SaveFueltrueSave and restore fuel level when parking/retrieving
Config.FuelSystem'auto'Fuel system — 'auto' | 'ox_fuel' | 'LegacyFuel' | 'ps-fuel' | 'cdn-fuel' | 'native' | 'custom'

Collision detection

VariableDefaultDescription
Config.CollisionNotifytrueNotify the owner and update position when a parked vehicle is hit
Config.CollisionPositionUpdateInterval3Min seconds between DB position writes on collision

Blacklists

Blacklisted models

Vehicles that cannot be parked:

lua
Config.BlacklistedModels = {
    'bmx', 'cruiser', 'fixter', 'scorcher',
    'tribike', 'tribike2', 'tribike3',
}

Blacklisted zones

Areas where parking is not allowed:

lua
Config.BlacklistedZones = {
    { coords = vector3(441.0, -982.0, 30.0), radius = 30.0 },
}

Auto purge

Delete inactive entries on resource start:

lua
Config.Clean = {
    enabled         = true,
    maxInactiveDays = 30,
}