Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setwarp <text>:
- permission: warp.create
- trigger:
- set {warp.%argument%} to location of the player
- message "&8» &7Warp &6{warp.%argument%} &7zostal ustawiony."
- command /warp <text>:
- trigger:
- set {_location} to the player's location
- set {_delay} to 7
- send "&8» &cTeleportacja nastapi za &65 sekund&7!" to the player
- send "&8» &cJesli sie poruszysz teleportacja zostanie przerwana!" to the player
- while {_delay} is greater than 0:
- if distance between {_location} and the player's location is less than 0.1:
- subtract 1 from {_delay}
- wait 1 second
- else:
- send "&8» &cTeleportacja anulowana." to the player
- exit
- if distance between {_location} and the player's location is less than 0.1:
- teleport the player to {warp.%argument%} # Use whatever location you want instead of spawn
- send "&8» &cZostales przeteleportowany!" to the player
- else:
- send "&8» &cTeleportacja anulowana." to the player
- command /warps:
- trigger:
- send "&8&m---------------------------------------"
- send " &8» &6Lista teleportow:"
- send " &8* &7enchant&6, &7kowadla&6, &7stoniarki"
- send "&8&m---------------------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement