Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &3[MrAnvilPlay Nether]&2
- swiatnether: world_nether #Nazwa świata Nether
- command /nether [<text>]:
- trigger:
- player has permission "nether.adm":
- arg 1 is "on":
- set {nether} to true
- broadcast "{@tag} Admin &c&l%name of player%&2 wlaczyl nether!"
- arg 1 is "off":
- set {nether} to false
- loop all players in "{@swiatnether}":
- execute console command "spawn %name of loop-player%"
- broadcast "{@tag} &4Admin &c&l%name of player%&4 wylaczyl nether!"
- else:
- send "&e<===================================================>"
- send "&e/nether on &f- &2Wlacza nether"
- send "&e/nether off&f - &2Wylacza nether"
- send "&e/nether reload &f- &2Przeladowuje skypt"
- send "&9BTNether by MrAnvilPlay wersja v0.1"
- send "&e<===================================================>"
- on command:
- player is in the world "{@swiatnether}":
- command is not "spawn":
- player doesn't have permission "anvil.nether":
- cancel event
- send "{@tag} W netherze nie mozesz uzywac komend! Aby wrocic na spawn wpisz &b/spawn&2!"
- on portal:
- player doesn't have permission "anvil.wejdz":
- if {nether} is false:
- cancel event
- send "{@tag} Nether jest aktualnie wylaczony!"
Advertisement
Add Comment
Please, Sign In to add comment