MCTOOLBOX
MC ToolboxMC TOOLBOX

Gamemode Command Generator

Switch between survival, creative, adventure and spectator with a copy-ready /gamemode command.

Game Mode

Target (Optional)

Leave empty to change your own game mode.

Generated Command

/gamemode creative

⚠️ Java 1.13+ requires full mode names: /gamemode 1 or /gamemode c no longer work.

Gamemode Commands Made Simple

The /gamemode command switches a player between survival, creative, adventure and spectator. This generator builds the correct syntax for your edition and target, so you never mix up the argument order again , copy the command and paste it into chat.

Java vs Bedrock syntax

Java Edition (1.13+) only accepts full mode names such as creative or survival. Bedrock also accepts numbers (0, 1, 2) and one-letter shortcuts (c, s, a, d), and adds a default mode. Spectator is written as spectator in both editions. This generator switches the output for you.

Target selectors

Without a target, the command changes the mode of the player who runs it. Use @p for the nearest player, @s for yourself, @r for a random player, or @a for every player at once , handy on servers, but careful: @a changes everyone.

The F3 + F4 switcher

Java Edition has a built-in switcher: hold F3 and press F4 to cycle through modes, then release F3 to confirm. Since 1.21.6 the switcher talks to the server directly, and in 26.2 the world host also changes the default gamemode.

Default gamemode

To set the mode for players who join later, use /defaultgamemode , for example /defaultgamemode survival. Existing players are not affected.

Common /gamemode Questions

How do I change my own game mode?

Run /gamemode <mode> with no target , for example /gamemode creative. On Java Edition you need operator permission (permission level 2); on Bedrock, cheats must be enabled.

Why is my gamemode command not working?

Usually because you are using old abbreviations such as /gamemode 1 or /gamemode c, which stopped working in Java 1.13. Also check that you are an operator (Java) or that cheats are on (Bedrock).

How do I change another player's game mode?

Add the player's name or a selector after the mode: /gamemode adventure Steve changes Steve's mode. Use @a to change everyone at once.

Does changing game mode reset my inventory?

No. Switching between survival, creative and adventure keeps your inventory. Spectator hides it, and it comes back when you return to another mode.

Is there a quick way to switch modes in-game?

On Java Edition press F3 + F4 to open the game mode switcher, then press F4 to cycle and release F3 to confirm. Bedrock has no switcher , use the command or the pause menu settings.