🎮
Beginner
/gamemode
Flip between Survival, Creative, Adventure, and Spectator.
At a glance
Syntax
Syntax
/gamemode <mode> [target]commandtargetcoordsvaluerequiredoptional
See it
What it does
Creative Mode
The play mode switches
Anatomy
Every part, explained
- 1
CommandRequired/gamemodeChanges how a player interacts with the world.
- 2
ModeRequired<mode>survival, creative, adventure, or spectator.
- 3
TargetOptional[target]Who changes. Defaults to you.
Your turn
Try it yourself
Playground
2 tokens · press Enter to run
Copy & paste
Examples
/gamemode creativeFly and build with infinite blocks.
/gamemode survival @sBack to normal, hunger and all.
/gamemode spectatorFly through walls, untouchable.
Avoid these
Common mistakes
✕
/gamemode 1✓
/gamemode creativeModern Java dropped numeric ids — use the name.
✕
/gamemode creator✓
/gamemode creativeIt's 'creative', a common typo to watch for.
Keep going