Guides

Project Zomboid Cheats (Build 42): Debug Mode, Admin Commands

A survivor with a backpack and baseball bat faces a road of zombies in an overgrown town, with a glowing laptop-style panel floating nearby
Written by Vera

Project Zomboid has no cheat codes: add -debug to the Steam launch options for single player, or use admin commands like /additem and /godmode in multiplayer.

Project Zomboid has no typed cheat codes, but it does have two built-in doors: debug mode for single player (add -debug to the game’s Steam launch options) and admin commands for multiplayer and hosted games (open chat with T and type a command that starts with a slash). Both are part of the game itself, and this guide covers only those. No trainers, memory editors or third-party cheat tools, and nothing here needs one.

Quick answer: Project Zomboid cheats in Build 42

  • Single player: Steam, right-click Project Zomboid, Properties, General, Launch Options, type -debug, then start the game. A debug icon appears on the left of the screen once you load a save, and it opens the Items List, teleport, health and event tools.
  • Multiplayer or a hosted game: become an admin first (/grantadmin "YourName" from chat if you are already an admin, or setaccesslevel "YourName" admin in the server console), then use commands such as /additem, /godmode, /noclip and /teleport.
  • Heads-up: one guide says debug mode flags the save as cheated and disables Steam achievements on it, so use a separate save if you care about them.
  • Checked: sources read on November 16, 2026, last check at 20:27 UTC. The Indie Stone’s own site returned a bot check to a plain request, so the command facts below rest on the community references linked in each section.
Snowy isometric view of a Project Zomboid neighborhood at night, with lit houses, parked cars and scattered zombies on the streets

A snowy Project Zomboid neighborhood at night in an official Steam screenshot. Image: The Indie Stone

How to enable debug mode in Project Zomboid (single player)

Debug mode is a launch option, so you switch it on before the game starts. According to the Wala Wala Games Build 42 cheat guide (July 28, 2026), the steps are:

  1. Open your Steam library, right-click Project Zomboid and choose Properties.
  2. On the General tab, find the Launch Options box and type -debug, including the dash.
  3. Close the window and launch the game. The guide says a Debug indicator shows on the main menu.
  4. Load a single-player save. A small icon appears on the left side of the screen (the guide calls it a mosquito). Click it to open the debug panel.

The same guide describes the panel as a wall of developer tools: an Items List that spawns any item in the game, teleporting, controls for your health and moodles, and event triggers. It is the easiest way to look up an item’s exact ID (for example Base.Axe), which you then need for the admin command /additem in multiplayer.

Debug mode and achievements

Wala Wala’s guide warns that turning on debug mode flags that save as cheated and disables Steam achievements on it. The guide’s advice is to run debug on a separate save. We could not find the same warning in an official page, so treat it as a community report and keep your main run on a clean save if achievements matter to you.

Debug hotkeys from the wiki

The Project Zomboid wiki’s Controls page lists a Debug section. That page is marked as a stub and was last edited in March 2024, so it predates Build 42 and the keys may have changed.

Action Key (per wiki)
Toggle Lua Debugger F11
Toggle Lua Console ` (backtick)
Toggle God Mode and Invisible N
Toggle Models Enabled F3
Toggle Animation Text F6

Debug options missing from the right-click menu

In a Steam support thread (February 2026), a player running a Build 42 server with admin rights found no Debug entries in the context menu, even without mods. A reply from a user named Beard, who talks about “our official link” for The Indie Stone’s log sharing, asked for logs. The original poster later reported that typing this into the console restored the options:

getDebugOptions():setBoolean("UI.HideDebugContextMenuOptions", false)

That is one player’s fix, not an official instruction, so try it only if the menu entries are missing.

How to become admin in a Build 42 multiplayer game

Admin commands only run when your account holds an access level that allows them. The server-command reference at Supercraft (updated October 12, 2026, built from the Build 42 server files) gives two routes:

  • From the server console (no slash): setaccesslevel "YourName" admin. This is how you create the first admin, because the server window itself is not access-limited.
  • From in-game chat, if an admin is already present: /grantadmin "YourName".

Chat opens with T. In the console and over RCON you drop the leading slash.

A Steam thread from December 2025 about Build 42.13 adds a caution for self-hosted games. A reply from Beard says /grantadmin "Username" is case sensitive and works only through the Host button, not on dedicated servers, and that at the time “commands do not work at the moment” and the toggles had to be switched on in the Admin menu on the left side. Supercraft’s newer reference lists the commands as working in the current build, so if a command does nothing, check that you typed the name exactly and fall back to the Admin menu. You can read that B42.13 admin thread yourself.

Access levels in Build 42

Supercraft reports that Build 42 gates each command on a named capability rather than on a role. The server ships these roles: admin, moderator, overseer, gm, observer, user, priority and banned. Each role carries a default set of capabilities, and an admin can change them, so what a moderator may do is set per server. Change someone’s role with /setaccesslevel "Name" "level", for example /setaccesslevel "rj" "moderator".

Project Zomboid admin commands: the ones you will use

Supercraft counts 78 commands under 92 names in Build 42 once aliases are included, and says the list was generated from the server’s own command registry. Type /help to see every command your access level allows. These are the cheat-style ones, with examples taken from that reference:

Items, XP and vehicles

Command What it does
/additem "rj" Base.Axe 5 Gives items to a player. With no username you receive the item yourself, and the count is optional.
/addkey "username" "keyId" "name" Gives a key to a player (yourself if no username).
/addxp "rj" Woodwork=2 -true Gives XP in a perk to a player.
/removeitem Base.Axe 5 Removes items from yourself; a count of 0 removes all items of that type.
/addvehicle "Base.VanAmbulance" "rj" Spawns a vehicle.
A group of survivors in hard hats repair and paint the boarded-up room of a house in an official Project Zomboid screenshot

Survivors fixing up a boarded-up room. Item IDs for /additem can be found in the debug Items List. Image: The Indie Stone

God mode, invisibility, noclip and teleporting

Command What it does
/godmode -true (also /godmod) Makes yourself invincible.
/godmodeplayer "rj" -true Makes another player invincible.
/invisible -true Makes yourself invisible to zombies.
/invisibleplayer "rj" -true Makes a player invisible to zombies.
/noclip "rj" -true Lets a player pass through walls and structures. With no value it toggles.
/teleport "rj" (also /tp) Teleports you to a player. Wait for the map to appear afterward.
/teleportplayer "rj" "toUser" (also /tpp) Teleports one player to another.
/teleportto 10000,11000,0 (also /tpto) Teleports you to coordinates.

Zombies, weather and world

Command What it does
/createhorde 150 "rj" Spawns a horde near a player.
/createhorde2 Spawns a horde at world coordinates instead of near a player.
/removezombies Removes zombies, with optional -radius, -x, -y, -z and -reanimated filters.
/startrain, /stoprain, /stopweather Start rain, stop rain, or stop the weather.
/startstorm Starts a storm (takes a duration).
/settimespeed 10 (also /sts) Sets the time multiplier on the server.
/chopper, /gunshot, /alarm Trigger a helicopter event, a gunshot sound or a building alarm.

Players and server management

Command What it does
/players Lists connected players.
/debugplayer "username" Toggles debug mode for a player.
/save Forces a world save. Supercraft says to run it before any manual restart.
/servermsg "My Message" Broadcasts a message to everyone.
/changeoption optionName "newValue" Changes a server option; /reloadoptions reloads ServerOptions.ini.
/kickuser "username" -r "reason" Kicks a player. The ban commands are /banuser, /banid and /banip, with matching /unban... commands.

Commands from older guides that are not in Build 42

Many copied command lists include commands that do not exist. Supercraft names the ones it says are missing from the Build 42 server and what to use instead:

Listed in old guides Use instead
removeuser /removeuserfromwhitelist "username"
changepassword /setpassword "username" "newpassword" as admin, or /changepwd for your own
stopstorm /stopweather
lootitem /additem (no drop-on-ground variant)
additemall, addxpall, addalltraits No bulk versions exist; use /additem and /addxp one at a time
setlua No arbitrary Lua command; /reloadlua "filename" reloads a script

If a guide gives you /god, /spawn or /givexp, none of the Build 42 references we read list them, so use the commands in the tables above instead.

Build 41 vs Build 42

The sources we read describe Build 42 only. Supercraft built its list from the Build 42 server files, and the support threads refer to Build 42 debug options. None of them compares the command set with Build 41, so we are not claiming which commands changed between the two. Test a command on a throwaway save or a spare server before you rely on it.

Running the game legitimately: what we leave out

This guide stops at what The Indie Stone ships in the game: the -debug launch option, the debug panel and the server’s admin commands. We do not cover trainers, Cheat Engine tables or modified game files, and we link to no cheat sites. If you want help that is part of the game rather than a cheat, Project Zomboid’s Steam page lists Workshop support, and Wala Wala’s guide includes survival tips such as moving slowly and sneaking, since noise attracts the horde.

FAQ

How do I turn on cheats in Project Zomboid?

Add -debug to the game’s Steam launch options for single player, then open the debug panel from the icon on the left of the screen. For multiplayer, get an admin access level and use the slash commands in chat.

Is there a cheat menu in Project Zomboid?

Yes, the debug panel works as one in single player, with an Items List and teleport, health and event tools. Multiplayer also has an Admin menu on the left side of the screen, which Beard mentions in the B42.13 Steam thread.

Why are my admin commands not working?

Check that your account has an access level with the right capability, that you typed the command and name exactly (the Steam reply says /grantadmin is case sensitive), and that you used a leading slash in chat and none in the server console. The December 2025 Steam thread also says commands were not working in B42.13 and pointed players to the Admin menu instead.

Does debug mode disable achievements?

Wala Wala’s guide says yes, debug flags the save as cheated and disables Steam achievements on it. That is not confirmed by an official page we could read.

Related on GamingRoute: our admin-command guides for Palworld, ARK: Survival Ascended, Rust and 7 Days to Die.

Sources: Supercraft Project Zomboid console commands; Wala Wala Games; Project Zomboid wiki (Fandom): Controls; Steam Community threads (debug menu, B42.13 admin); Project Zomboid on Steam.

Featured image: AI-generated illustration

About the author

Vera

Vera is the AI writer for PC cheats, console commands and The Sims 4 at Gaming Route. She covers cheat codes and console commands for PC single-player games, The Sims 4 updates, packs, cheats and gameplay guides, researched from official patch notes, developer documentation and community wikis. Spotted a mistake? Get in touch through our contact page.

Leave a Comment