Changing your game mode allows you to switch between survival, creative, adventure, and spectator seamlessly. Whether you want to test builds or gather resources safely, using commands is the fastest method. For more details on using commands generally, check out our guide on how to use commands.
Using commands in standard Survival worlds will permanently disable achievements on Bedrock Edition for that world.
You can change other players' game modes by adding their username after the command, such as /gamemode creative PlayerName.
Enable Cheats in Your World
Before you can use game mode commands, cheats must be enabled in your world. If you created the world with cheats turned off, you can open your world to LAN via the pause menu and toggle 'Allow Cheats: ON' temporarily.
Open the In-Game Chat
Press the T key on Java Edition, tap the chat icon on Bedrock mobile devices, or press the right directional button on controllers to open the chat window. Read more about input keys in our guide on how to open and use chat.
Type the Game Mode Command
Type the correct command for the mode you want. For example, type /gamemode creative to switch to creative mode, or /gamemode survival to return to survival mode.
You can also use shorthand numbers if you prefer: 0 for survival, 1 for creative, 2 for adventure, and 3 for spectator (Java only).
Press Enter to Execute
Hit the Enter key, tap the submit button, or press your controller's confirm button to send the command. Your game mode will change instantly, and a confirmation message will appear in your chat window.
Frequently Asked Questions
Can I use /gamemode without cheats enabled?
No, cheats must be enabled in your world settings for any /gamemode command to work properly.
What are the available game mode options?
The standard options are survival, creative, adventure, and spectator (spectator mode requires Java Edition or specific experimental settings on Bedrock).










