Project Zomboid Cheats: Console Commands for PC
- Single-player debug mode Add -debug to the game's Steam launch options, then click the ladybug icon that appears in-game.
- Server admin commands Press T or Enter to open chat and type a command starting with a slash.
Codes last checked on against the sources listed at the bottom of this page. Covers PC, in single-player debug mode and on a server you host or administer.
Published by Andrew B.
No cheats match that filter.
Debug mode
| Cheat | Command | Effect |
|---|---|---|
| Enable debug mode | PC-debug | Steam launch option that adds a ladybug icon with god mode, an item spawner and stat editing |
God mode and access
| Cheat | Command | Effect |
|---|---|---|
| God mode | PC/godmode | Toggle invincibility for yourself |
| Invisibility | PC/invisible | Toggle invisibility to zombies |
| No clip | PC/noclip "username" | Toggle walking through walls and structures |
Give and spawn
| Cheat | Command | Effect |
|---|---|---|
| Give item | PC/additem "username" "module.item" [count] | Give a player an item, e.g. Base.Axe |
| Spawn vehicle | PC/addvehicle "script" "x,y,z" | Spawn a vehicle at a location |
| Add skill XP | PC/addxp "username" perkname=xp | Add skill experience to a player |
| Spawn horde | PC/createhorde [count] "username" | Spawn a zombie horde near a player |
World control
| Cheat | Command | Effect |
|---|---|---|
| Teleport to player | PC/teleport "username" | Teleport yourself to a player |
| Teleport to coordinates | PC/teleportto x,y,z | Teleport yourself to a set of coordinates |
| Remove zombies | PC/removezombies | Remove every zombie in the loaded area |
| Start rain | PC/startrain [intensity] | Start rain, optionally 1-100 for intensity |
| Stop rain | PC/stoprain | Stop rain |
Server and access
| Cheat | Command | Effect |
|---|---|---|
| Set access level | PC/setaccesslevel "username" [level] | Set a player's access level, e.g. admin |
| Force save | PC/save | Force an immediate world save |
| Server message | PC/servermsg "message" | Broadcast a message to everyone connected |
How to enter cheats
Single-player debug mode
- Right-click Project Zomboid in your Steam library and open Properties.
- Add -debug to the launch options and start the game.
- Click the ladybug icon that appears on screen to open the debug panel.
Server admin commands
- Get admin access, which the host can grant with /setaccesslevel.
- Press T or Enter during a hosted game to open chat.
- Type an admin command starting with a slash, for example /godmode, and press Enter.
FAQ
How do you turn on cheats in Project Zomboid?
For single-player, add -debug to the game's Steam launch options and click the ladybug icon that appears. On a server, open chat with T or Enter and type an admin command starting with a slash.
What does the -debug launch option do?
It adds a ladybug icon to the screen that opens a debug panel with god mode, an item spawner and stat editing.
How do I get access to use admin commands?
You need admin access on the server, which the host can grant with /setaccesslevel.
Do Project Zomboid commands work in multiplayer?
Yes. The admin commands are meant for a server you host or administer yourself.
