> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.namehero.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Change Your Minecraft Game Mode

Minecraft servers offer five distinct game modes: Survival, Creative, Adventure, Hardcore, and Spectator. Each mode provides a unique gameplay experience:

1. **Survival**: Players must gather materials to build and craft items and tools. Managing health and hunger is crucial for a true survival experience.

2. **Creative**: Players have unlimited access to nearly all blocks and items, can destroy them instantly, are invulnerable, and can fly.

3. **Adventure**: This mode is ideal for adventure maps. Players can interact with objects like levers and buttons and with mobs. However, they can only break blocks with tools that have a CanDestroy data tag and place blocks if the block they are holding has a CanPlaceOn data tag.

4. **Hardcore**: Similar to Survival mode but with the difficulty locked on "Hard". Upon death, players are permanently sent to Spectator mode. Setting up Hardcore mode requires a specific process, detailed in a related article.

5. **Spectator**: Players can fly through blocks, view the world from the perspective of other entities by left-clicking on them, and are invisible to everyone except other spectators. They can't interact with blocks, entities, or their inventory. In third-person view, they appear as a transparent, floating head. The scroll wheel adjusts flying speed, offering more control than in Creative mode.

# Changing Your Game Mode In Server Settings

Please note that changing your game mode to 'Spectator' can only be done through commands and not via server settings.

**Step 1:** Go to your [NameHero Client Area](https://www.namehero.com/clientarea.php) and head over to the **Advanced Game Panel** by clicking the blue button as seen in the screenshot within the NameHero Client Area. Here you will be accessing the **Files** tab**.**

[![](https://storage.crisp.chat/users/helpdesk/website/7183760cc612d800/ffeea3df-f1b5-4192-b83a-8ad99d_19esw44.png)](https://downloads.intercomcdn.com/i/o/1068028509/888c972ad937c9bd71257f76/image.png?expires=1728570600&signature=b89924b5e30c1aa16d3237e19516f68fb51bb5806e3d04e6c5ead8434cdde6aa&req=dSAhHsl8lYRfUPMW1HO4zeomLG3LPGiAQXe8POg7AvEao8Zcfb5EcFQpyNWf%0APR267bJtFuyMRXiQ%2Fd4%3D%0A)

**Step 2:** Once you are in the files tab, scroll towards the bottom until you find the **server.properties** file. Click on this file to open it.

[![](https://storage.crisp.chat/users/helpdesk/website/24da615efc78ae00/a3c70297-f856-4f9b-902f-9e4a7b_ql1m5e.png)](https://downloads.intercomcdn.com/i/o/1138975539/9782dc8d3c0c76f1c0cda8e5/image.png?expires=1728570600&signature=640116d327305068989d4985a9d03e31783221ed56de640612122724e9059c50&req=dSEkHsB5mIRcUPMW1HO4zRB1Hil28vb5qJBMsASPt5IMVnruavrPkiexI5W6%0Ag57WFAvSR8ZKhpzVsUc%3D%0A)

**Step 3:** Scroll down until you find the **gamemode** field (line 20) and change this to your desired game mode.

[![](https://storage.crisp.chat/users/helpdesk/website/2c6c43f7105f4e00/f3102704-d5b2-49de-a3a1-c20ad0_vml1is.png)](https://downloads.intercomcdn.com/i/o/1069910785/1e8ba9f9b9c7d7dda0fa0303/image.png?expires=1728570600&signature=457e5dd5142d03501ad94c151037d81cb0f2dd2a3d4518d4029b0ed40f1e59ec&req=dSAhH8B%2FnYZXXPMW1HO4zX2XlV%2Bp6lYi6bzjCZxscjtVKyLNZwyOkV0t3igK%0AAu2OH%2B%2B%2B3jFF4kvC2IA%3D%0A)

**Step 4:** Restart your server and enjoy!

## **Changing Your Game Mode Via Command**

You can change your player’s game mode through both the server console and in-game chat.

**Console Command**

Ensure that the players whose game modes you want to change are currently logged into the server.

**gamemode [gamemode_type] [player_name]:** Alters the game mode for a specified player. For example: gamemode survival namehero

[![](https://storage.crisp.chat/users/helpdesk/website/16d0f6daf7dc6700/289e5794-5ef8-4366-bdce-aa9419_12i6sc9.png)](https://downloads.intercomcdn.com/i/o/1069928483/81889fe7e6e14e8fba6fabc9/image.png?expires=1728570600&signature=79df616a9da310e24a51f0539a27aa212aef86aac2cac685401969680dd705ff&req=dSAhH8B8lYVXWvMW1HO4zUqO4uOECSMEP6i3%2BRunfrwhgoQ%2BuV7YJuVuowYr%0AEE2uVg%2BAWiLL0OWTMU0%3D%0A)

**In-game**

Please note that only Server Operators (OP) can change the game mode in-game. If you're playing on Bedrock Edition, you must also enable cheats.

**/gamemode [gamemode_type]:** Changes the game mode for the player using the command.  
​ **/gamemode [gamemode_type] [player_name]:** Changes the game mode for the specified player.

**Not a NameHero customer yet?** Elevate your gaming experience with one of our gaming servers today!

[Learn More](https://www.namehero.com/game-hosting)