options: tag: &8[&4PVP&3Event&8] command /pe [] []: trigger: if arg 1 is not set: send "&2&m-------------------------------------------------" send "&b PvPEvent" send "&7- &e/pe setarena &7- Ustawia spawn dla areny (lobby)" send "&7- &e/pe setlobby &7- Ustawia lobby glowne" send "&7- &e/pe setspec &7- Ustawia miejsce teleportu dla spektujacego" send "&7- &e/pe setteam &7- Ustawia spawn dla druzyn" send "&7- &e/pe join &7- Dolacza do areny" send "&7- &e/pe team &7- Dolacza do druzyny" send "&7- &e/pe leave &7- Opuscza arene" send "&7- &e/pe spec &7- Teleportuje do miejsca ogladania areny" send "&7- &e/pe reload &7- Przeladowywuje skrypt" send "&7- &e/pe kit &7- Lista zestawow" send "&7- &e/pe list &7- Lista graczy na evencie" send "&b by boleknowak" send "&2&m-------------------------------------------------" if arg 1 is "kit": if {pvpevent.game.%player%} is true: if arg 2 is not set: send "{@tag} &7Dostepne zestawy: &atank" if arg 2 is "tank": send "{@tag} &aWybrales zestaw: &btank" give iron helmet to player give iron chestplate to player give iron leggings to player give iron boots to player give diamond sword to player give 10 golden apple to player give 32 steak to player else: send "{@tag} &cNie jestes na evencie!" if arg 1 is "reload" or "rl": send "{@tag} &6Przeladowano!" execute player command "sk reload %script%" if arg 1 is "setarena": send "{@tag} &aUstawiono spawn glowny!" send "{@tag} &eW tym miejscu gracze wybieraja klasy/teamy" set {pvpevent.arena} to location of player if arg 1 is "setlobby": send "{@tag} &aPomyslnie ustawiono lobby!" set {pvpevent.lobby} to location of player if arg 1 is "setspec": send "{@tag} &aUstawiono spawn dla ogladajacych!" set {pvpevent.spec} to location of player if arg 1 is "setteam": if arg 2 is "blue": send "{@tag} &aUstawiles spawn dla teamu &1BLUE" set {pvpevent.spawn.blue} to location of player if arg 2 is "red": send "{@tag} &aUstawiles spawn dla teamu &4RED" set {pvpevent.spawn.red} to location of player if arg 2 is not set: send "{@tag} &cPodaj druzyne! /pe setteam " if arg 1 is "join": if {pvpevent.game.%player%} is true: send "{@tag} &cGrasz juz!" else: if {pvpevent.full} is greater than 9: send "{@tag} &cNie mozesz dolaczyc bo jest arena pelna!" else: send "{@tag} &2Dolaczyles do eventu!" add 1 to {pvpevent.full} set {pvpevent.loc.%player%} to location of player teleport player to {pvpevent.arena} send "{@tag} &7Wybierz zestaw! (/pe kit [kit_id])" send "{@tag} &7Wybierz druzyne! (/pe team )" set {pvpevent.game.%player%} to true if arg 1 is "team": if arg 2 is "red": if {pvpevent.game.%player%} is false: send "{@tag} &cNie grasz!" else: if {pvpevent.team.red.player} is greater than 4: send "{@tag} &cNie mozesz do tego teamu wejsc! (5/5)" else: add 1 to {pvpevent.team.red.player} add player to {pvpevent.team.red.players::*} send "{@tag} &aDolaczyles do druzyny &4RED &e(&c%{pvpevent.team.red.player}%&7/&c5&e)" set {pvpevent.%player%.red} to true set {pvpevent.%player%.blue} to false set player's tag to "&c" if arg 2 is "blue": if {pvpevent.team.blue.player} is greater than 4: send "{@tag} &cNie mozesz do tego teamu wejsc! (5/5)" else: add 1 to {pvpevent.team.blue.player} add player to {pvpevent.team.blue.players::*} send "{@tag} &aDolaczyles do druzyny &1BLUE &e(&c%{pvpevent.team.blue.player}%&7/&c5&e)" set {pvpevent.%player%.red} to false set {pvpevent.%player%.blue} to true set player's tag to "&9" if arg 2 is not set: send "{@tag} &cPodaj druzyne! /pe team " if arg 1 is "start": send "{@tag} &6Za &210 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &29 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &28 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &27 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &26 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &25 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &24 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &23 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &22 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Za &21 &6sekund rozpocznie sie event pvp! Wybierz klase/team" to all players wait 1 seconds send "{@tag} &6Rozpoczelo sie! Wszyscy gracze zostali przeteleportowani!" to all players loop {pvpevent.team.red.players::*}: teleport loop-value to {pvpevent.spawn.red} loop {pvpevent.team.blue.players::*}: teleport loop-value to {pvpevent.spawn.blue} if arg 1 is "leave": if {pvpevent.game.%player%} is true: send "{@tag} &aWyszedles z areny!" add -1 to {pvpevent.full} teleport player to {pvpevent.loc.%player%} set {pvpevent.%player%.red} to false set {pvpevent.%player%.blue} to false set player's tag to "&f" set {pvpevent.game.%player%} to false else: send "{@tag} &cNie ma cie w grze!" if arg 1 is "spec": if {pvpevent.game.%player%} is true: send "{@tag} &cAktualnie grasz!" else: send "{@tag} &aDolaczyles do ogladajacych!" set {pvpevent.loc.%player%} to location of player send "{@tag} &aWpisz /pe leave aby wyjsc z trybu ogladajacego" teleport player to {pvpevent.spec} set {pvpevent.game.%player%} to true if arg 1 is "list": send "&1BLUE: &7%{pvpevent.team.blue.player}%" send "&4RED: &7%{pvpevent.team.red.player}%"