Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameItemCooldown
Syntaxitemcooldown [<material>|...] (duration:<duration>)
Short DescriptionPlaces a cooldown on a material in a player's inventory.
Full DescriptionPlaces a cooldown on a material in a player's inventory.
Related Tags<PlayerTag.item_cooldown[<material>]> Returns the cooldown duration remaining on player's material.
Usage Example
# Places a 1 second cooldown on using an ender pearl.
- itemcooldown ender_pearl
Usage Example
# Places a 10 minute cooldown on using golden apples.
- itemcooldown golden_apple d:10m
Groupplayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/ItemCooldownCommand.java#L26