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 2454 tags...
Name<ScriptTag.cooled_down[(<player>)]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the script is currently cooled down for the player. Any global
cooldown present on the script will also be taken into account. Not specifying a player will result in
using the attached player available in the script entry. Not having a valid player will result in 'null'.
Generated Example
- if <script.cooled_down>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitScriptExtensions.java#L17