Stored player's old gamemode as metadata

Also refactored the code used to prompt the player for an action upon
joining into a method called playerJoinPrompt