
How to Change your Minecraft Gamemode
There are a handful of different gamemodes available when playing Minecraft. As a server owner, you can change what the default gamemode should be for your server, and you can also adjust your gamemode on the fly with commands.
#Available Gamemodes
-
Survival(Default) - In this mode, players have to gather all their materials to build, craft items and tools and gain experience points. Players also have a health and hunger bar that they have to manage, creating a true survival experience. -
Creative- The player has access to an infinite amount of almost all blocks and items available, and can destroy them instantly. Players are invulnerable and can also fly. -
Adventure- Players can interact with objects such as levers and buttons, and can interact with mobs. However, they can break blocks only with tools having aCanDestroydata tag, and place blocks only if the block they are holding has aCanPlaceOndata tag, making this mode good for adventure maps. -
Hardcore(Java Only) - In this mode, which plays in the same way as Survival mode, the difficulty level is permanently set to "Hard", and when the player dies, they are sent permanently into spectator mode. Enabling this for your players is a slightly different process, and a related article on how to do that can be found here. -
Spectator- When in spectator mode, players can clip through blocks, enter the perspective of other entities by left-clicking on them, and are invisible to all players and mobs except for other spectators. The player can't interact with blocks, entities or their inventory. When in third-person mode, they look like a transparent, floating head with no body. The player can use the scroll wheel to adjust the speed at which they are flying, unlike flying in Creative mode.
#Changing the Default Gamemode
By default, new players will be in survival mode when they join the server; however, you can change which gamemode will be applied in your server settings.
-
Access your server's Control Panel and navigate to the Config tab.
-
Click the
server.propertiesfile. -
Locate
Gamemodeand use the dropdown to change to your desired gamemode. -
Save the file, then Restart your server
#Changing Gamemode Using a Command
If you are a server operator, or you are running the command through console, you can change the gamemode of yourself or another player using one of the following commands:
| Command | Example | Description |
|---|---|---|
/gamemode <Type> | /gamemode Creative | Changes the gamemode of the command sender. If you're running this command through the console, it won't work. |
/gamemode <Type> [Player Name] | /gamemode Creative Kobe | Changes the gamemode of the specified player. You can change an in-game player's gamemodes through the console using this command. |