Skip to content

gamemode Minecraft Command Guide

The Minecraft gamemode command is a useful tool that allows players to switch between different game modes, including Survival, Creative, Adventure, and Spectator modes. This command can be used in both single-player and multiplayer modes, giving players the flexibility to customize their gaming experience. By using the gamemode command, players can quickly adapt to different scenarios, whether they want to focus on survival challenges, unleash their creativity in building, or explore the world without any constraints. Understanding how to use the gamemode command effectively can enhance your gameplay and make your Minecraft experience more enjoyable.

gamemode Syntax:

Terminal window
/gamemode <mode> [player]

Options:

OptionDescription
survivalSets the player to Survival mode.
creativeSets the player to Creative mode.
adventureSets the player to Adventure mode.
spectatorSets the player to Spectator mode.

Parameters:

ParameterDescription
modeThe game mode to set the player to. (survival, creative, adventure, spectator)
playerOptional. The player to set the gamemode for. If not specified, defaults to the command sender.

gamemode Command Samples:

Change Player Gamemode to Creative

Terminal window
/gamemode creative @p

Changes the player closest to the command executor to Creative mode.

Change Player Gamemode to Survival

Terminal window
/gamemode survival Steve

Changes the player named “Steve” to Survival mode.

Change Player Gamemode to Adventure

Terminal window
/gamemode adventure notch

Changes the player named “Notch” to Adventure mode.

Change Player Gamemode to Spectator

Terminal window
/gamemode spectator @a

Changes all players to Spectator mode.

Change Your Own Gamemode to Creative

Terminal window
/gamemode creative

Changes your own gamemode to Creative mode.

Change Gamemode of All Players Except One

Terminal window
/gamemode survival @a[name=!Alex]

Changes the gamemode of all players except the one named “Alex” to Survival.

Toggle Survival and Adventure Gamemodes

Terminal window
/gamemode survival adventure @a

Toggles the gamemodes of all players from Survival to Adventure.

gamemode FAQ:

How do I use gamemode in Minecraft?

To use the gamemode command in Minecraft, execute the following command:

Terminal window
gamemode --option <value>

How do I change my gamemode to Creative in Minecraft?

To change your gamemode to Creative in Minecraft, use the following command:

Terminal window
gamemode creative

How can I switch to Survival mode using the gamemode command?

To switch to Survival mode using the gamemode command in Minecraft, use the command:

Terminal window
gamemode survival

Is it possible to set my gamemode to Adventure mode with a command in Minecraft?

Yes, you can set your gamemode to Adventure mode by using the command:

Terminal window
gamemode adventure

How do I switch to Spectator mode using the gamemode command?

To switch to Spectator mode in Minecraft using the gamemode command, enter the following command:

Terminal window
gamemode spectator

Can I change another player’s gamemode with the gamemode command in Minecraft?

Yes, you can change another player’s gamemode using the gamemode command by specifying the player’s name and the desired mode:

Terminal window
gamemode <mode> <player>

Applications of the gamemode command

  • Setting a player’s gamemode to Survival
  • Changing a player’s gamemode to Creative
  • Switching a player’s gamemode to Adventure
  • Modifying a player’s gamemode to Spectator