Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setwarp <text>:
- permission: nwarp.create
- trigger:
- if {nwarp.%argument%} is not set:
- set {nwarp.%argument%} to location of the player
- message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7stworzony"
- stop trigger
- if {nwarp.%argument%} is set:
- message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7juz istnieje."
- stop trigger
- command /delwarp <text>:
- permission: nwarp.delete
- trigger:
- if {nwarp.%argument%} is set:
- delete {nwarp.%argument%}
- message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7usuniety"
- stop trigger
- if {nwarp.%argument%} is not set:
- message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7nie istnieje wiec nie mozna go usunac..."
- stop trigger
- on right click on sign:
- if line 1 of clicked block is "&l[nWarp]":
- if {nwarp.%line 2 of clicked block%} is set:
- apply nausea 2 to the player for 5 seconds
- send "&6[Skyblock] &7Teleportacja do &c&l%line 2 of clicked block%&7 za &c2 sekundy"
- wait 2 seconds
- teleport the player to {nwarp.%line 2 of clicked block%}
- if {nwarp.%line 2 of clicked block%} is not set:
- send "warp nie istnieje" to player
- command /warp <text>:
- trigger:
- if {nwarp.%argument%} is not set:
- message "&6[nWarp] &7nWarp &c&l%argument% &7nie istnieje"
- if {nwarp.%argument%} is set:
- apply nausea 2 to the player for 5 seconds
- send "&6[nWarp] &7Teleportacja do nWarpa o nazwie &c&l%argument 1%&7 za 2 sekundy!"
- wait 2 seconds
- teleport the player to {nwarp.%argument%}
- on sign change:
- player has permission "nwarp.create.sign"
- line 1 is "[nw]"
- set line 1 to "&l[nWarp]"
Advertisement
Add Comment
Please, Sign In to add comment