Skip to content

TimeSpell

MomoPewpew edited this page Jul 28, 2023 · 7 revisions

Source Code

spell-class: ".instant.TimeSpell"

Description:

Instant spell. This spell changes the time of the world the caster is in. Spell Power does not affect this spell.

Configuration Options:

Option Description Default Value
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. 0
str-announce The message to send to all players in the world when the time is changed. The sun suddenly appears in the sky.

Spell Default:

Dawn:
    spell-class: ".instant.TimeSpell"
    name: Dawn
    cast-item: blaze_rod
    str-announce: The sun is finally rising!
    time-to-set: 22550
    cooldown: 200
Clone this wiki locally