Minecraft /gamemode Command
Modifie le mode de jeu d'un joueur (Survie, Créatif, Aventure ou Spectateur).
Compatibilité des Versions
Syntaxe de la Commande
/gamemode <mode> [<target>]Arguments Expliqués
modeGame ModeRequisThe mode to set: survival, creative, adventure, or spectator (spectator is Java only).
targetSelector / NameThe player whose game mode to change. Defaults to yourself if omitted.
Exemples Pratiques
/gamemode creativeSets your own game mode to Creative.
Most common usage - quickly switch to creative for building.
/gamemode survival @aSets the game mode of all online players to Survival.
/gamemode adventure @rSets a random player to Adventure mode.
Useful for adventure maps where you want to restrict block breaking.
/gamemode spectatorSwitch to Spectator mode to fly through walls and observe.
Java Edition has full Spectator mode with mob perspective viewing.
/gamemode survival @a[gamemode=creative]Switches all players currently in Creative back to Survival.
Erreurs Courantes
Erreur :
Switching to survival while high in the air in creative mode
Correction :
Always check your surroundings before switching modes - you'll fall and take damage in survival!
Erreur :
Typing /gamemode without specifying which mode
Correction :
You must specify a mode: /gamemode creative (not just /gamemode)
Erreur :
Trying to use spectator mode in Bedrock Edition on older versions
Correction :
Spectator mode is only available in recent Bedrock versions. Use creative mode with /effect @s invisibility for a similar effect.
Différences Java vs Bedrock
Java Edition has full Spectator mode support with special features like viewing from mob perspectives. Bedrock Edition has limited spectator mode, primarily for observing.
Conseils Utiles
You can use shorthand: /gamemode c for creative, /gamemode s for survival, /gamemode a for adventure.
Switching to creative mode gives you instant health regeneration and immunity to damage.
Adventure mode prevents players from breaking blocks without the proper tools - perfect for maps.
Use spectator mode (Java) to scout areas or preview builds without physically being there.
Game mode changes are instant - your inventory persists when switching modes.
Notes Importantes
Bedrock Edition does not officially support Spectator Mode in the same capacity, though it was recently added as an option (`spectator` or `/gamemode 6`). Numbers (0=survival, 1=creative, 2=adventure) are deprecated but may still work on Bedrock.
Questions Fréquentes
Do I keep my inventory when changing game modes?
Yes, your inventory stays the same when switching between game modes.
Can I change someone else's game mode?
Yes, if you have operator permissions: /gamemode creative PlayerName
What's the difference between Creative and Spectator mode?
Creative lets you fly and build with no restrictions. Spectator lets you fly through blocks and observe without interacting - you can't place or break anything.
Why can't I break blocks in Adventure mode?
Adventure mode is designed for custom maps. You can only break blocks with tools that have the CanDestroy tag.
Prêt à créer votre commande ?
Utilisez notre générateur interactif pour créer des commandes /gamemode sans erreur grâce à une interface visuelle.
Ouvrir le Générateur de Commandes