Minecraft wiki entry for defaultgamemode, associated text: Specifies the default game mode for new players. Must be one of the following:
survival for survival mode
creative for creative mode
adventure for adventure mode
spectator for spectator mode