Skip to content

GlowSpell

AkitoBurrito edited this page May 28, 2022 · 15 revisions

Glow Spell

Source Code

Description:

ProtocolLib and GlowAPI are required for this spell to work.

Targeted spell. Causes the entity to glow, depending on the options below.

Configuration:

Option Description Default Value
toggle Defines whether the spell can be deactivated while it's still active. It will apply the cooldown on cast. false
duration Duration specified in ticks before the glow expires. Set to 0 to define an infinite duration. 0
client-side Determines if the glow is handled by the client or the server. false
visible-to-everyone Determines if all players are can see the glow or not. true
visible-to-caster Determines if the caster can see the glow or not. true
visible-to-target Determines if the target can see the glow or not. false
color Determines the color of the glow. Color names can be found here! white

Example:

Glow:
    spell-class: ".targeted.ext.GlowSpell"
    toggle: false
    duration: 0
    visible-to-everyone: true
    visible-to-caster: true
    visible-to-target: true
    color: white  
Clone this wiki locally