Returns "SURVIVAL", "CREATIVE", "ADVENTURE", or "SPECTATOR" depending on the player's gamemode
If the gamemode is unknown, returns nil
overload 1:
player:getGamemode()
| Method Property | Fluent Description | Representation |
| Return Value | either a String or nil | |