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:

SettingDefaultRangeDescription
EnableVehiclestruetrue/falseEnable or disable vehicles entirely
CarSpawnRate31–5Spawn frequency (1=Very Rare, 5=Abundant)
ChanceHasGas31–5Chance a vehicle has fuel
InitialGas31–5How much fuel vehicles start with
CarGeneralCondition31–5Average condition (1=Terrible, 5=Pristine)
CarDamageOnImpact31–5Damage from collisions
CarGasConsumption1.00.0–10.0Fuel 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 — Van
  • Base.PickUpTruck — Pickup truck
  • Base.SportsCar — Sports car
  • Base.StepVan — Step van
  • Base.OffRoad — Off-road vehicle

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

On this page