Skip to content
JasperLorelai edited this page Jul 31, 2024 · 19 revisions

Source Code

spell-class: ".targeted.ext.GlowSpell"

Warning

We have reports of the spell not working since 1.20.4, but it likely broke in earlier 1.20.x versions. This is because XGlow has been abandoned. To replace it, we are working on an alternative version of the spell which won't use XGlow, but internal code. Note that this will likely mean that we will transition the spell-class to .targeted.GlowSpell.

Value Supported
entity true
location false
entity_from_location false

Description:

ProtocolLib and XGlow are required for this spell to work. This spell causes the entity to glow.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
duration Duration specified in ticks before the glow expires. Set to 0 to define an infinite duration. Integer 0
power-affects-duration Since 4.0 Beta 13. Boolean true
color Determines the color of the glow (ignore Depricated flags). String "white"

Example:

Glow:
    spell-class: ".targeted.ext.GlowSpell"
    duration: 0
    color: white  
Clone this wiki locally