This command changes the gamemode of your current game. Gamemodes are stanard, creative and mod.
The syntax for the setgamemode command is as follows:
setgamemode [game mode]
This command has the following arguments:
|Game Mode||Your desired game mode. Options are:|
Find below working examples of the setgamemode command.
This command sets your gamemode to standard.
The above console command sets your gamemode to creative.