Skip to content
/SLASHPLAY

How to give a player god mode in Project Zomboid

Type godmodeplayer "username" -true in the Console tab, or the same with a slash in game chat.

godmodeplayer

Makes another player invincible, or turns it off with -false.

/godmodeplayer "<username>" -true|-false

Examples

/godmodeplayer "rj" -true

Makes rj invincible.

Arguments

usernameRequired
The player.
-true|-falseOptional
-true on, -false off.

What it does

God mode for someone else, for example during an event.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
  • godmodplayer is the same command.

Run it on your server

Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.

Your own
Project Zomboid server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.