New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
Change the Game Mode on Your Minecraft Java Edition Server
Minecraft Java EditionMinecraft Java EditionChange gamemode

Change the Game Mode on Your Minecraft Java Edition Server

Step-by-step instructions on how to change a player's game mode on your Minecraft Java Edition server using the in-game chat or the server console.

1 min read
Aug 9, 2025

Change the game mode via the in-game chat

  1. Open the chat
    Open the chat. By default with the t key.

  2. Enter the command
    Enter the following command to set the desired game mode:

    /gamemode creative <player-name>   # Creative mode: fly and build freely
    /gamemode survival <player-name>   # Survival mode: normal gameplay without cheating
    /gamemode spectator <player-name>  # Spectator mode: fly through blocks, no interaction
    /gamemode adventure <player-name>  # Adventure mode: look only, no interaction
    

Change the game mode via the server console

  1. Select your server
    Open your dashboard and select your Minecraft Java Edition server.

  2. Open the console
    Navigate to the server console under the menu item "Overview".

  3. Enter the command
    Use one of the following game-mode commands in the console:

    gamemode creative <player-name>   # Creative mode: fly and build freely
    gamemode survival <player-name>   # Survival mode: normal gameplay without cheating
    gamemode spectator <player-name>  # Spectator mode: fly through blocks, no interaction
    gamemode adventure <player-name>  # Adventure mode: look only, no interaction
    
Written byEmeraldHost Team
Last updated on Mar 19, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Minecraft Java Edition

Ready to get started?

Rent your Minecraft Java Edition Server now

Join our Discord community 1257 members online right now