The player's current game mode.
Can be set to any of the following:
GameMode.SURVIVAL
GameMode.CREATIVE
GameMode.ADVENTURE
GameMode.SPECTATOR
Example:
player.edit { gameMode = GameMode.CREATIVE}