Paste #31763: Untitled Paste

Date: 2016/03/19 12:28:42 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


Spawn-Control:
  type: world
  events:
    on player login:
      - if !<player.has_flag[respawn-location]> {
        - flag player respawn-location:l@-2.356868743184846,24.0,637.2486505857325,13.049737,-240.29495,Temuair
        - flag player in-tutorial
        - teleport player <player.flag[respawn-location]>
        - take <player.inventory.list_contents.full.filter[material.name.is[==].to[gold_sword]]> quantity:10000
        - take <player.inventory.list_contents.full.filter[material.name.is[==].to[wood_hoe]]> quantity:10000
        }
    on player respawns:
      - if <player.has_flag[respawn-location]> {
        - teleport <player> <player.flag[respawn-location]>
        }