# Permisje do skryptu Bedwars # # bw.admin # bw.help # bw.create variables: {bw.team.%player%} = "none" on join: set {bw.play.%player%} to false set {bw.team.%player%} to "none" on quit: set {bw.play.%player%} to false set {bw.team.%player%} to "none" remove 1 from {bw.arena.player.%{bw.arena.play.%player%}%} if {bw.redteam.%{bw.arena.play.%player%}%::*} is player: delete {bw.redteam.%{bw.arena.play.%player%}%::*} set {bed.redteam.available.%{bw.arena.play.%player%}%} to "-" set {player.redteam} to 0 stop if {bw.blueteam.%{bw.arena.play.%player%}%::*} is player: delete {bw.blueteam.%{bw.arena.play.%player%}%::*} set {bed.blueteam.available.%{bw.arena.play.%player%}%} to "-" set {player.blueteam} to 0 stop if {bw.greenteam.%{bw.arena.play.%player%}%::*} is player: delete {bw.greenteam.%{bw.arena.play.%player%}%::*} set {bed.greenteam.available.%{bw.arena.play.%player%}%} to "-" set {player.greenteam} to 0 stop if {bw.yellowteam.%{bw.arena.play.%player%}%::*} is player: delete {bw.yellowteam.%{bw.arena.play.%player%}%::*} set {bed.yellowteam.available.%{bw.arena.play.%player%}%} to "-" set {player.yellowteam} to 0 stop on join: if player is op: wait 3 seconds send "&b----------------------------------------------------" send "" send " &eLightTeam-BEDWARS &bBy SzymexMC , 1_Oskar_1" send " &bLT-BEDWARS v0.1" send "" send " &eDostepne Tryby: &7SOLO" send " &eDostepne Druzyny: &74" send " &eKomendy Pomoc: &7ltbedwars,ltbw" send "" send "&b---------------------------------------------------" options: prefix: [&e&lBedWars&f] command /ltbedwars [] [] [] []: aliases: ltbw trigger: if arg 1 is not set: if player has permission "bw.admin" or "bw.help": send "&e-------------------------------------------" send "" send " &bWYMAGANE PLUGINY: " send " &7WorldEdit" send " &7WorldGuard" send " &7Erastz" send " &7Skript 2.2" send " &7SkDragon" send " &7SkQuery" send " &7Skellett" send " &7skrayfall" send " &7SkMorkaz" send "" send "&7TEAM - &cRED &9BLUE &aGREEN &eYELLOW" send "" send "&7/ltbw create - aby stworzyc arene" send "&7/ltbw delete - usun arene!" send "&7/ltbw setmainlobby - ustaw glowne lobby" send "&7/ltbw setlobby - ustaw lobby areny" send "&7/ltbw setspec - ustaw spectator lobby" send "&7/ltbw setspawnteam - Ustaw spawn Teamu!" send "&7/ltbw setteampos <1/2> - Ustaw pozycje beda druzyny!" send "&7/ltbw setbed - Ustaw Bed druzyny!" send "&7/ltbw setmaxplayers - ustaw maksymalna ilosc graczy!" send "&7/ltbw setminplayers - ustaw ilosc graczy do zaczecia areny!" send "&7/ltbw setspawner - ustaw spawner danego TEAMU" send "&7/ltbw addspawner emerald/diamond - dodaj generatory diamond i emerald" send "&7/ltbw pos <1/2> - ustaw pozycje areny!" send "&7/ltbw list - zobacz liste wszystkich aren!" send "&7/ltbw save - zapisz Arene!" send "" send "&7Komendy Sklep - /bwshop" send "&7Komendy Upgrade - /bwupgrade" send "" send "&e-------------------------------------------" send "&e-------------------------------------------" send "" send "&7/bw randomjoin - Losowa Arena!" send "&7/bw join - Wejdz na Arene!" send "" send "&e-------------------------------------------" stop if arg 1 is "create": if arg 2 is set: if {bw.create.%arg 2%} is true: send "{@prefix} &cArena juz Istnieje!" stop send "{@prefix} &eStworzono arene Pomyslnie!" set {bw.create.%arg 2%} to true set {bw.arena.player.%arg 2%} to 0 stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setmainlobby": send "{@prefix} &eUstawiles Glowne lobby BEDWARS!" set {mainlobby.ltbedwars} to location of player stop if arg 1 is "setlobby": if arg 2 is set: if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono lobby na arenie!" set {lobby.arenabw.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setspec": if arg 2 is set: if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Lobby Spectator" set {spec.arenabw.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setspawnteam": if arg 2 is set: if arg 3 is "red": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono spawn druzyny &c&lRED" set {bw.spawnteam.red.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "blue": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono spawn druzyny &9&lBLUE" set {bw.spawnteam.blue.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "green": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono spawn druzyny &a&lGREEN" set {bw.spawnteam.green.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "yellow": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono spawn druzyny &e&lYELLOW" set {bw.spawnteam.yellow.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBLAD &cZly Team! &7TEAM - &cRED &9BLUE &aGREEN &eYELLOW" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setteampos": if arg 2 is set: if arg 3 is "red": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 1 Druzyny &c&lRED &e!" execute player command "//pos1" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 2 Druzyny &c&lRED &e!" execute player command "//pos2" wait 0.5 seconds execute player command "/rg create bw-%arg 2%-teampos-red" wait 0.1 seconds make player execute command "region flag bw-%arg 2%-teampos-red pvp allow" make player execute command "region flag bw-%arg 2%-teampos-red block-break allow" make player execute command "region flag bw-%arg 2%-teampos-red block-place allow" make player execute command "region flag bw-%arg 2%-teampos-red use allow" make player execute command "region flag bw-%arg 2%-teampos-red chest-access allow" make player execute command "region flag bw-%arg 2%-teampos-red tnt deny" stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &4&lBLAD &cZly Pozycje! 1/2" stop if arg 3 is "blue": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 1 Druzyny &9&lBLUE &e!" execute player command "//pos1" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 2 Druzyny &9&lBLUE &e!" execute player command "//pos2" wait 0.5 seconds execute player command "/rg create bw-%arg 2%-teampos-blue" wait 0.1 seconds make player execute command "region flag bw-%arg 2%-teampos-blue pvp allow" make player execute command "region flag bw-%arg 2%-teampos-blue block-break allow" make player execute command "region flag bw-%arg 2%-teampos-blue block-place allow" make player execute command "region flag bw-%arg 2%-teampos-blue use allow" make player execute command "region flag bw-%arg 2%-teampos-blue chest-access allow" make player execute command "region flag bw-%arg 2%-teampos-blue tnt deny" stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &4&lBLAD &cZly Pozycje! 1/2" stop if arg 3 is "green": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 1 Druzyny &a&lGREEN &e!" execute player command "//pos1" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 2 Druzyny &a&lGREEN &e!" execute player command "//pos2" wait 0.5 seconds execute player command "/rg create bw-%arg 2%-teampos-green" wait 0.1 seconds make player execute command "region flag bw-%arg 2%-teampos-green pvp allow" make player execute command "region flag bw-%arg 2%-teampos-green block-break allow" make player execute command "region flag bw-%arg 2%-teampos-green block-place allow" make player execute command "region flag bw-%arg 2%-teampos-green use allow" make player execute command "region flag bw-%arg 2%-teampos-green chest-access allow" make player execute command "region flag bw-%arg 2%-teampos-green tnt deny" stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &4&lBLAD &cZly Pozycje! 1/2" stop if arg 3 is "yellow": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 1 Druzyny &e&lYELLOW &e!" execute player command "//pos1" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pozycje 2 Druzyny &e&lYELLOW &e!" execute player command "//pos2" wait 0.5 seconds execute player command "/rg create bw-%arg 2%-teampos-yellow" wait 0.1 seconds make player execute command "region flag bw-%arg 2%-teampos-yellow pvp allow" make player execute command "region flag bw-%arg 2%-teampos-yellow block-break allow" make player execute command "region flag bw-%arg 2%-teampos-yellow block-place allow" make player execute command "region flag bw-%arg 2%-teampos-yellow use allow" make player execute command "region flag bw-%arg 2%-teampos-yellow chest-access allow" make player execute command "region flag bw-%arg 2%-teampos-yellow tnt deny" stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &4&lBLAD &cZly Pozycje! 1/2" stop send "&4&lBLAD &cZly Team! &7TEAM - &cRED &9BLUE &aGREEN &eYELLOW" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setmaxplayers": if arg 2 is set: if arg 3 is "1": if {bw.create.%arg 2%} is true: send "&4&lBLAD &cPrzeciesz sa 4 Teamy! USTAW na 4" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "2": if {bw.create.%arg 2%} is true: send "&4&lBLAD &cPrzeciesz sa 4 Teamy! USTAW na 4" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "3": if {bw.create.%arg 2%} is true: send "&4&lBLAD &cPrzeciesz sa 4 Teamy! USTAW na 4" stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "4": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono max player na 4!" set {bw.maxplayers.%arg 2%} to 4 stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBLAD &cBylo napisane MAX: 4 !" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setminplayers": if arg 2 is set: if arg 3 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono minplayers na 1" set {bw.minplayers.%arg 2%} to 1 stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono minplayers na 2" set {bw.minplayers.%arg 2%} to 2 stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "3": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono minplayers na 3" set {bw.minplayers.%arg 2%} to 3 stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBLAD &cBylo napisane MAX: 3 !" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "setspanwer": if arg 2 is set: if arg 3 is "red": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiles Generator druzyny &c&lRED" set {bw.gen.iron.%arg 2%.red} to location of player set {bw.gen.iron.%arg 2%.2.red} to location of player set {bw.gen.gold.%arg 2%.red} to location of player set {bw.gen.gold.%arg 2%.2.red} to location of player set {bw.gen.emerald.%arg 2%.red} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "blue": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiles Generator druzyny &9&lBLUE" set {bw.gen.iron.%arg 2%.blue} to location of player set {bw.gen.iron.%arg 2%.2.blue} to location of player set {bw.gen.gold.%arg 2%.blue} to location of player set {bw.gen.gold.%arg 2%.2.blue} to location of player set {bw.gen.emerald.%arg 2%.blue} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "green": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiles Generator druzyny &a&lGREEN" set {bw.gen.iron.%arg 2%.green} to location of player set {bw.gen.iron.%arg 2%.2.green} to location of player set {bw.gen.gold.%arg 2%.green} to location of player set {bw.gen.gold.%arg 2%.2.green} to location of player set {bw.gen.emerald.%arg 2%.green} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "yellow": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiles Generator druzyny &e&lYELLOW" set {bw.gen.iron.%arg 2%.yellow} to location of player set {bw.gen.iron.%arg 2%.2.yellow} to location of player set {bw.gen.gold.%arg 2%.yellow} to location of player set {bw.gen.gold.%arg 2%.2.yellow} to location of player set {bw.gen.emerald.%arg 2%.yellow} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBLAD &cZly Team! &7TEAM - &cRED &9BLUE &aGREEN &eYELLOW" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "addspawner": if arg 2 is set: if arg 3 is "diamond": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &bDIAMOND &a1!" set {bw.gen.diamond.%arg 2%.1} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &bDIAMOND &a2!" set {bw.gen.diamond.%arg 2%.2} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "3": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &bDIAMOND &a3!" set {bw.gen.diamond.%arg 2%.3} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "4": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &bDIAMOND &a4!" set {bw.gen.diamond.%arg 2%.4} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBALD &cMozebyc max 4 generatory!" stop if arg 3 is "emerald": if arg 4 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &aEMERALD &a1!" set {bw.gen.emerald.%arg 2%.1} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &aEMERALD &a2!" set {bw.gen.emerald.%arg 2%.2} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "3": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &aEMERALD &a3!" set {bw.gen.emerald.%arg 2%.3} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 4 is "4": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono Generator &aEMERALD &a4!" set {bw.gen.emerald.%arg 2%.4} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBALD &cMozebyc max 4 generatory!" stop send "&4&lBALD &cZly Argument!" stop if arg 1 is "pos": if arg 2 is set: if arg 3 is "1": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pos 1 dla areny!" set {bw.pos.1.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop if arg 3 is "2": if {bw.create.%arg 2%} is true: send "{@prefix} &eUstawiono pos 2 dla areny!" set {bw.pos.2.%arg 2%} to location of player stop send "{@prefix} &cNie ma takiej areny!" stop send "&4&lBLAD &cMozesz tylko 1 lub 2!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "save": if arg 2 is set: if {bw.create.%arg 2%} is true: loop blocks within {bw.pos.1.%arg 2%} to {bw.pos.2.%arg 2%}: if loop-block is not air: set {bw.%arg 2%.blocks::%location of loop-block%} to type of block at loop-block wait 3 seconds add arg 2 to {bw.randomjoin.map::*} send "{@prefix} &aZapisano arene %arg 2%!" stop stop stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "delete": if arg 2 is set: if {bw.create.%arg 2%} is true: send "{@prefix} &eUsunoles arene %arg 2%!" remove arg 2 from {bw.randomjoin.map::*} set {bw.create.%arg 2%} to false make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-red" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-blue" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-green" make player execute command "region delete bw-%arg 2%-teampos-yellow" make player execute command "region delete bw-%arg 2%-teampos-yellow" make player execute command "region delete bw-%arg 2%-teampos-yellow" make player execute command "region delete bw-%arg 2%-teampos-yellow" make player execute command "region delete bw-%arg 2%-teampos-yellow" make player execute command "region delete bw-%arg 2%-teampos-yellow" delete {bw.pos.1.%arg 2%} delete {bw.pos.2.%arg 2%} stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "list": if {bw.randomjoin.map::*} is set: send "&b-----------------------------" send "" send " &7Tryb: &eSOLO" send "" send " &3%{bw.randomjoin.map::*}%" send "" send " &7Tryb: &eDUOBLES" send "" send " &cWKROTCE!" send "" send " &7Tryb: &eTRIO" send "" send " &cWKROTCE!" send "" send " &7Tryb: &eSQUAD" send "" send " &cWKROTCE!" send "" send "&b-----------------------------" stop send "&b-----------------------------" send "" send " &7Tryb: &eSOLO" send "" send " &cNIE MA ZADNYCH MAP!" send "" send " &7Tryb: &eDUOBLES" send "" send " &cWKROTCE!" send "" send " &7Tryb: &eTRIO" send "" send " &cWKROTCE!" send "" send " &7Tryb: &eSQUAD" send "" send " &cWKROTCE!" send "" send "&b-----------------------------" stop if arg 1 is "join": if arg 2 is set: if {bw.create.%arg 2%} is true: if {bw.arena.player.%arg 2%} is bigger or equal to 4: send "{@prefix} &cArena jest Pelna!" stop if {bw.team.%player%} is "none": if {bw.redteam.%arg 2%::*} is not set: set {bw.team.%player%} to "red" add player to {bw.redteam.%arg 2%::*} teleport player to {lobby.arenabw.%arg 2%} add player to {bw.play.%arg 2%::*} add 1 to {bw.arena.player.%arg 2%} set {bw.play.%player%} to true set {bw.arena.play.%player%} to "%arg 2%" wait 0.3 seconds loop {bw.play.%arg 2%::*}: send "{@prefix} &eDolancza do gry! &7%{bw.arena.player.%arg 2%}%&8/&74" to loop-value stop if {bw.blueteam.%arg 2%::*} is not set: set {bw.team.%player%} to "blue" add player to {bw.blueteam.%arg 2%::*} teleport player to {lobby.arenabw.%arg 2%} add player to {bw.play.%arg 2%::*} add 1 to {bw.arena.player.%arg 2%} set {bw.play.%player%} to true set {bw.arena.play.%player%} to "%arg 2%" wait 0.3 seconds loop {bw.play.%arg 2%::*}: send "{@prefix} &eDolancza do gry! &7%{bw.arena.player.%arg 2%}%&8/&74" to loop-value stop if {bw.greenteam.%arg 2%::*} is not set: set {bw.team.%player%} to "green" add player to {bw.greenteam.%arg 2%::*} teleport player to {lobby.arenabw.%arg 2%} add player to {bw.play.%arg 2%::*} add 1 to {bw.arena.player.%arg 2%} set {bw.play.%player%} to true set {bw.arena.play.%player%} to "%arg 2%" wait 0.3 seconds loop {bw.play.%arg 2%::*}: send "{@prefix} &eDolancza do gry! &7%{bw.arena.player.%arg 2%}%&8/&74" to loop-value stop if {bw.yellowteam.%arg 2%::*} is not set: set {bw.team.%player%} to "yellow" add player to {bw.yellowteam.%arg 2%::*} teleport player to {lobby.arenabw.%arg 2%} add player to {bw.play.%arg 2%::*} add 1 to {bw.arena.player.%arg 2%} set {bw.play.%player%} to true set {bw.arena.play.%player%} to "%arg 2%" wait 0.3 seconds loop {bw.play.%arg 2%::*}: send "{@prefix} &eDolancza do gry! &7%{bw.arena.player.%arg 2%}%&8/&74" to loop-value stop stop stop send "{@prefix} &cNie ma takiej areny!" stop send "{@prefix} &cpodaj nazwe areny!" stop if arg 1 is "leave": if {bw.play.%player%} is true: set {bw.play.%player%} to false remove 1 from {bw.arena.player.%{bw.arena.play.%player%}%} remove player from {bw.play.%{bw.arena.play.%player%}%::*} if {bw.team.%player%} is "red": set {bw.team.%player%} to "none" remove player from {bw.redteam.%arg 2%::*} send "{@prefix} &eOpusciles Arene!" loop {bw.play.%{bw.arena.play.%player%}%::*}: send "{@prefix} &eGracz %player% opuscil arene &7%{bw.arena.player.%{bw.arena.play.%player%}%}%&8/&74" to loop-value stop if {bw.team.%player%} is "blue": set {bw.team.%player%} to "none" remove player from {bw.blueteam.%arg 2%::*} send "{@prefix} &eOpusciles Arene!" loop {bw.play.%{bw.arena.play.%player%}%::*}: send "{@prefix} &eGracz %player% opuscil arene &7%{bw.arena.player.%{bw.arena.play.%player%}%}%&8/&74" to loop-value stop if {bw.team.%player%} is "green": set {bw.team.%player%} to "none" remove player from {bw.greenteam.%arg 2%::*} send "{@prefix} &eOpusciles Arene!" loop {bw.play.%{bw.arena.play.%player%}%::*}: send "{@prefix} &eGracz %player% opuscil arene &7%{bw.arena.player.%{bw.arena.play.%player%}%}%&8/&74" to loop-value stop if {bw.team.%player%} is "yellow": set {bw.team.%player%} to "none" remove player from {bw.yellowteam.%arg 2%::*} send "{@prefix} &eOpusciles Arene!" loop {bw.play.%{bw.arena.play.%player%}%::*}: send "{@prefix} &eGracz %player% opuscil arene &7%{bw.arena.player.%{bw.arena.play.%player%}%}%&8/&74" to loop-value stop stop send "{@prefix} &cNie jestes w grze!" stop send "&4&lBLAD &cZly Argument! napisz /ltbw" stop on any move: if {bw.play.%player%} is true: if {bw.gamestart.%{bw.arena.play.%player%}%} is 0: if {bw.arena.player.%{bw.arena.play.%player%}%} is bigger or equal to "%{bw.minplayers.%{bw.arena.play.%player%}%}%": set {bw.gamestart.%{bw.arena.play.%player%}%} to 1 loop {bw.play.%{bw.arena.play.%player%}%::*}: send "{@prefix} &eGra Rozpocznie sie za 30 sekund!" to loop-value wait 15 seconds send "{@prefix} &eGra Rozpocznie sie za 15 sekund!" to loop-value wait 5 seconds send "{@prefix} &eGra Rozpocznie sie za 10 sekund!" to loop-value wait 5 seconds send "{@prefix} &eGra Rozpocznie sie za &c5!" to loop-value wait 1 seconds send "{@prefix} &eGra Rozpocznie sie za &64!" to loop-value wait 1 seconds send "{@prefix} &eGra Rozpocznie sie za &e3!" to loop-value wait 1 seconds send "{@prefix} &eGra Rozpocznie sie za &22!" to loop-value wait 1 seconds send "{@prefix} &eGra Rozpocznie sie za &a1!" to loop-value wait 1 seconds if {bw.arena.player.%{bw.arena.play.%player%}%} is bigger or equal to "%{bw.minplayers.%{bw.arena.play.%player%}%}%": send "{@prefix} &a&lGRA ROZPOCZETA!" to loop-value send "&7-------------------------------------------" to loop-value send "" to loop-value send " &6&lBEDWARS" to loop-value send " &aChron Swoje lozko przed innym! Rozwalan" to loop-value send " &ainnym lozka zaby wygrac! zbieras surowce" to loop-value send " &aby kupywac bloki ulepszenia i inne!" to loop-value send " &aMILEJ GRY!" to loop-value send "" to loop-value send "&7-------------------------------------------" to loop-value stop send "{@prefix} &cZa Malo graczy! Przerywam odlicznie!" stop command /ltbwreset: permission: * trigger: set {bw.gamestart.%{bw.arena.play.%player%}%} to 0 set {bw.arena.player.%{bw.arena.play.%player%}%} to 0 command /bwsetstatus11111112: trigger: if {bw.redteam.%{bw.arena.play.%player%}%::*} is set: set {bed.redteam.available.%{bw.arena.play.%player%}%} to "+" set {player.redteam} to 1 if {bw.blueteam.%{bw.arena.play.%player%}%::*} is set: set {bed.blueteam.available.%{bw.arena.play.%player%}%} to "+" set {player.blueteam} to 1 if {bw.greenteam.%{bw.arena.play.%player%}%::*} is set: set {bed.greenteam.available.%{bw.arena.play.%player%}%} to "+" set {player.greenteam} to 1 if {bw.yellowteam.%{bw.arena.play.%player%}%::*} is set: set {bed.yellowteam.available.%{bw.arena.play.%player%}%} to "+" set {player.yellowteam} to 1 if {bw.redteam.%{bw.arena.play.%player%}%::*} is not set: set {bed.redteam.available.%{bw.arena.play.%player%}%} to "-" set {player.redteam} to 0 if {bw.blueteam.%{bw.arena.play.%player%}%::*} is not set: set {bed.blueteam.available.%{bw.arena.play.%player%}%} to "-" set {player.blueteam} to 0 if {bw.greenteam.%{bw.arena.play.%player%}%::*} is not set: set {bed.greenteam.available.%{bw.arena.play.%player%}%} to "-" set {player.greenteam} to 0 if {bw.yellowteam.%{bw.arena.play.%player%}%::*} is not set: set {bed.yellowteam.available.%{bw.arena.play.%player%}%} to "-" set {player.yellowteam} to 0 teleport {bw.redteam.%{bw.arena.play.%player%}%::*} to {bw.spawnteam.red.%{bw.arena.play.%player%}%} teleport {bw.blueteam.%{bw.arena.play.%player%}%::*} to {bw.spawnteam.blue.%{bw.arena.play.%player%}%} teleport {bw.greenteam.%{bw.arena.play.%player%}%::*} to {bw.spawnteam.green.%{bw.arena.play.%player%}%} teleport {bw.yellowteam.%{bw.arena.play.%player%}%::*} to {bw.spawnteam.yellow.%{bw.arena.play.%player%}%} give 1 wooden sword to {bw.play.%{bw.arena.play.%player%}%::*}