Skip to content

OffhandCooldownSpell

JasperLorelai edited this page Jan 10, 2024 · 8 revisions

Source Code

This spell extends its options from Instant Spell.

spell-class: ".OffhandCooldownSpell"

Description:

This spell displays the cooldown of the configured spell as item amount in the player's offhand slot. Players are added to the spell's tracking list upon casting, and removed upon death, logging out, or plugin reload.

Configuration:

Option Description Default
item The item is placed in the slot and used to display the cooldown. Can be Magic Item String or Magic Item Config. "stone"
spell The spell to display the cooldown of.

Example:

offhandcooldown:
  spell-class: ".OffhandCooldownSpell"
  item: stone
  spell: prayer
Clone this wiki locally