Guest User

Untitled

a guest
Feb 7th, 2015
1,965
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. options:
  2. tag: &3[MrAnvilPlay Nether]&2
  3. swiatnether: world_nether #Nazwa świata Nether
  4.  
  5. command /nether [<text>]:
  6. trigger:
  7. player has permission "nether.adm":
  8. arg 1 is "on":
  9. set {nether} to true
  10. broadcast "{@tag} Admin &c&l%name of player%&2 wlaczyl nether!"
  11. arg 1 is "off":
  12. set {nether} to false
  13. loop all players in "{@swiatnether}":
  14. execute console command "spawn %name of loop-player%"
  15. broadcast "{@tag} &4Admin &c&l%name of player%&4 wylaczyl nether!"
  16. else:
  17. send "&e<===================================================>"
  18. send "&e/nether on &f- &2Wlacza nether"
  19. send "&e/nether off&f - &2Wylacza nether"
  20. send "&e/nether reload &f- &2Przeladowuje skypt"
  21. send "&9BTNether by MrAnvilPlay wersja v0.1"
  22. send "&e<===================================================>"
  23.  
  24. on command:
  25. player is in the world "{@swiatnether}":
  26. command is not "spawn":
  27. player doesn't have permission "anvil.nether":
  28. cancel event
  29. send "{@tag} W netherze nie mozesz uzywac komend! Aby wrocic na spawn wpisz &b/spawn&2!"
  30.  
  31. on portal:
  32. player doesn't have permission "anvil.wejdz":
  33. if {nether} is false:
  34. cancel event
  35. send "{@tag} Nether jest aktualnie wylaczony!"
Advertisement
Add Comment
Please, Sign In to add comment