Project Zomboid / Admin commands / /godmodeplayer
/godmodeplayer
God mode for another player. The game's help: Make a player invincible. Use: /godmodeplayer "username" -value, ex /godmodeplayer "rj" -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
/godmodeplayer- Also works as
/godmodplayer- Who can use it
- gm and above
- Capability
ToggleGodModEveryone- Single player
- No, it needs a server
What you type
/godmodeplayer "username" [-true|-false]
Leave out -true or -false and it switches to the other state.
Examples
/godmodeplayer "rj" -truegod mode for rj
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
- Wrong arguments!
- 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 |
|---|---|---|---|---|---|---|---|
ToggleGodModEveryone | 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 /godmode /noclip /invisible /invisibleplayer /addxp