Paste #35075: Untitled Paste

Date: 2016/07/27 19:39:59 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


Bossbar_HubAnnouncer:
    type: world
    events:
        on server start:
        - run BossBar_Loop instantly

BossBar_Loop:
    type: task
    script:
    - while true {
        - foreach <server.list_online_players||li@> {
            - if <def[value].location.world.name.is[==].to[Hub]> {
                - bossbar boss_mine players:<player> "title:Bienvenido <&c><player.name>" color:PINK
            }
        }
    - wait 3s
    }