# /godmode

God mode for yourself: nothing hurts you. The game's help: Make yourself invincible. Use: /godmode -value, ex /godmode -true (could be -false)

Source page: https://zomboiddb.com/commands/godmode/

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 -true` on
- `/godmode -false` off
- `/godmode` switches 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](https://zomboiddb.com/commands/?cmd=godmode#builder)

## 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](https://zomboiddb.com/access-levels/).

## More commands like this one

[/debugplayer](https://zomboiddb.com/commands/debugplayer/) [/teleport](https://zomboiddb.com/commands/teleport/) [/teleportplayer](https://zomboiddb.com/commands/teleportplayer/) [/teleportto](https://zomboiddb.com/commands/teleportto/) [/godmodeplayer](https://zomboiddb.com/commands/godmodeplayer/) [/noclip](https://zomboiddb.com/commands/noclip/) [/invisible](https://zomboiddb.com/commands/invisible/) [/invisibleplayer](https://zomboiddb.com/commands/invisibleplayer/) [/addxp](https://zomboiddb.com/commands/addxp/)
