Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- send "[TheWalls] Loading TheWalls v0.9" to console
- on unload:
- send "[TheWalls] Disabling TheWalls v0.9" to console
- variables:
- {team-1.%player%} = false
- {team-2.%player%} = false
- {team-3.%player%} = false
- {team-4.%player%} = false
- {arena} = false
- options:
- # Logo Skryptu
- logo: &7[&cWalls&7]
- # Glowna Komenda:
- maincommand: walls
- command /team [<text>] [<text>]:
- trigger:
- if arg 1 is not "1" or "2" or "3" or "4":
- send "{@logo}&7Musisz wybrac druzyne 1-4"
- if arg 1 is not set:
- send "{@logo}&7Wybierz druzyne, %name of player%: /team <1-4>"
- stop
- if arg 1 is "1":
- if {team-1.%player%} is true:
- send "{@logo}&aNalezysz juz do druzyny &a1 &a!"
- stop
- if {team-2.%player%} is true:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team2::*}
- set {team-2.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if {team-3.%player%} is true:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team3::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if {team-4.%player%} is true:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if {team-1.%player%} is false:
- if {team-2.%player%} is false:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if {team-3.%player%} is false:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if {team-4.%player%} is false:
- if {players::team1::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team1::*}
- send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
- set {team-1.%player%} to true
- stop
- if arg 1 is "2":
- if {team-1.%player%} is true:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team1::*}
- set {team-1.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team-2.%player%} is true:
- send "{@logo}&aNalezysz juz do druzyny &b2 &a!"
- stop
- if {team-3.%player%} is true:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team3::*}
- set {team-3.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team-4.%player%} is true:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team-2.%player%} is false:
- if {team-1.%player%} is false:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team-3.%player%} is false:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if {team-4.%player%} is false:
- if {players::team2::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team2::*}
- send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
- set {team-2.%player%} to true
- stop
- if arg 1 is "3":
- if {team-1.%player%} is true:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team1::*}
- set {team-1.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if {team-2.%player%} is true:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team2::*}
- set {team-2.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if {team-3.%player%} is true:
- send "{@logo}&aNalezysz juz do druzyny &c3 &a!"
- stop
- if {team-4.%player%} is true:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if {team-3.%player%} is false:
- if {team-1.%player%} is false:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if {team-2.%player%} is false:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if {team-4.%player%} is false:
- if {players::team3::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team3::*}
- send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
- set {team-3.%player%} to true
- stop
- if arg 1 is "4":
- if {team-1.%player%} is true:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team1::*}
- set {team-1.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- if {team-2.%player%} is true:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team2::*}
- set {team-2.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- if {team-3.%player%} is true:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- remove 1 from {players::team3::*}
- set {team-3.%player%} to false
- set the player's tablist name to "&f%name of player%"
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- if {team-4.%player%} is true:
- send "{@logo}&aNalezysz juz do druzyny &64 &a!"
- stop
- if {team-4.%player%} is false:
- if {team-1.%player%} is false:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- if {team-2.%player%} is false:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- if {team-3.%player%} is false:
- if {players::team4::*} > 10:
- send "{@logo}Druzyna jest pelna!" to player
- else:
- add 1 to {players::team4::*}
- send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
- set {team-4.%player%} to true
- stop
- command /teamspawn [<text>]:
- permission: walls.teamspawn
- trigger:
- if arg 1 is not set:
- send "{@logo}&7Aby ustawic spawn musisz wpisac argument"
- if arg 1 is "1":
- set {team1.pos} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2":
- set {team2.pos} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3":
- set {team3.pos} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4":
- set {team4.pos} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- if arg 1 is "1-2":
- set {team1.pos2} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2-2":
- set {team2.pos2} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3-2":
- set {team3.pos2} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4-2":
- set {team4.pos2} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- if arg 1 is "1-3":
- set {team1.pos3} to location of player
- send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
- stop
- if arg 1 is "2-3":
- set {team2.pos3} to location of player
- send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
- stop
- if arg 1 is "3-3":
- set {team3.pos3} to location of player
- send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
- stop
- if arg 1 is "4-3":
- set {team4.pos3} to location of player
- send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
- stop
- command /falldown:
- permission: walls.falldown
- trigger:
- loop all blocks in region "team1-1":
- execute server command "rg flag team1-1 entry -w world allow"
- execute server command "rg flag team1-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team1-2":
- execute server command "rg flag team1-2 entry -w world allow"
- execute server command "rg flag team1-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team2-1":
- execute server command "rg flag team2-1 entry -w world allow"
- execute server command "rg flag team2-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team2-2":
- execute server command "rg flag team2-2 entry -w world allow"
- execute server command "rg flag team2-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team3-1":
- execute server command "rg flag team3-1 entry -w world allow"
- execute server command "rg flag team3-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team3-2":
- execute server command "rg flag team3-2 entry -w world allow"
- execute server command "rg flag team3-2 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team4-1":
- execute server command "rg flag team4-1 entry -w world allow"
- execute server command "rg flag team4-1 build -w world allow"
- set loop-blocks to air
- loop all blocks in region "team4-2":
- execute server command "rg flag team4-2 entry -w world allow"
- execute server command "rg flag team4-2 build -w world allow"
- set loop-blocks to air
- stop
- command /tep [<text>]:
- permission: walls.tep
- trigger:
- if {arena} is true:
- if {team-1.%player%} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team-1.%player%} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team-2.%player%} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team-2.%player%} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team-3.%player%} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team-3.%player%} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- if {team-4.%player%} is true:
- execute server command "tp arg-player"
- send "Przeteleportowano do gracza %arg 1%" to player
- stop
- if {team-4.%player%} is false:
- send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
- stop
- command /bc [<text>]:
- permission: walls.broadcast
- trigger:
- if arg 1 is not set:
- send "{@logo}Musisz wpisac argument!"
- if arg 1 is set:
- broadcast "{@logo}%coloured arg%"
- stop
- command /bc2 [<text>]:
- permission: walls.broadcast
- trigger:
- if arg 1 is not set:
- send "{@logo}Musisz wpisac argument!"
- if arg 1 is set:
- broadcast "%coloured arg%"
- stop
- command /walls [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &e/walls start - Startuje arene TheWalls"
- send " &e/walls help - Pomoc pluginu TheWalls"
- send " &e/walls - Pokazuje komendy TheWalls"
- send " &e/wyjdz - Startuje arene TheWalls"
- send " &e/team <1-4> - Startuje arene TheWalls"
- send " &e/tep <nick> - Startuje arene TheWalls"
- stop
- if arg 1 is "help":
- if arg 2 is "1":
- send " &2Strona 1/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &e/walls help - Pomoc pluginu TheWalls"
- send " &e/walls - Pokazuje komendy TheWalls"
- send " &e/wyjdz - Startuje arene TheWalls"
- send " &e/team <1-4> - Startuje arene TheWalls"
- send " &e/tep <nick> - Startuje arene TheWalls"
- stop
- if arg 2 is "2":
- send " &2Strona 2/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &eTheWalls to minigierka w ktorej sa cztery"
- send " &edruzyny: 1 - zielona, 2 - niebieska, "
- send " &e3 - czerwona, 4 - zolta. Jest 10 min."
- send " &ena zbieranie(kopanie, zbieranie drewna."
- send " &eSurowce wypadaja ze stone(kamienia)."
- send " &eNastepnie opadaja sciany i najlepiej"
- send " &ezebrac jak najwiecej skrzynek ze srodka."
- send " &eJesli przez 10 min. walki po opadnieciu"
- send " &escian jedna druzyna nie zostanie i nie"
- send " &ewygra rozpocznie sie DeathMatch. Tam"
- send " &eroztrzygnie sie bitwa"
- stop
- if arg 2 is "3":
- send " &cStrona 3/3"
- send " &b=-=-=-=-= TheWalls =-=-=-=-="
- send " &eZa zabicie gracza otrzymujemy +5 monet"
- send " &enatomiast za wygrana +15 monet. W czasie"
- send " &eeventow za zabicie bedzie +10 monet, a"
- send " &eza wygrana +30 monet. Eventy beda srednio"
- send " &eco 1 mies. i beda trwaly ok. caly weekend."
- stop
- if arg 1 is "start":
- loop all players:
- execute server command "bc Gra zacznie sie za 60 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 60 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 59 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 58 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 57 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 56 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 55 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 54 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 53 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 52 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 51 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 50 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 49 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 48 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 47 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 46 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 45 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 44 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 43 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 42 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 41 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 40 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 39 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 38 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 37 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 36 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 35 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 34 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 33 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 32 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 31 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 30 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 30 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 29 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 28 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 27 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 26 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 25 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 24 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 23 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 22 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 21 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 20 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 20 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 19 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 18 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 17 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 16 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 15 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 14 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 13 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 12 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 11 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 10 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 10 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 9 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 9 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 8 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 8 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 7 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 7 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 6 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 6 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 5 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 5 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 4 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 4 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 3 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 3 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 2 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 2 sekund!"
- wait 1 second
- execute server command "bc Gra zacznie sie za 1 sekund!"
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 1 sekund!"
- wait 1 second
- execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra juz trwa!"
- set {arena} to true
- if {team-1.%loop-player%} is true:
- teleport loop-player to {team1.pos}
- send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team1.pos3}
- if {team-2.%loop-player%} is true:
- teleport loop-player to {team2.pos}
- send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team2.pos3}
- if {team-3.%loop-player%} is true:
- teleport loop-player to {team3.pos}
- send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team3.pos3}
- if {team-4.%loop-player%} is true:
- teleport loop-player to {team4.pos}
- send "{@logo}&7Znajdujesz sie w &e[Team 4] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team4.pos3}
- if {team-1.%loop-player%} or {team-2.%loop-player%} or {team-3.%loop-player%} or {team-4.%loop-player%} is false:
- chance of 25%:
- set {_1} to "%name of loop-player%"
- set {team-1.%loop-player%} to true
- set the loop-player's tablist name to "&a%name of loop-player%"
- teleport loop-player to {team1.pos}
- send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team1.pos3}
- chance of 25%:
- set {_2} to "%name of loop-player%"
- set {team-2.%loop-player%} to true
- set the loop-player's tablist name to "&b%name of loop-player%"
- teleport loop-player to {team2.pos}
- send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team2.pos3}
- chance of 25%:
- set {_3} to "%name of loop-player%"
- set {team-3.%loop-players%} to true
- set the loop-player's tablist name to "&c%name of loop-player%"
- teleport loop-player to {team3.pos}
- send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team3.pos3}
- chance of 25%:
- set {_4} to "%name of loop-player%"
- set {team-4.%loop-players%} to true
- set the loop-player's tablist name to "&e%name of loop-player%"
- teleport loop-player to {team4.pos}
- send "{@logo}&7Znajdujesz sie w &e[Team 4] &7!" to loop-player
- wait 20 minutes
- teleport loop-player to {team4.pos3}
- if {arena} is true:
- wait 5 minutes
- execute server command "bc &7Sciany opadna za 5 minut!"
- wait 3 minutes
- execute server command "bc &7Sciany opadna za 2 minuty!"
- wait 1 minute
- execute server command "bc &7Sciany opadna za 1 minute!"
- wait 30 second
- execute server command "bc &7Sciany opadna za 30 sekund!"
- wait 10 second
- execute server command "bc &7Sciany opadna za 20 sekund!"
- wait 10 second
- execute server command "bc &7Sciany opadna za 10 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 9 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 8 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 7 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 6 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 5 sekund!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 4 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 3 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 2 sekundy!"
- wait 1 second
- execute server command "bc &7Sciany opadna za 1 sekunde!"
- wait 1 second
- execute server command "bc &7Sciany opadly!"
- execute server command "falldown"
- wait 10 minutes
- execute server command "bc &7Deathmatch rozpoczety!"
- stop
- if arg 1 is "reload":
- execute server command "skript reload TheWalls"
- reset {team-1.%player%}
- reset {team-2.%player%}
- reset {team-3.%player%}
- reset {team-4.%player%}
- reset {players::team1::*}
- reset {players::team2::*}
- reset {players::team3::*}
- reset {players::team4::*}
- set {arena} to false
- stop
- every 5 second:
- if {arena::gra::*} is true:
- loop all players:
- if {players::team2::*} is 0:
- if {players::team3::*} is 0:
- {players::team4::*} is 0:
- execute server command "kickall Druzyna 1 zwyciezyla!"
- execute server command "stop"
- stop
- if {players::team1::*} is 0:
- if {players::team3::*} is 0:
- if {players::team4::*} is 0:
- execute server command "kickall Druzyna 2 zwyciezyla!"
- execute server command "stop"
- stop
- if {players::team1::*} is 0:
- if {players::team2::*} is 0:
- if {players::team4::*} is 0:
- execute server command "kickall Druzyna 3 zwyciezyla!"
- execute server command "stop"
- stop
- if {players::team1::*} is 0:
- if {players::team2::*} is 0:
- {players::team3::*} is 0:
- execute server command "kickall Druzyna 4 zwyciezyla!"
- execute server command "stop"
- stop
- on chat:
- if {arena} is true:
- if {team-1.%player%} is true:
- set {_1} to "%name of player%"
- set the player's display name to "%player's prefix%&7[&aTeam 1&7]&f%player%"
- set the player's tablist name to "&a%name of player%"
- stop
- if {team-2.%player%} is true:
- set {_2} to "%name of player%"
- set the player's display name to "%player's prefix%&7[&bTeam 2&7]&f%player%"
- set the player's tablist name to "&b%name of player%"
- stop
- if {team-3.%player%} is true:
- set {_3} to "%name of player%"
- set the player's display name to "%player's prefix%&7[&cTeam 3&7]&f%player%"
- set the player's tablist name to "&c%name of player%"
- stop
- if {team-4.%player%} is true:
- set {_4} to "%name of player%"
- set the player's display name to "%player's prefix%&7[&eTeam 4&7]&f%player%"
- set the player's tablist name to "&e%name of player%"
- stop
- if {team-1.%player%} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-2.%player%} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-3.%player%} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-4.%player%} is false:
- set the player's tablist name to "&f%name of player%"
- stop
- on quit:
- if {team-1.%player%} is true:
- execute server command "spawn %player%"
- execute server command "clear %player%"
- remove 1 from {players::team1::*}
- set {team-1.%player%} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-2.%player%} is true:
- execute server command "spawn %player%"
- execute server command "clear %player%"
- remove 1 from {players::team2::*}
- set {team-2.%player%} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-3.%player%} is true:
- execute server command "spawn %player%"
- execute server command "clear %player%"
- remove 1 from {players::team3::*}
- set {team-3.%player%} to false
- set the player's tablist name to "&f%name of player%"
- stop
- if {team-4.%player%} is true:
- execute server command "spawn %player%"
- execute server command "clear %player%"
- remove 1 from {players::team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- stop
- on death:
- if {arena} is true:
- if {team-1.%player%} is true:
- remove 1 from {players::team1::*}
- set {team-1.%player%} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team-2.%player%} is true:
- remove 1 from {players::team2::*}
- set {team-2.%player%} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team-3.%player%} is true:
- remove 1 from {players::team3::*}
- set {team-3.%player%} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- if {team-4.%player%} is true:
- remove 1 from {players::team4::*}
- set {team-4.%player%} to false
- set the player's tablist name to "&f%name of player%"
- execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
- if attacker is player:
- if victim is player:
- send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
- stop
- on damage:
- if {arena} is true:
- if {team-1.%attacker%} is true:
- if {team-1.%victim%} is true:
- cancel event
- if {team-2.%attacker%} is true:
- if {team-2.%victim%} is true:
- cancel event
- if {team-3.%attacker%} is true:
- if {team-3.%victim%} is true:
- cancel event
- if {team-4.%attacker%} is true:
- if {team-4.%victim%} is true:
- cancel event
- on join:
- if {arena} is true:
- execute server command "kick %player% &7Musisz czekac na zakończenie rozgrywki!"
- stop
- on command "team 1":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 2":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 3":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team 4":
- if {arena} is true:
- cancel event
- send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
- on command "team leave":
- if {arena} is true:
- cancel event
- send "{@logo}&7Nie mozesz wychodzic z teamu podczas rozgrywki!"
- on rightclick on sign:
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team-1.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gornik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team-1.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gornikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lGORNIKA":
- if {team-1.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit gorniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit lucznik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit lucznikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lLUCZNIKA":
- if {team-1.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit luczniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwal %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&fZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwalvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lDRWALA":
- if {team-1.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit drwalsupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&f&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojownik %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&6&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojownikvip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lWOJOWNIKA":
- if {team-1.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit wojowniksupervip %player%"
- teleport player to {team4.pos2}
- stop
- if line 1 is "&b&lZESTAW":
- if line 2 is "&f&lALCHEMIKA":
- if {team-1.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team1.pos2}
- stop
- if {team-2.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team2.pos2}
- stop
- if {team-3.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team3.pos2}
- stop
- if {team-4.%player%} is true:
- execute server command "kit alchemiksupervip %player%"
- teleport player to {team4.pos2}
- stop
Advertisement
Add Comment
Please, Sign In to add comment