#=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Autor: Kusko321 # Version: 1.0 # Website: Kusko321.pl | 178.33.45.181 # Skrypt Wymaga: Skript, WildSkript, SkQuery # Dodatek: Dodatek do Wszystkich skrytpow by: kusko321 #=-=-=-=-=-=-=-=-=-=-=-=-=-=- options: fileKTCT: plugins/Skript/scripts/YML/KTeam/Teamy/ fileKTZT: YML/KTeam/Teamy/ fileKTCG: plugins/Skript/scripts/YML/KTeam/Gracze/ fileKTZG: YML/KTeam/Gracze/ fileKTC: YML/KTeam/Config.yml fileKPC: YML/KParty/Config.yml fileKPCP: plugins/Skript/scripts/YML/KParty/Party/ fileKPZP: YML/KParty/Party/ fileKPCG: plugins/Skript/scripts/YML/KParty/Gracze/ fileKPZG: YML/KParty/Gracze/ fileKRCG: plugins/Skript/scripts/YML/KRanking/Gracze/ fileKRZG: YML/KRanking/Gracze/ fileKXCK: plugins/Skript/scripts/YML/KXvsx/Kolejka/ fileKXZK: YML/KXvsx/Kolejka/ fileKXCG: plugins/Skript/scripts/YML/KXvsx/Gry/ fileKXZG: YML/KXvsx/Gry/ fileKXCA: plugins/Skript/scripts/YML/KXvsx/Areny/ fileKXZA: YML/KXvsx/Areny/ fileKXCC: plugins/Skript/scripts/YML/KXvsx/Config/ fileKXZC: YML/KXvsx/Config/ fileVer: YML/Version/ on load: set yaml value "KPanel" from file "{@fileVer}Version.yml" to "1.0" command /KPanel []: trigger: if player has permission "KPanel.command" or "KPanel.*": if arg 1 is not set: send "&7┌───────────────" send "&7│" send "&7│ &8[&e!&8] &eUstawienia skryptow" send "&7│" if file "plugins/Skript/scripts/KXvsx.sk" exists: send json "&7│ &eKXvsX Konfigruacja &8[&6AKXVSX&8]" tooltip " " run "/AKXVSX" to player if file "plugins/Skript/scripts/KParty.sk" exists: send json "&7│ &eKParty Konfigruacja &8[&6AKPARTY&8]" tooltip "" run "/AKPARTY" to player if file "plugins/Skript/scripts/KRanking.sk" exists: send json "&7│ &eKRanking Konfigruacja &8[&6AKRANKING&8]" tooltip "" run "/AKRANKING" to player if file "plugins/Skript/scripts/KTeam.sk" exists: send json "&7│ &eKTeam Konfigruacja &8[&6AKTEAM&8]" tooltip "" run "/AKTEAM" to player send "&7│" send "&7│ &8[&e!&8] &eSprawdz wersje + Update" send "&7│" send json "&7│ &8/&eKPanel Update" tooltip "&eWersja + Update" run "/Kpanel Update" to player send "&7│" send "&7└───────────────" if arg 1 is "Update": send "&7┌───────────────" send "&7│" send "&7│" send "&7│ &8[&e!&8] &eSprawdzam Version... Moze to troche potwarz " set {_versionX} to result of connect to "http://178.33.45.181/Version/KXvsx" wait 2 tick set {_versionT} to result of connect to "http://178.33.45.181/Version/KTeam" wait 2 tick set {_versionP} to result of connect to "http://178.33.45.181/Version/KParty" wait 2 tick set {_versionR} to result of connect to "http://178.33.45.181/Version/KRanking" wait 2 tick set {_versionPa} to result of connect to "http://178.33.45.181/Version/KPanel" wait 2 tick send "&7│" send "&7│ &eLegenda:" send "&7│ &2Kolor&8: &eWykryto Skrypty" send "&7│ &6Kolor&8: &eNowa Wersja Skryptu" send "&7│ &4Kolor&8: &eBrak Skryptu" send "&7│" set {_versionXU} to yaml value "KXvsX" from file "{@fileVer}Version.yml" set {_versionTU} to yaml value "KTeam" from file "{@fileVer}Version.yml" set {_versionPU} to yaml value "KParty" from file "{@fileVer}Version.yml" set {_versionRU} to yaml value "KRanking" from file "{@fileVer}Version.yml" set {_versionPaU} to yaml value "KPanel" from file "{@fileVer}Version.yml" #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if file "plugins/Skript/scripts/KXvsx.sk" doesn't exists: send json "&7│ &4KXvsX" tooltip "&eNie ma takiego plkiu, kliknij tutaj aby go pobrac!" run "/DKXvsx" to player else: if {_versionXU} is {_versionX}: send json "&7│ &2KXvsX&8: &eWersja &e%{_versionXU}%" tooltip "&eMozesz tutaj kliknac i ustawic skrypt" run "/AKXvsx" to player else: send json "&7│ &6KXvsX&8: &eNowa wersja &e%{_versionX}% &e| Kliknij aby pobrac" tooltip "&eNowy update, kliknij tutaj aby go pobrac" run "/DKXvsx" to player #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if file "plugins/Skript/scripts/KParty.sk" doesn't exists: send json "&7│ &4KParty &eNie wykryto" tooltip "&eNie ma takiego plkiu, kliknij tutaj aby go pobrac!" run "/DKParty" to player else: if {_versionPU} is {_versionP}: send json "&7│ &2KParty&8: &eWersja &e%{_versionTU}%" tooltip "&eMozesz tutaj kliknac i ustawic skrypt" run "/AKParty" to player else: send json "&7│ &6KParty&8: &eNowa wersja &e%{_versionT}% &e| Kliknij aby pobrac" tooltip "&eNowy update, kliknij tutaj aby go pobrac" run "/DKParty" to player #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if file "plugins/Skript/scripts/KTeam.sk" doesn't exists: send json "&7│ &4KTeam &eNie wykryto" tooltip "&eNie ma takiego plkiu, kliknij tutaj aby go pobrac!" run "/DKTeam" to player else: if {_versionPU} is {_versionP}: send json "&7│ &2KTeam&8: &eWersja &e%{_versionPU}%" tooltip "&eMozesz tutaj kliknac i ustawic skrypt" run "/AKTeam" to player else: send json "&7│ &6KTeam&8: &eNowa wersja &e%{_versionP}% &e| Kliknij aby pobrac" tooltip "&eNowy update, kliknij tutaj aby go pobrac" run "/DKTeam" to player #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if file "plugins/Skript/scripts/KRanking.sk" doesn't exists: send json "&7│ &4KRanking &eNie wykryto" tooltip "&eNie ma takiego plkiu, kliknij tutaj aby go pobrac!" run "/DKRanking" to player else: if {_versionPU} is {_versionP}: send json "&7│ &2KRanking&8: &eWersja &e%{_versionRU}%" tooltip "&eMozesz tutaj kliknac i ustawic skrypt" run "/AKRanking" to player else: send json "&7│ &6KRanking&8: &eNowa wersja &e%{_versionR}% &e| Kliknij aby pobrac" tooltip "&eNowy update, kliknij tutaj aby go pobrac" run "/DKRanking" to player #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ if file "plugins/Skript/scripts/KPanel.sk" doesn't exists: send json "&7│ &4KPanel &eNie wykryto" tooltip "&eNie ma takiego plkiu, kliknij tutaj aby go pobrac!" run "/DKPanel" to player else: if {_versionPU} is {_versionP}: send json "&7│ &2KPanel&8: &eWersja &e%{_versionPaU}%" tooltip "&eMozesz tutaj kliknac i ustawic skrypt" run "/AKPanel" to player else: send json "&7│ &6KPanel&8: &eNowa wersja &e%{_versionPa}%" tooltip "&eNowy update, kliknij tutaj aby go pobrac" run "/DKPanel" to player #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ send "&7│" send "&7└───────────────" command /DKXvsx: trigger: if player has permission "KPanel.command" or "KPanel.*": send "&7┌───────────────" send "&7│" send "&7│ &ePobieram nowa wersje ..." send "&7│" send "&7└───────────────" set {_downl} to result of connect to "http://178.33.45.181/Update/KXvsx" download from "%{_downl}%" to file "plugins/Skript/scripts/KXvsx.sk" send "&7┌───────────────" send "&7│" send "&7│ &ePobieranie zakonczone" send "&7│" send "&7└───────────────" command /DKParty: trigger: if player has permission "KPanel.command" or "KPanel.*": send "&7┌───────────────" send "&7│" send "&7│ &ePobieram nowa wersje ..." send "&7│" send "&7└───────────────" set {_downl} to result of connect to "http://178.33.45.181/Update/KParty" download from "%{_downl}%" to file "plugins/Skript/scripts/KParty.sk" send "&7┌───────────────" send "&7│" send "&7│ &ePobieranie zakonczone" send "&7│" send "&7└───────────────" command /DKTeam: trigger: if player has permission "KPanel.command" or "KPanel.*": send "&7┌───────────────" send "&7│" send "&7│ &ePobieram nowa wersje ..." send "&7│" send "&7└───────────────" set {_downl} to result of connect to "http://178.33.45.181/Update/KTeam" download from "%{_downl}%" to file "plugins/Skript/scripts/KTeam.sk" send "&7┌───────────────" send "&7│" send "&7│ &ePobieranie zakonczone" send "&7│" send "&7└───────────────" command /DKRanking: trigger: if player has permission "KPanel.command" or "KPanel.*": send "&7┌───────────────" send "&7│" send "&7│ &ePobieram nowa wersje ..." send "&7│" send "&7└───────────────" set {_downl} to result of connect to "http://178.33.45.181/Update/KRanking" download from "%{_downl}%" to file "plugins/Skript/scripts/KRanking.sk" send "&7┌───────────────" send "&7│" send "&7│ &ePobieranie zakonczone" send "&7│" send "&7└───────────────" command /DKPanel: trigger: if player has permission "KPanel.command" or "KPanel.*": send "&7┌───────────────" send "&7│" send "&7│ &ePobieram nowa wersje ..." send "&7│" send "&7└───────────────" set {_downl} to result of connect to "http://178.33.45.181/Update/KPanel" download from "%{_downl}%" to file "plugins/Skript/scripts/KPanel.sk" send "&7┌───────────────" send "&7│" send "&7│ &ePobieranie zakonczone" send "&7│" send "&7└───────────────" # -------------------------------------------------------------------------- Start [AKP] command /AKXvsx [] [] [] [] [] []: trigger: if player has permission "KXvsx.admin" or "KXvsx.*": if arg 1 is not set: if file "plugins/Skript/scripts/KXvsx.sk" exists: send "&7┌───────────────" send "&7│" send json "&7│ &eUstawienia Poczekalnie, Aren &8[&6AKXvsx Tele&8]" tooltip "&eUstaw wszystkie Teleporty%nl%&eAreny: &61vs1, 2vs2 i 3vs3" run "/AKXvsx Tele" to player send json "&7│ &eUstawienia Ekwipunku &8[&6AKXvsx Eq&8]" tooltip "&eUstawia ekwipunek do walki%nl%&eAreny: &61vs1, 2vs2 i 3vs3" run "/AKXvsx Eq" to player send "&7│" send "&7└───────────────" else: send "&7┌───────────────" send "&7│" send "&7│ &8[&c!&8] &cNie wykryto pliku!" send "&7│" send "&7└───────────────" if arg 1 is "Tele": if arg 2 is not set: send "&7┌───────────────" send "&7│" send json "&7│ &eUstaw Spawn &8[&6AKXvsx Tele Ustaw Spawn&8]" tooltip "&eUstaw Teleport na spawn" run "/AKXvsx Tele Ustaw Spawn " to player send json "&7│ &eZobacz Spawn &8[&6AKXvsx Tele Zobacz Spawn &8]" tooltip "&eTeleportuje na spawn" run "/AKXvsx Tele Zobacz Spawn " to player send "&7│" send json "&7│ &eUstaw Poczekalnie &8[&6AKXvsx Tele Ustaw Pocz &8]" tooltip "&eUstaw Teleport na spawn" run "/AKXvsx Tele Ustaw Pocz " to player send json "&7│ &eZobacz Poczekalnie &8[&6AKXvsx Tele Zobacz Pocz &8]" tooltip "&eTeleportuje na spawn" run "/AKXvsx Tele Zobacz Pocz " to player send "&7│" send json "&7│ &eUstaw Areny &8[&6AKXvsx Tele Ustaw Areny &8]" tooltip "&eUstaw Teleport na spawn" run "/AKXvsx Tele Ustaw Areny " to player send json "&7│ &eZobacz Areny &8[&6AKXvsx Tele Zobacz Areny &8]" tooltip "&eTeleportuje na spawn" run "/AKXvsx Tele Zobacz Areny " to player send "&7│" send "&7└───────────────" if arg 2 is "Ustaw": if arg 3 is "Spawn": set {_x} to player's x location set {_y} to player's y location set {_z} to player's z location set yaml value "Spawn.X" from file "{@fileKXZC}Teleporty.yml" to "%{_x}%" set yaml value "Spawn.Y" from file "{@fileKXZC}Teleporty.yml" to "%{_y}%" set yaml value "Spawn.Z" from file "{@fileKXZC}Teleporty.yml" to "%{_z}%" set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eTeleport zosta ustawiony!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" if arg 3 is "Pocz": if arg 4 is not set: if arg 5 is not set: send "&7┌───────────────" send "&7│" send "&7│ &eLista poczekalni:" send "&7│ &e1vs1:" send json "&7│ &6- Solo" tooltip "&eTeleport na poczekalnie 1vs1 Solo" run "/AKXvsx Tele Ustaw Pocz 1 Solo" to player send "&7│ &e2vs2:" send json "&7│ &6- Solo" tooltip "&eTeleport na poczekalnie 2vs2 Solo" run "/AKXvsx Tele Ustaw Pocz 2 Solo" to player send json "&7│ &6- Team" tooltip "&eTeleport na poczekalnie 2vs2 Team" run "/AKXvsx Tele Ustaw Pocz 2 Team" to player send json "&7│ &6- Party" tooltip "&eTeleport na poczekalnie 2vs2 Party" run "/AKXvsx Tele Ustaw Pocz 2 Party" to player send "&7│ &e3vs3:" send json "&7│ &6- Solo" tooltip "&eTeleport na poczekalnie 3vs3 Solo" run "/AKXvsx Tele Ustaw Pocz 3 Solo" to player send json "&7│ &6- Team" tooltip "&eTeleport na poczekalnie 3vs3 Team" run "/AKXvsx Tele Ustaw Pocz 3 Team" to player send json "&7│ &6- Party" tooltip "&eTeleport na poczekalnie 3vs3 Party" run "/AKXvsx Tele Ustaw Pocz 3 Party" to player send "&7│ " send "&7│ &eKliknij na poczekalnie która cie interesuje" send "&7└───────────────" if arg 4 is "1", "2" or "3": if arg 5 is "Solo", "Team" or "Party": set {_x} to player's x location set {_y} to player's y location set {_z} to player's z location set yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.X" from file "{@fileKXZC}Teleporty.yml" to "%{_x}%" set yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.Y" from file "{@fileKXZC}Teleporty.yml" to "%{_y}%" set yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.Z" from file "{@fileKXZC}Teleporty.yml" to "%{_z}%" set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eTeleport zosta ustawiony!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" if arg 3 is "Areny": if arg 4 is not set: if arg 5 is not set: if arg 6 is not set: send "&7┌───────────────" send "&7│" send "&7│ &eLista poczekalni:" send "&7│ &e1vs1:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 1vs1 Solo 1 Grupa" run "/AKXvsx Tele Ustaw Areny 1 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 1vs1 Solo 2 Grupa" run "/AKXvsx Tele Ustaw Areny 1 Solo 2" to player send "&7│ &e2vs2:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 2vs2 Solo 1 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 2vs2 Solo 2 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Solo 2" to player send "&7│ &eTeam:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 2vs2 Team 1 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Team 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 2vs2 Team 2 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Team 2" to player send "&7│ &eParty:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 2vs2 Party 1 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Party 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 2vs2 Party 2 Grupa" run "/AKXvsx Tele Ustaw Areny 2 Party 2" to player send "&7│ &e3vs3:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 3vs3 Solo 1 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 3vs3 Solo 2 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Solo 2" to player send "&7│ &eTeam:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 3vs3 Team 1 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Team 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 3vs3 Team 2 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Team 2" to player send "&7│ &eParty:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 3vs3 Party 1 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Party 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 3vs3 Party 2 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Party 2" to player send "&7│ " send "&7│ &eKliknij na poczekalnie która cie interesuje" send "&7└───────────────" if arg 4 is "1", "2" or "3": if arg 5 is "Solo", "Team" or "Party": if arg 6 is "1" or "2": set {_x} to player's x location set {_y} to player's y location set {_z} to player's z location set yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.X" from file "{@fileKXZC}Teleporty.yml" to "%{_x}%" set yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.Y" from file "{@fileKXZC}Teleporty.yml" to "%{_y}%" set yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.Z" from file "{@fileKXZC}Teleporty.yml" to "%{_z}%" set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eTeleport zosta ustawiony!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" if arg 2 is "Zobacz": if arg 3 is "Spawn": set {_x} to yaml value "Spawn.X" from file "{@fileKXZC}Teleporty.yml" set {_y} to yaml value "Spawn.Y" from file "{@fileKXZC}Teleporty.yml" set {_z} to yaml value "Spawn.Z" from file "{@fileKXZC}Teleporty.yml" set {_x} to {_x} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_y} to {_y} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_z} to {_z} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eZostales przeteleportowany na spawn!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" teleport player to {_t} if arg 3 is "Pocz": if arg 4 is not set: if arg 5 is not set: send "&7┌───────────────" send "&7│" send "&7│ &eLista poczekalni:" send "&7│ &e1vs1:" send json "&7│ &6- Solo" tooltip "&eTeleportuj na poczekalnie 1vs1 Solo" run "/AKXvsx Tele Zobacz Pocz 1 Solo" to player send "&7│ &e2vs2:" send json "&7│ &6- Solo" tooltip "&eTeleportuj na poczekalnie 2vs2 Solo" run "/AKXvsx Tele Zobacz Pocz 2 Solo" to player send json "&7│ &6- Team" tooltip "&eTeleportuj na poczekalnie 2vs2 Team" run "/AKXvsx Tele Zobacz Pocz 2 Team" to player send json "&7│ &6- Party" tooltip "&eTeleportuj na poczekalnie 2vs2 Party" run "/AKXvsx Tele Zobacz Pocz 2 Party" to player send "&7│ &e3vs3:" send json "&7│ &6- Solo" tooltip "&eTeleportuj na poczekalnie 3vs3 Solo" run "/AKXvsx Tele Zobacz Pocz 3 Solo" to player send json "&7│ &6- Team" tooltip "&eTeleportuj na poczekalnie 3vs3 Team" run "/AKXvsx Tele Zobacz Pocz 3 Team" to player send json "&7│ &6- Party" tooltip "&eTeleportuj na poczekalnie 3vs3 Party" run "/AKXvsx Tele Zobacz Pocz 3 Party" to player send "&7│ " send "&7│ &eKliknij na poczekalnie która cie interesuje" send "&7└───────────────" if arg 4 is "1", "2" or "3": if arg 5 is "Solo", "Team" or "Party": set {_x} to yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.X" from file "{@fileKXZC}Teleporty.yml" set {_y} to yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.Y" from file "{@fileKXZC}Teleporty.yml" set {_z} to yaml value "Poczekalnia.%arg 4%vs%arg 4%.%arg 5%.Z" from file "{@fileKXZC}Teleporty.yml" set {_x} to {_x} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_y} to {_y} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_z} to {_z} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eZostales przeteleportowany na spawn!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" teleport player to {_t} if arg 3 is "Areny": if arg 4 is not set: if arg 5 is not set: if arg 6 is not set: send "&7┌───────────────" send "&7│" send "&7│ &eLista poczekalni:" send "&7│ &e1vs1:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleportuj na Arene 1vs1 Solo 1 Grupa" run "/AKXvsx Tele Zobacz Areny 1 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleportuj na Arene 1vs1 Solo 2 Grupa" run "/AKXvsx Tele Zobacz Areny 1 Solo 2" to player send "&7│ &e2vs2:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Solo 1 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Solo 2 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Solo 2" to player send "&7│ &eTeam:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Team 1 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Team 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Team 2 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Team 2" to player send "&7│ &eParty:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Party 1 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Party 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleportuj na Arene 2vs2 Party 2 Grupa" run "/AKXvsx Tele Zobacz Areny 2 Party 2" to player send "&7│ &e3vs3:" send "&7│ &eSolo:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleportuj na Arene 3vs3 Solo 1 Grupa" run "/AKXvsx Tele Zobacz Areny 3 Solo 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleportuj na Arene 3vs3 Solo 2 Grupa" run "/AKXvsx Tele Zobacz Areny 3 Solo 2" to player send "&7│ &eTeam:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 3vs3 Team 1 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Team 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 3vs3 Team 2 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Team 2" to player send "&7│ &eParty:" send json "&7│ &6- 1 Grupa" tooltip "&eTeleport na Arene 3vs3 Party 1 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Party 1" to player send json "&7│ &6- 2 Grupa" tooltip "&eTeleport na Arene 3vs3 Party 2 Grupa" run "/AKXvsx Tele Ustaw Areny 3 Party 2" to player send "&7│ " send "&7│ &eKliknij na poczekalnie która cie interesuje" send "&7└───────────────" if arg 4 is "1", "2" or "3": if arg 5 is "Solo", "Team" or "Party": if arg 6 is "1" or "2": set {_x} to yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.X" from file "{@fileKXZC}Teleporty.yml" set {_y} to yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.Y" from file "{@fileKXZC}Teleporty.yml" set {_z} to yaml value "Areny.%arg 4%vs%arg 4%.%arg 5%.%arg 6% Grupa.Z" from file "{@fileKXZC}Teleporty.yml" set {_x} to {_x} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_y} to {_y} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_z} to {_z} parsed as number # JE***NE PLIKI YML "is not a text" ........ set {_t} to location at {_x}, {_y}, {_z} send "&7┌───────────────" send "&7│" send "&7│ &eZostales przeteleportowany na spawn!" send "&7│ &eKordy: &6%{_t}%" send "&7│" send "&7└───────────────" teleport player to {_t} if arg 1 is "Eq": if arg 2 is not set: # ITEMY NIE BD W YML :< ZA DUZO KODU :> send "&7┌───────────────" send "&7│" send json "&7│ &eUstaw Eq &8[&eAXvsX Eq Ustaw&8]" tooltip " &8» &eUstawnienia Eq" run "/AKXvsX Eq Ustaw " to player send json "&7│ &ePokaz Eq &8[&eAXvsX Eq Pokaz&8]" tooltip " &8» &ePoksaz Eq" run "/AKXvsX Eq Pokaz" to player send "&7│" send "&7└───────────────" if arg 2 is "Ustaw": set {eqXvsX} to serialized inventory of player set {helmXvsX} to helmet of the player set {klataXvsX} to chestplate of the player set {gacieXvsX} to legging of the player set {butyXvsX} to boots of the player send "&7┌───────────────" send "&7│" send "&7│ &eEq zostalo utworzone" send "&7│" send "&7└───────────────" if arg 2 is "Pokaz": clear player's inventory wait 20 tick give {helmXvsX} to helmet of player give {klataXvsX} to chestplate of player give {gacieXvsX} to legging of player give {butyXvsX} to boots of player restore inventory of player from {eqXvsX} send "&7┌───────────────" send "&7│" send "&7│ &eOto Eq na XvsX" send "&7│" send "&7└───────────────"