NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

Project Zomboid admin commands that work

Project ZomboidUpdated Oct 18, 20264 min read

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

  1. Open the Console tab. The server must be running.
  2. Click the box Type a command, type the command, and press Enter.
  3. 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

CommandWhat it does (the game's help)
helpLists every server command. Type it to see the full list for your build.
playersList all connected players.
saveSave the current world.
quitSave and quit the server. Use Stop in the panel for the same.
servermsg "My Message"Broadcast a message to all connected players.
showoptionsShow the list of current server options and values.
reloadoptionsReload server options and send to clients.
checkModsNeedUpdateIndicates whether a mod has been updated. Writes answer to log file.

Commands for players

CommandWhat 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 SteamIDBan or unban a Steam ID.
banip IP and unbanip IPBan 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" -trueBlock 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

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS