forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
TimeSpell
JasperLorelai edited this page May 19, 2024
·
8 revisions
spell-class: ".instant.TimeSpell"
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
This spell changes the time of the world the caster is in. Spell Power does not affect this spell.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
time-to-set |
The time to set. This is a number from 0 to 24000 . Some approximate values are: 0 is dawn, 6000 is noon, 12000 is dusk, and 18000 is midnight. |
Integer | 0 |
str-announce |
The message to send to all players in the world when the time is changed. | Rich Text | "The sun suddenly appears in the sky." |
Dawn:
spell-class: ".instant.TimeSpell"
name: Dawn
cast-item: blaze_rod
str-announce: The sun is finally rising!
time-to-set: 22550
cooldown: 200