/> />

How to Change your Minecraft Gamemode

Managing your Server

·

Dec 22, 2024

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 also have the ability to 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 a CanDestroy data tag, and place blocks only if the block they are holding has a CanPlaceOn data 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 you 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.

Step 1:

Access your server's control panel and navigate to the Files tab.

Shockbyte control panel showing

Step 2:

Find the server.properties file, and click its name to edit it

Shockbyte File Manager displaying the search result for

Step 3:

Modify the gamemode field to your desired value

Shockbyte server.properties file showing

Step 4:

Save the file, then restart your server

Shockbyte server.properties file being edited, showing


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:

CommandExampleDescription

/gamemode <Type>

/gamemode Creative

Changes the gamemode of the command sender. If you're running this command through console, it won't work.

/gamemode <Type> [Player Name]

/gamemode Creative Kobe

Changes the gamemode of the specified player. You can change in-game player's gamemodes through console using this command.

Minecraft gameplay screenshot at sunset with Creative Mode activated, showing the


Kobe Plane

Game Experience Engineer