Project Zomboid / Admin commands / /godmode
/godmode
God mode for yourself: nothing hurts you. The game's help: Make yourself invincible. Use: /godmode -value, ex /godmode -true (could be -false)
From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.
- Command
/godmode- Also works as
/godmod- Who can use it
- observer and above
- Capability
ToggleGodModHimself- Single player
- No, it needs a server
What you type
/godmode [-true|-false]
Leave out -true or -false and it switches to the other state.
Examples
/godmode -trueon/godmode -falseoff/godmodeswitches it the other way
rj is the name the game's own help uses. Put your player's name in its place.
Build this line with your own values
What the game answers
- User ... is now invincible.
- User ... is no longer invincible.
- User ... not found.
Which access levels can use it
| Capability | banned | user | priority | observer | gm | moderator | admin |
|---|---|---|---|---|---|---|---|
ToggleGodModHimself | yes | yes | yes | yes |
These are the roles the game makes for a new server. An admin can change them in the admin panel. What each level may do.
More commands like this one
/debugplayer /teleport /teleportplayer /teleportto /godmodeplayer /noclip /invisible /invisibleplayer /addxp