Configure Vehicle Settings
Customize vehicle spawning, fuel consumption, damage, and condition settings on your Project Zomboid server.
Vehicles are an important part of Project Zomboid survival. You can customize how many spawn, their condition, fuel levels, and damage behavior.
Vehicle Settings
Edit Zomboid/Server/[servername]_SandboxVars.lua:
| Setting | Default | Range | Description |
|---|---|---|---|
EnableVehicles | true | true/false | Enable or disable vehicles entirely |
CarSpawnRate | 3 | 1–5 | Spawn frequency (1=Very Rare, 5=Abundant) |
ChanceHasGas | 3 | 1–5 | Chance a vehicle has fuel |
InitialGas | 3 | 1–5 | How much fuel vehicles start with |
CarGeneralCondition | 3 | 1–5 | Average condition (1=Terrible, 5=Pristine) |
CarDamageOnImpact | 3 | 1–5 | Damage from collisions |
CarGasConsumption | 1.0 | 0.0–10.0 | Fuel consumption multiplier |
Common Configurations
Scarce Vehicles (Hardcore)
CarSpawnRate = 1,
ChanceHasGas = 1,
InitialGas = 1,
CarGeneralCondition = 1,
CarGasConsumption = 2.0,Very few vehicles, barely any fuel, poor condition. Finding a working car is a major achievement.
Plentiful Vehicles (Casual)
CarSpawnRate = 5,
ChanceHasGas = 4,
InitialGas = 4,
CarGeneralCondition = 4,
CarGasConsumption = 0.5,Lots of vehicles in good condition with fuel. Easy to get around.
No Vehicles
EnableVehicles = false,Disables vehicles entirely. Players must travel on foot.
Spawn an Admin Vehicle
As an admin, you can spawn vehicles for players:
/addvehicle "PlayerName" "Base.VanSeats"Common vehicle types:
Base.VanSeats— VanBase.PickUpTruck— Pickup truckBase.SportsCar— Sports carBase.StepVan— Step vanBase.OffRoad— Off-road vehicle
Related Guides
See also: Sandbox Settings | Admin Commands | Configure Your Server
If you need help, join our Discord.
How is this guide?

40% Off — Limited TimeGet your Project Zomboid server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server