Paste #63926: Untitled Paste

Date: 2020/01/11 06:17:32 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


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:!