Name | gamemode |
Object | PlayerTag |
Input | ElementTag |
Related Tags | <PlayerTag.gamemode> Returns the name of the gamemode the player is currently set to. (...)
|
Description | Sets the game mode of the player.
Valid gamemodes are survival, creative, adventure, and spectator. Works with offline players. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3174 |