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.
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.
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 Files tab.
Find the server.properties file, and click its name to edit it
Modify the gamemode field to your desired value
Save the file, then restart your server
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 |
---|---|---|
|
| Changes the gamemode of the command sender. If you're running this command through console, it won't work. |
|
| Changes the gamemode of the specified player. You can change in-game player's gamemodes through console using this command. |
Game Experience Engineer