Home/ Guides/ Project Zomboid Commands
🧟 Project Zomboid · Commands

Project Zomboid Admin Commands

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.

Verified vs. the PZ wiki + host docs · Build 41/42 · June 2026
Open the console
Admin on a server? Press T and type slash-commands like /godmode, /additem, /teleport.
Full command list ↓ — 26 commands, searchable, one-tap copy.
🔛

How to Use Admin Commands in Project Zomboid

1

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.

2

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.

3

See them all: /help lists every command; /help [command] shows one command's tooltip.

4

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.

These are admin-only multiplayer commands — solo play has no chat console, so single-player cheating goes through the -debug launch option instead. And /godmode, /invisible and /noclip are toggles — run the command again to turn the effect off.
⌨️

Project Zomboid Command List

Type to filter, hit Copy, paste in-game. 26 commands. Placeholders in [brackets] are values you fill in.

CommandWhat it doesCategory
/playersList 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
/removezombiesRemove zombies in the area.World / Events
/startrainStart rain (/stoprain to stop).World / Events
/startstormStart a thunderstorm (/stopstorm to stop).World / Events
/gunshotFire a gunshot sound near a random player (draws zombies).World / Events
/chopperTrigger the helicopter event on a random player.World / Events
/saveForce-save the world.Server
/quitSave and shut down the server.Server
/servermsg "[message]"Broadcast a message to all players.Server
/changeoption [option] "[value]"Change a server setting live.Server
/helpList all commands (/help [command] for one).Server

Project Zomboid Commands FAQ

How do you become admin in Project Zomboid?
If you host the game or run the dedicated server you're admin automatically. To make another player admin, run /setaccesslevel "username" admin or /grantadmin "username" from the server console.
What's the spawn item command in Project Zomboid?
/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.
What's the godmode command in Project Zomboid?
/godmode "username" (the alias /godmod also works) toggles invincibility — run it once to enable, again to disable. Drop the username to godmode yourself.

More from GamesOMG

Console open? Here's the rest of the toolkit.