Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2437 tags...
Name<PlayerTag.gamemode>
ReturnsElementTag
MechanismPlayerTag.gamemode
DescriptionReturns the name of the gamemode the player is currently set to.
Works with offline players.
Generated Example
- narrate <player.gamemode>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2038