How to change the game mode — the /gamemode command

Generator /gamemode

Change game mode — adjust the parameters and copy the finished result

The /gamemode command changes the game mode. You can change another player’s mode by specifying their nick.

Game mode

Change mode for whom

The nearest player to the point where the command runs

Generated command

>/gamemode survival @p

Paste it into the Minecraft chat (the T key) or a command block

Game modes

Minecraft has 4 modes: Survival (survival) — the standard game, Creative (creative) — unlimited resources, Adventure (adventure) — you cannot break blocks without the right tool, Spectator (spectator) — invisible flight through blocks.

Quick switching

For quick switching you can use numbers: /gamemode 0 (survival), /gamemode 1 (creative), /gamemode 2 (adventure), /gamemode 3 (spectator). Works in Java Edition.

Creative mode

In creative mode all blocks and items are available, with infinite health, flight (double-tap space) and instant block breaking. Ideal for building and testing.

Spectator mode

In spectator mode you can fly through blocks, view through the eyes of mobs (left-click on a mob), and you are invisible to other players. Useful for inspecting builds from the inside and finding caves.

10% off with promo code

Looking for Minecraft server hosting?

Launch your server in a minute — one-click mod and plugin installation, DDoS protection, powerful hardware. Promo code PROMO10 gives 10% off any plan.

PROMO10
Copy
View plans