Minecraft Java and Bedrock Gamemode Command Generator
Use this Gamemode Command Generator to quickly create the Gamemode command in Minecraft Java and Bedrock Edition 1.21+ and 1.26+. Select your desired game mode, target (@p, @a, @s), and customize it with filters like coordinates, tag, team, and distance. Ideal for maps, servers, and datapacks.
Select your Minecraft edition:
Automatically Generated Gamemode Command
gamemode survival @sCustomize Command Target (Optional)
Want to create a cheap Minecraft server without lag?
I highly recommend Sparked Host: budget-friendly plans, excellent performance, intuitive panel, and fast support.
🚀 Create a server at Sparked HostHow to Use the Gamemode Command in Minecraft
The Gamemode command allows you to change a player's game mode in Minecraft. With it, you can instantly switch between Survival, Creative, Adventure, and Spectator.
The basic format is:
/gamemode creative @p
This command changes the nearest player's game mode to Creative.
Gamemode Command Examples
Survival
/gamemode survival @p
Creative
/gamemode creative @p
Adventure
/gamemode adventure @p
Spectator
/gamemode spectator @p
Frequently Asked Questions
How do you change a player's gamemode in Minecraft?
Use the command: /gamemode creative @p
What are the available game modes?
Survival, Creative, Adventure, and Spectator.
Does the command work on Bedrock Edition?
Yes, the base syntax is the same, but some target selectors change between Java and Bedrock.
Can I use numbers instead of the mode name?
Yes, 0 is Survival, 1 is Creative, 2 is Adventure, and 3 (or 6 on Bedrock) is Spectator.
How do you apply the gamemode to all players?
Use the @a target, for example /gamemode survival @a.