Aller au contenu principal
MC COMMANDS logoMC COMMANDS
Référence de la Commande

Minecraft /gamemode Command

playerÉdition JavaÉdition Bedrock

Modifie le mode de jeu d'un joueur (Survie, Créatif, Aventure ou Spectateur).

Compatibilité des Versions

Édition Java:1.21.4 (1.13+)
Édition Bedrock:1.21.60

Syntaxe de la Commande

Les Deux Éditions/gamemode <mode> [<target>]

Arguments Expliqués

Exemples Pratiques

beginnerLes Deux Éditions
/gamemode creative

Sets your own game mode to Creative.

Most common usage - quickly switch to creative for building.

beginnerLes Deux Éditions
/gamemode survival @a

Sets the game mode of all online players to Survival.

intermediateLes Deux Éditions
/gamemode adventure @r

Sets a random player to Adventure mode.

Useful for adventure maps where you want to restrict block breaking.

beginnerÉdition Java
/gamemode spectator

Switch to Spectator mode to fly through walls and observe.

Java Edition has full Spectator mode with mob perspective viewing.

advancedÉdition Java
/gamemode survival @a[gamemode=creative]

Switches all players currently in Creative back to Survival.

Advertisement

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.

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

Commandes Liées

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
Advertisement