Title Effect - TheComputerGeek2/MagicSpells GitHub Wiki
effect: title
Description:
Plays a title on your screen.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
title |
Rich Text | ||
subtitle |
Rich Text | ||
fade-in |
Time it takes in ticks for the effect to fade in. | Integer | 10 |
stay |
Duration of the effect in ticks. | Integer | 40 |
fade-out |
Time it takes in ticks for the effect to fade out. | Integer | 10 |
broadcast |
Defines if this message should be broadcast to all players. | Boolean | false |
Example:
title:
spell-class: ".instant.DummySpell"
effects:
titleeffect:
position: caster
effect: title
title:
subtitle: "&4> &c&lYou have been killed. &4<"
fade-in: 5
stay: 40
fade-out: 5