blessing: type: world debug: false events: on entity damaged by player flagged:blessing: - determine enterblessing: type: world debug: false events: on player right clicks lectern in:blessing: - if !: - flag blessing expire:3h - flag blessingcooldown expire:12h - permission add faria.blessing - runlater removeblessing delay:3h def.target: - narrate "<&f> <&6>Azura's Blessing<&7> <&a>You have been blessed for 3 hours" - playsound custom sound:itemsadder:music_disc.blessing pitch:2 volume:1 - cast darkness amplifier:3 duration:3 - else: - ratelimit 5s - narrate "<&f> <&6>Azura's Blessing<&7> <&c>You have already been blessed in the past 12 hours" removeblessing: type: task debug: false script: - permission remove faria.blessing - narrate "<&f> <&6>Azura's Blessing<&7> <&c>Your blessing has expired"