Inside Project Zomboid servers, players are immersed in a unique zombie survival experience. With a vast world to explore, filled with undead and other dangers, there is always something new to discover. However, with such dangers, it can sometimes be difficult to get certain resources or reach certain areas, leaving players feeling stuck. Thankfully, there is a way to still advance and that’s through the use of Project Zomboid admin commands.
Project Zomboid commands allow you to manage players, spawn items, get XP, and control the game. Using these commands, you can ensure a great experience for everyone playing on your server. In this guide, we’ll show you how to enable and use Project Zomboid admin commands on your Project Zomboid game server to create the best multiplayer experience!
When it comes to using Project Zomboid admin commands, you’ll need to acquire admin access first. To do this, follow our guide on becoming a Project Zomboid admin. Afterward, you’ll be ready to start using commands to manage your server.

In many situations, the admin password can be dangerous since it provides players with access to all commands. Instead, you can give a player a more limited role on the server through Project Zomboid admin commands. The command you’ll need to use is “/setaccesslevel <player> <role>”.
The levels on a standard server are user, priority, observer, gm, moderator, and admin. Type them in lowercase exactly as shown, since the game treats them as case-sensitive. A player can only assign levels below their own, so an admin can promote a moderator, but not the other way around.
Build 42 rebuilt server roles as permission sets. Each role bundles individual permissions, and staff with the right access can view and edit those permissions through the Roles List in the in-game Admin Panel. The built-in roles are:
user: The standard player level with no staff permissions. Set a player back to user to remove any staff access they had.priority: A standard player with login priority. They can join even when the server is full and are not kicked for lag.observer: The first staff level. Observers can teleport, toggle god mode, invisibility, and noclip for themselves, open locked doors, enter safehouses, and view player stats. They cannot spawn items or XP.gm: Everything an observer can do, plus spawning items and XP, starting and stopping rain, triggering events such as alarms and gunshots, and toggling god mode, invisibility, and noclip for other players.moderator: Almost every permission, including kicking and banning players, managing the whitelist, setting up safehouses, and changing other players’ levels. Moderators cannot edit roles, reload lua files, or change server options.admin: Every permission on the server.The overseer level from earlier builds is no longer a built-in role. Accounts that held it are treated as gm by default.
| Command | Description |
|---|---|
/additem <player> <item> <amount> |
Gives an item to the specified player. Leave out the player name to give the item to yourself. |
/addkey <player> <keyId> <name> |
Gives a key to the specified player. Leave out the player name to receive the key yourself. |
/addvehicle <vehicle> [player|coordinates] |
Spawns in a vehicle to your server. |
/addxp <player> <perk>=<level> |
Increases a player’s experience in a particular perk on the server. |
/createhorde <amount> <player> |
Summons a zombie horde near the specified player. In-game, the player name is optional; without it, the horde spawns around you. |
/godmode [player] [-true|-false] |
Enables/disables god mode for yourself or another player. Add -true or -false to set the state directly. |
/godmodeplayer <player> [-true|-false] |
Makes the specified player invincible. |
/invisible [player] [-true|-false] |
Makes yourself or another player invisible to zombies. Add -true or -false to set the state directly. |
/invisibleplayer <player> [-true|-false] |
Makes the specified player invisible to zombies. |
/noclip [player] [-true|-false] |
Enables/disables noclip for yourself or another player. Add -true or -false to set the state directly. |
/removeitem <item> <amount> |
Removes items of the given type from your own inventory. Set the amount to 0 to remove all of them. |
/startrain [intensity] & /stoprain |
Starts and stops rain in the world. The optional intensity runs from 1 to 100. |
/startstorm [duration] |
Starts a storm on the server. The optional duration is in in-game hours. |
/stopweather |
Stops the current weather on the server. |
/teleport <player> |
Teleports you to the specified player. Name two players instead to teleport the first to the second. |
/teleportplayer <player1> <player2> |
Teleports one player to another player. |
/teleportto <x,y,z> |
Teleports you to the specified coordinates. |
| Command | Description |
|---|---|
/setaccesslevel <player> <role> |
Sets a player to a specific server level, from “user” up to “admin”. Set a player back to “user” to remove their staff access. |
/adduser <player> <password> |
Add a new player to your Project Zomboid server whitelist. |
/addsteamid <SteamID> |
Adds a SteamID to the server’s list of allowed SteamIDs. |
/removesteamid <SteamID> |
Removes a SteamID from the server’s list of allowed SteamIDs. |
/removeuserfromwhitelist <player> |
Removes a player from your server whitelist. |
/setpassword <player> <newpassword> |
Changes the password for a player’s account on the server. |
/voiceban <player> [-true|-false] |
Bans a player from being able to use voice in-game. Add -true or -false to set the state directly. |
/banid <SteamID> |
Bans a user from your server using their SteamID. |
/banip <IP> |
Bans an IP address from your server. |
/banuser <player> [-ip] [-r <reason>] |
Bans a user from your server by username. Add -ip to ban their IP address as well, and -r <reason> to record a reason. |
/unbanid <SteamID> |
Unbans a player from your server using their SteamID. |
/unbanip <IP> |
Unbans an IP address from your server. |
/unbanuser <player> |
Unbans a player from your server using their username. |
/kickuser <player> [-r <reason>] |
Kicks a user with a reason if specified. |
/players |
List all currently joined server players. |
| Command | Description |
|---|---|
/changeoption <option> <value> |
Changes the specified server option to the value you set. |
/showoptions |
Displays all server options that you can edit with the above command. |
/reloadlua <filename> |
Reloads the specified lua script. |
/reloadalllua |
Reloads all lua scripts on the server. |
/reloadoptions |
Reloads your server options and sends them out to connected players. |
/checkModsNeedUpdate |
Checks whether any of the server’s mods have updates, and writes the answer to the log file. |
/log <type> <level> |
Sets the logging level for a server subsystem, such as Network or Mod. |
/stats <none|file|console|all> <period> |
Controls where the server writes performance statistics and how often. |
/save |
Saves your current Project Zomboid world. |
/servermsg <message> |
Broadcasts a message to all players on the server. |
| Command | Description |
|---|---|
/alarm |
Sounds a building’s alarm at your position. You must be inside a room. |
/chopper |
Places a helicopter event on a random player. |
/gunshot |
Places a gunshot sound on a random player. |
/lightning [player] |
Triggers a lightning strike on the specified player. The username is optional in-game, but required from the server console. |
/thunder [player] |
Triggers a thunder event on the specified player. The username is optional in-game, but required when running the command from the server console. |
/removemapsymbolsforuser <player> |
Removes all shared in-game map symbols for the specified player. |
/releasesafehouse |
Releases a safe house that you own. |
/help [command] |
List all commands on your server. Add a command name to see help for that specific command. |
/quit |
Save and shut down the Project Zomboid server. |
You now have the full command list to manage players, control the world around you, and run your Project Zomboid server exactly as you want it. Set the right access level for each player, then invite your friends to jump back in.
How to Get Admin on a Project Zomboid Server
Using Commands on Your Server
Adding Admins to Your Project Zomboid Game Server
- What Each Role Can Do
Project Zomboid Admin Commands List
- Project Zomboid Cheats
- Player Management Commands
- Server Editing Commands
- Additional Commands
Take Command of Your Server