PACKYARDStart your server

Project Zomboid admin commands

Last checked:

On a Project Zomboid server, admin commands are typed in chat with a slash (/save), or in the server console without one (save). Your account needs a high enough access level to use them in chat. This list is for Build 42. Commands have changed between builds, so type /help on your own server to see the exact set it accepts.

Start a Project Zomboid server

How to make someone admin

Player commands

CommandWhat it does
/playersLists connected players
/kickuser "name" -r "reason"Kicks a player (the reason is optional)
/banuser "name" -ip -r "reason"Bans a player, optionally by IP
/unbanuser "name"Lifts a ban
/adduser "name" "password"Creates a whitelisted account
/removeuserfromwhitelist "name"Removes an account from the whitelist
/setpassword "name" "newpassword"Resets an account's password
/teleport "name" / /teleport "name" "target"Teleports you to a player, or one player to another
/teleportto x,y,zTeleports you to map coordinates

Cheat-style commands (admin only)

CommandWhat it does
/godmod "name" -trueMakes a player invulnerable (-false turns it off)
/invisible "name" -trueZombies ignore the player
/noclip "name" -trueWalk through walls
/additem "name" Base.Axe 1Gives items (module.item and count)
/addxp "name" Woodwork=500Adds skill experience

World events

CommandWhat it does
/createhorde 50 "name"Spawns a horde near a player
/chopperStarts the helicopter event
/gunshotPlays a gunshot near a random player
/startrain [intensity] / /stoprainStarts or stops rain
/startstorm [hours]Starts a storm

Server commands

CommandWhat it does
saveSaves the world
quitSaves and stops the server
/servermsg "text"Sends a message to every player
/showoptionsLists the server options
/changeoption Option "value"Changes one option
/reloadoptionsReloads the server settings file

Tip: run save before any restart.

Debug mode is for single-player

The debug menu (start the game with -debug) is a single-player testing tool. On a multiplayer server, use access levels and the commands above.

Run a Build 42 server that stays online

A Packyard Project Zomboid server is a password-protected Build 42 server for PC on Steam, on the same panel and backups as our Minecraft servers. From the panel console you can type server commands without the slash, so you can save, check players or change your access level without being in the game. Players join a permanent address with a name and port that stays the same, and there's no port forwarding on your side. The first start takes 30 to 60 minutes because the game files download. Servers run in Seattle (US West).

See Project Zomboid hosting or how to make a Project Zomboid server.

FAQ

Why does my command say I don't have permission?

Your account's access level is too low. Have an admin, or the server console, run setaccesslevel "YourName" admin, then rejoin.

Do I type the slash?

In chat, yes. In the server console, no.

Which build does Packyard run?

Build 42.

Can console players join?

No, PC only.

Start a Project Zomboid server

Also see: Project Zomboid hosting, How to make a Project Zomboid server. Back to Packyard home.

Project Zomboid belongs to The Indie Stone. Packyard is not affiliated with them.