Project Zomboid admin commands — godmode, additem, addxp, teleport, spawn vehicles and hordes, weather and server control — typed in chat when you're admin, plus the -debug mode for single-player. Search, copy, paste.
Become admin: if you host or run the server you're admin by default. To promote someone, run /setaccesslevel "user" admin (or /grantadmin "user") from the server console or as an existing admin.
Type commands in chat: press T to open chat, then type the command with a leading slash (e.g. /players). In the server console window, type the same commands without the slash.
See them all: /help lists every command; /help [command] shows one command's tooltip.
Single-player tools: add -debug to the launch options (Steam → Properties → General → Launch Options) for a debug toolbar with an item spawner and teleport — no server needed.
-debug launch option instead. And /godmode, /invisible and /noclip are toggles — run the command again to turn the effect off.Type to filter, hit Copy, paste in-game. 26 commands. Placeholders in [brackets] are values you fill in.
| Command | What it does | Category |
|---|---|---|
| /players | List all connected players. | Admin / Players |
| /setaccesslevel "[user]" [level] | Set a permission tier: admin, moderator, overseer, gm or observer. | Admin / Players |
| /grantadmin "[user]" | Grant full admin (/removeadmin to revoke). | Admin / Players |
| /kickuser "[user]" -r "[reason]" | Kick a player (reason optional). | Admin / Players |
| /banuser "[user]" -r "[reason]" | Ban a player by username (add -ip to also ban their IP). | Admin / Players |
| /banid [SteamID] | Ban by Steam ID (/unbanid to reverse). | Admin / Players |
| /godmode "[user]" | Make the player invincible (alias /godmod; omit the name for yourself). | Character (toggles) |
| /invisible "[user]" | Zombies ignore the player. | Character (toggles) |
| /noclip "[user]" | Walk through walls. | Character (toggles) |
| /additem "[user]" "[module.item]" [count] | Spawn an item into a player's inventory — e.g. /additem "Bob" "Base.Axe" 1. | Items / XP |
| /addxp "[user]" [perk]=[amount] | Grant skill XP — e.g. /addxp "Bob" Woodwork=2 (max level 10). | Items / XP |
| /addvehicle "[type]" "[user]" | Spawn a vehicle — e.g. /addvehicle "Base.VanAmbulance" "Bob". | Items / XP |
| /teleport "[toUser]" | Teleport yourself to a player. | Teleport |
| /teleport "[user]" "[toUser]" | Teleport one player to another. | Teleport |
| /teleportto [x],[y],[z] | Teleport yourself to map coordinates. | Teleport |
| /createhorde [count] | Spawn a horde of zombies near you. | World / Events |
| /removezombies | Remove zombies in the area. | World / Events |
| /startrain | Start rain (/stoprain to stop). | World / Events |
| /startstorm | Start a thunderstorm (/stopstorm to stop). | World / Events |
| /gunshot | Fire a gunshot sound near a random player (draws zombies). | World / Events |
| /chopper | Trigger the helicopter event on a random player. | World / Events |
| /save | Force-save the world. | Server |
| /quit | Save and shut down the server. | Server |
| /servermsg "[message]" | Broadcast a message to all players. | Server |
| /changeoption [option] "[value]" | Change a server setting live. | Server |
| /help | List all commands (/help [command] for one). | Server |
/setaccesslevel "username" admin or /grantadmin "username" from the server console./additem "username" "module.item" [count] — e.g. /additem "Bob" "Base.Axe" 1. Leave the username out to spawn it on yourself. In single-player, use the -debug item spawner instead./godmode "username" (the alias /godmod also works) toggles invincibility — run it once to enable, again to disable. Drop the username to godmode yourself.Console open? Here's the rest of the toolkit.