Date: 2020/01/11 06:17:32 UTC-08:00
Type: Denizen Script
on player right clicks *_BED:
- if <yaml[UtilizenConfig].read[allow-bed]>:
- yaml id:Utilizen_<player.uuid> set <player.uuid>.spawnlocation:<context.location>
- run UtilizenSavePlayerTask def:<player.uuid>
- adjust <player> bed_spawn_location:<context.location>
- narrate <yaml[UtilizenLang].read[bedspawnset].parsed>
- flag player bedspawn
on player receives message flagged:bedspawn priority:1:
- determine passively cancelled
- wait 1t
- flag player bedspawn:!