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.
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 |
A code here did not work? Tell us and it gets rechecked. Report a code
How to enter cheats in Project Zomboid
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.
How to enable developer mode in Project Zomboid
- In your Steam Library, right-click Project Zomboid and choose Properties.
- On the General tab, scroll to Launch Options and type -debug.
- Launch the game and start or load a single-player save.
Can you use these cheats in multiplayer?
Only with an access level on that server. XGamingServer says the first console password set on a new server becomes the built-in admin account, and the admin hands out levels with /setaccesslevel. IONOS adds that many public servers keep cheats to admins for fairness. XGAMINGSERVER: Project Zomboid server admin commands
Compatibility notes
Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.
- Build 41 and Build 42 XGamingServer says Build 41 is the stable Steam branch and Build 42 has been on the opt-in unstable branch since December 2024, and that the admin commands and access levels are the same on both. XGAMINGSERVER: Project Zomboid server admin commands
- /addxp syntax The sources print /addxp differently: BisectHosting gives /addxp "rj" Woodwork=2, XGamingServer gives /addxp Bob Perks.Strength 200. Run /help addxp on your own game to see the form it expects. XGAMINGSERVER: Project Zomboid server admin commands
- /godmode spelling XGamingServer says it verified /godmode, but notes that some lists print /godmod and suggests checking with /help in-game. XGAMINGSERVER: Project Zomboid server admin commands
- Server console XGamingServer says commands typed into the server's own console window or over RCON go in without the leading /, unlike in-game chat. XGAMINGSERVER: Project Zomboid server admin commands
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.
