ZomboidDB42.22 · unofficial

Project Zomboid / Admin commands / /addvehicle

/addvehicle

Spawns a vehicle next to a player or at coordinates. The game's help: Spawn a vehicle. Use: /addvehicle "script" "user or x,y,z", ex /addvehicle "Base.VanAmbulance" "rj"

From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.

Command
/addvehicle
Who can use it
moderator and above
Capability
ManipulateVehicle
Single player
No, it needs a server

What you type

/addvehicle vehicle

/addvehicle vehicle x,y,z

/addvehicle vehicle "username"

Give 0 as the z coordinate: the game refuses any other for vehicles.

Examples

rj is the name the game's own help uses. Put your player's name in its place.

Build this line with your own values

What the game answers

Which access levels can use it

Capabilitybanneduserpriorityobservergmmoderatoradmin
ManipulateVehicleyesyes

These are the roles the game makes for a new server. An admin can change them in the admin panel. What each level may do.

Spotted a mistake on this page, or have an idea for the site?