Date: 2016/03/19 12:28:42 UTC-07:00
Type: Denizen Script
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]>
}