These are commands of the Project Zomboid server itself, taken from the game's own help list. In the panel Console you type them without a slash. In the game's chat an admin types the same command with a slash. Names and passwords go in double quotes. The game answers in the Console.
How to type a command
- Open the Console tab. The server must be running.
- Click the box Type a command, type the command, and press Enter.
- Read the answer in the output.
Example: servermsg "The server restarts in 5 minutes". In game chat it is /servermsg "The server restarts in 5 minutes".
Commands for running the server
| Command | What it does (the game's help) |
|---|---|
help | Lists every server command. Type it to see the full list for your build. |
players | List all connected players. |
save | Save the current world. |
quit | Save and quit the server. Use Stop in the panel for the same. |
servermsg "My Message" | Broadcast a message to all connected players. |
showoptions | Show the list of current server options and values. |
reloadoptions | Reload server options and send to clients. |
checkModsNeedUpdate | Indicates whether a mod has been updated. Writes answer to log file. |
Commands for players
| Command | What it does |
|---|---|
adduser "username" "password" | Add a new user to a whitelisted server. The password is optional. |
removeuserfromwhitelist "username" | Remove a user from the whitelist. |
kickuser "username" -r "reason" | Kick a user. The reason is optional. |
banuser "username" -ip -r "reason" | Ban a user. -ip also bans the IP address, -r gives a reason. |
unbanuser "username" | Unban a player. |
banid SteamID and unbanid SteamID | Ban or unban a Steam ID. |
banip IP and unbanip IP | Ban or unban an IP address. |
setaccesslevel "username" "accesslevel" | Set the access level. Levels: Admin, Moderator, Overseer, GM, Observer. |
setpassword "username" "newpassword" | Change the password of a user. |
voiceban "username" -true | Block voice from a user. |
Most of these have a button on the Active players card: How to kick, ban and whitelist players on your Project Zomboid server.
Commands that need a player in game
Some commands act on the admin's own character or position, for example teleport, godmod, invisible and alarm. Type those in the game's chat as an admin, with a slash. Others, such as createhorde, lightning and thunder, take a player name when typed in the server Console. The game's help text for each says which.
Weather and world
startrain, stoprain, startstorm, stopweather and setTimeSpeed change the weather and the time speed. additem, addxp, addvehicle and changeoption give items, experience and vehicles and change an option. They change a running world, so back up before you use them: How to back up and restore your Project Zomboid world.
Good to know
- The command list is the game's. A new build can add or change commands, so type
helpfor yours. - The full list is also on the game's wiki page about admin commands: https://pzwiki.net/wiki/Admin_commands
- Commands that change settings, such as
changeoption, can be undone by the panel at the next start for the values it owns: Your Project Zomboid settings keep changing back. - How the Console works: How to use the Console on your Project Zomboid server.





