Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 644 mechanisms...
Namegamemode
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.gamemode> Returns the name of the gamemode the player is currently set to. (...)
DescriptionSets the game mode of the player.
Valid gamemodes are survival, creative, adventure, and spectator.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3174