Config builder

X3D Vehicle Storage config

Change values in the form, then copy one topic or the whole file into your server.

Download with my settings
v1.0.2
๐Ÿ’ก Already changed your config? Paste it to continue from it. Keys new in this version get โ˜….

General

Docs โ†—
Config.Debug

debug prints and draw the trunk-reach circle

Config.Locale

language of this script: 'th' | 'en'

Config.OwnedVehiclesTable

players' vehicles table in the DB (stock ESX: owned_vehicles)

Config.OpenTrunkKey

key that opens the trunk (players can rebind it)

Config.TrunkInteractionDistance

reach (meters) from the trunk

Config.VehicleSearchDistance

search radius for a nearby car (meters)

Config.CheckInterval

how often to look for a nearby car (ms)

Config.EnableGlovebox

Also open the same storage from the front of the car (not a separate compartment โ€” same contents as the trunk)

Config.GloveboxInteractionDistance

reach (meters) from the front

Trunk capacity (kg) by GTA vehicle class (0 = no storage)

Docs โ†—
Config.VehicleWeightByClass

Trunk capacity (kg) by GTA vehicle class (0 = no storage)

0 Compacts ยท 1 Sedans ยท 2 SUVs ยท 3 Coupes ยท 4 Muscle ยท 5 Sports Classics ยท 6 Sports ยท 7 Super ยท 8 Motorcycles

9 Off-road ยท 10 Industrial ยท 11 Utility ยท 12 Vans ยท 13 Cycles ยท 14 Boats ยท 15 Helicopters ยท 16 Planes

17 Service ยท 18 Emergency ยท 19 Military ยท 20 Commercial ยท 21 Trains

[0]

Compacts (50kg)

[1]

Sedans (75kg)

[2]

SUVs (100kg)

[3]

Coupes (60kg)

[4]

Muscle (80kg)

[5]

Sports Classics (70kg)

[6]

Sports (65kg)

[7]

Super (60kg)

[8]

Motorcycles (25kg)

[9]

Off-road (120kg)

[10]

Industrial (200kg)

[11]

Utility (150kg)

[12]

Vans (180kg)

[13]

Cycles (10kg)

[14]

Boats (150kg)

[15]

Helicopters (100kg)

[16]

Planes (150kg)

[17]

Service (120kg)

[18]

Emergency (100kg)

[19]

Military (200kg)

[20]

Commercial (250kg)

[21]

Trains (0kg - no storage)

capacity when the class is unknown (kg) and 5 more

Docs โ†—
Config.DefaultTrunkWeight

capacity when the class is unknown (kg)

Config.VehicleWeightByModel

Per-model capacity (lowercase model name), beats the class table โ€” 0 = no trunk

bmx
cruiser
faggio
bati
stretch
guardian
Config.CheckOwnership

only the owner (or key/shared access via hooks) can open

Config.AllowJobVehicles

job vehicles: anyone with a listed job can open them

Config.JobVehicleAccess
policeambulancemechanic
Config.AdminGroups

admin groups: /trunkadmin <plate> and open any car

superadminadmin

Items/weapons that can never go in a car (items with can_remove = 0 are blocked anyway)

Docs โ†—
Config.ItemBlacklist

Items/weapons that can never go in a car (items with can_remove = 0 are blocked anyway)

Delete storage of plates gone from the vehicles table after this many days (grace for rentals) and 2 more

Docs โ†—
Config.OrphanSweepDays

Delete storage of plates gone from the vehicles table after this many days (grace for rentals)

Config.CheckLockStatus

locked car = no access, except listed jobs

Config.LockBypassJobs
police

models without storage (hash)

Docs โ†—
Config.BlacklistedVehicles

models without storage (hash)

classes without storage and 1 more

Docs โ†—
Config.BlacklistedClasses

classes without storage

[13]

Cycles

[21]

Trains

Config.MarkerColor

colour of the debug reach circle

Sample text