1. Wiki
  2. /Commands
  3. //gamemode

/gamemode

Put commands in your add-on as functions: GodCraft writes and packs them for you.Get GodCraft

/gamemode: Changes a player's game mode, like survival, creative, adventure or spectator.

Syntax

<angle brackets> are required, [square brackets] optional. /gamemode has 2 forms:

/gamemode <gameMode: gamemode> [player: selection]
/gamemode <gameMode: int> [player: selection]

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more