Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /createwarp <text>:
- permission: warp.create
- trigger:
- set {warp.%argument%} to location of the player
- message "&4[&6A-Warps&4] &bStworzyles warp %argument%!"
- command /warp <text>:
- trigger:
- if {warp.%argument%} is not set:
- message "&f[&6EssentialsSC&f] &bWarp '%argument%' nie zostal odnaleziony!"
- if {warp.%argument%} is set:
- apply nausea 2 to the player for 5 seconds
- send "&4[&6A-Warps&4] &bTeleportacja do &c%argument 1%&b za 2 sekundy!"
- wait 2 seconds
- teleport the player to {warp.%argument%}
- on right click on sign:
- if line 1 of clicked block is "&4[&6A-Warp&4]":
- if {warp.%line 2 of clicked block%} is set:
- apply nausea 2 to the player for 5 seconds
- send "&4[&6A-Warp&4] &bTeleportacja do &c%line 2 of clicked block%&b za 2 sekundy!"
- wait 2 seconds
- teleport the player to {warp.%line 2 of clicked block%}
- if {warp.%line 2 of clicked block%} is not set:
- set line 3 to "&4BLEDNA"
- set line 4 to "&4NAZWA WARPA"
- on sign change:
- player has permission "warp.create.sign"
- line 1 is "aw"
- set line 1 to "&4[&6A-Warp&4]"
Advertisement
Add Comment
Please, Sign In to add comment