Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- # UWAGA #
- # Jesli nie chcesz uzywac wszystkich pol (maks. 10),
- # wpisz w to miejsce none
- # P.S. piszemy po angielsku
- # np 10 jablek to 10 apples
- item.zaloz.1: 64 golden apples
- item.zaloz.2: 64 obsidian
- item.zaloz.3: 64 diamonds
- item.zaloz.4: 64 emeralds
- item.zaloz.5: 16 tnt
- item.zaloz.6: none
- item.zaloz.7: none
- item.zaloz.8: none
- item.zaloz.9: none
- item.zaloz.10: none
- item.zmien.1: 32 emeralds
- item.zmien.2: none
- item.zmien.3: none
- item.zmien.4: none
- item.zmien.5: none
- item.zmien.6: none
- item.zmien.7: none
- item.zmien.8: none
- item.zmien.9: none
- item.zmien.10: none
- item.lider.1: 64 golden apples
- item.lider.2: none
- item.lider.3: none
- item.zastepca.1: 32 golden apples
- item.zastepca.2: none
- item.zastepca.3: none
- item.zapros.zabierz.przy.zapraszaniu: false
- item.zapros.zabierz.przy.zabierania.zaproszenia: false
- item.zapros.1: 10 diamond
- item.zapros.2: 10 golden apples
- item.zapros.3: none
- teren.n: 25
- teren.s: 24
- teren.w: 25
- teren.e: 24
- teren.nw: 25
- teren.ne: 24
- teren.sw: 25
- teren.se: 24
- #Teren pokazywany (O_o)
- teren: 50
- #Na srodku cuboida gildii ma byc blok ustawiony ponizej?
- setblock: true
- #To tutaj ustawiasz blok ;p
- setblock.type: sponge
- #Uprawnienie, potrzebne do usuwania tego bloku (bo moze byc to cub) (musisz miec tez gm)
- setblock.perm: mineguildblock.Admin
- #Czy mozna otwierac skrzynki na terenach gildii
- chest: true
- #wyrzucenie czyli usuniecie zaproszenia?
- kick=delete-invite: true
- #odejscie czyli usuniecie zaproszenia?
- leave=delete-invite: true
- #Informacje po wejsciu i wyjsciu z gildii
- greeting: true
- farewell: true
- #Wiadomosci - Nie skonczone#
- jestes-juz-czlonkiem-gildii: &cJestes juz czlonkiem gildii.
- przy-zakladaniu-gildii-musisz-podac-tag: &cPrzy zakladaniu gildii musisz podac tag.
- przy-zakladaniu-gildii-musisz-podac-nazwe: &cPrzy zakladaniu gildii musisz podac nazwe.
- nie-jestes-czlonkiem-zadnej-gildii: &cNie jestes czlonkiem zadnej gildii.
- nie-ma-takiej-gildii: &cNie ma takiej gildii.
- gildia-z-takim-tagiem-jest-juz-zalozona: &cGildia z takim tagiem jest juz zalozona.
- gildia-z-taka-nazwa-jest-juz-zalozona: &cGildia z taka nazwa jest juz zalozona.
- tag-gildii-nie-moze-byc-dluzszy-niz-5-znakow: &cTag gildii nie moze byc dluzszy niz 5 znakow.
- tag-gildii-nie-moze-byc-krotszy-niz-3-znaki: &cTag gildii nie moze byc krotszy niz 3 znaki.
- tag-gildii-zawiera-nieprawidlowe-znaki: &cTag zawiera nieprawidlowe znaki.
- nazwa-gildii-nie-moze-byc-dluzsza-niz-15-znakow: &cNazwa gildii nie moze byc dluzsza niz 16 znakow.
- obecny-teren-nalezy-do-gildii: &7Obecny teren nalezy do gildii: &c[&g%arg 2%&c]
- opuszczono-teren-gildii: &7Opuszczono teren gildii: &c[&g%arg 2%&c]
- gracz-zalozyl-gildie: &cGracz &6%player% &czalozyl gildie o nazwie &3%arg 2% &ci tagu &3%arg 1%&c.
- brak-itemow-na-gildie: &cBrakuje Ci itemow na gildie, sprawdz czy masz je pod komenda /itemy
- nazwa-dluzsza-niz-16-znakow: &cNazwa nie moze byc dluzsza niz 16 znakow.
- nazwa-zajeta: &cNazwa %arg 1% jest zajeta.
- nazwa-wolna: &aNazwa %arg 1% jest wolna.
- podaj-nazwe-do-sprawdzenia: &cPodaj nazwe do sprawdzenia.
- tag-zajety: &cTag %arg 1% jest zajety.
- tag-wolny: &aTag %arg 1% jest wolny.
- tag-dluzszy-niz-5-znakow: &cTag nie moze byc dluzszy niz 5 znakow.
- tag-krotszy-niz-3-znaki: &cTag nie moze byc krotszy niz 3 znaki.
- tag-zawiera-nieprawidlowe-znaki: &cTag zawiera nieprawidlowe znaki.
- podaj-tag-do-sprawdzenia: &cPodaj tag do sprawdzenia.
- opusciles-swoja-gildie: &aOpusciles swoja gildie.
- nie-mozesz-opuscic-swojej-gildii-jestes-liderem: &cJestes liderem w swojej gildii, nie mozesz jej opuscic.
- nie-jestes-liderem-swojej-gildii: &cNie jestes liderem swojej gildii.
- nie-jestes-zastepca-swojej-gildii: &cNie jestes zastepca swojej gildii.
- nie-jestes-zastepca-ani-liderem-swojej-gildii: &cNie jestes zastepca, ani liderem swojej gildii.
- nie-jestes-zaproszony-do-tej-gildii: &cNie jestes zaproszony do tej gildii.
- zostales-zaproszony-do-gildii: &aZostales zaproszony do gildii %{m.%player%}%.
- twoje-zaproszenie-do-gildii-zostalo-usuniete: &aTwoje zaproszenie do gildii %{m.%player%}% zostalo usuniete.
- gracz-dolaczyl-do-twojej-gildii: &aGracz %player% dolaczyl do twojej gildii.
- dolaczyles-do-gildii: &aDolaczyles do gildii %{g-%arg 1%.tag}%.
- gracz-opuscil-twoja-gildie: &aGracz %player% opuscil twoja gildie.
- gracz-zostal-zaproszony-do-twojej-gildii: &aGracz %arg 1% zostal zaproszony do twojej gildii.
- zaproszenie-gracza-do-twojej-gildii-zostalo-usuniete: &aZaproszenie gracza %arg 1% do twojej gildii zostalo usuniete.
- gildia-zostala-rozwiazana: &cGildia %{_guild}% zostala rozwiazana!
- twoja-gildia-zostala-rozwiazana: &cTwoja gildia zostala rozwiazana.
- zostaniesz-przeteleportowany-do-bazy-swojej-gildii: &aZa 10 sekund zostaniesz przeteleportowany do bazy swojej gildii.
- teleportacja: &aTeleportacja do bazy twojej gildii.
- nie-mozna-zniszczyc-setblock.type-cub: &cNie mozna zniszczyc %{_setblock.type}%, moze byc to blok pokazujacy srodek cuboida gildii.
- zniszczyles-setblock.type: &cZniszczyles %{_setblock.type}%, moze byc to blok pokazujacy srodek cuboida gildii.
- aby-zniszczyc-setblock.type-musisz-wlaczyc-tryb-kreatywny: &cAby zniszczyc %{_setblock.type}% musisz wlaczyc tryb kreatywny, moze byc to blok pokazujacy srodek cuboida gildii.
- nazwa-i-tag-twojej-gildii-zostalo-zmienione: &cNazwa i tag twojej gildii zostalo zmienione.
- gildia-zmienila-swoj-tag-i-nazwe-na: &cGildia %{_guild_name}% zmienila swoja nazwe na %arg 2% i swoj tag %{_guild}% na %arg 1%.
- ten-tag-gildii-jest-juz-ustawiony-w-waszej-gildii: &cTen tag gildii juz jest ustawiony w waszej gildii.
- ten-tag-gildii-jest-juz-ustawiony-w-innej-gildii: &cTen tag gildii jest juz ustawiony w innej gildii.
- ta-nazwa-gildii-jest-juz-ustawiony-w-waszej-gildii: &cTa nazwa gildii juz jest ustawiona w waszej gildii.
- ta-nazwa-gildii-jest-juz-ustawiona-w-innej-gildii: &cTa nazwa gildii jest juz ustawiona w innej gildii.
- brak-itemow-na-zmiane-nazwy-i-tagu-gildii: &cBrakuje Ci itemow na zmiane nazwy i tagu gildii.
- przy-zmianie-tagu-i-nazwy-gildii-musisz-podac-tag: &cPodaj tag, ktory ma byc tagiem gildii.
- przy-zmianie-tagu-i-nazwy-gildii-musisz-podac-nazwe: &cPodaj nazwe, ktora ma byc nazwa gildii.
- podaj-tag-gildii-do-ktorej-chcesz-dolaczyc: &cPodaj tag gildii, do ktorej chcesz dolaczyc.
- zostal-wyrzucony-z-twojej-gildii-nie-jest-juz-zaproszony: &c%arg 1% zostal wyrzucony z twojej gildii, nie jest on juz zaproszony do twojej gildii.
- opuscil-twoja-gildie-nie-jest-juz-zaproszony: &c%player% opuscil twoja gildie, nie ma juz on zaproszenia do twojej gildii.
- zostal-wyrzucony-z-twojej-gildii-i-nie-ma-juz-zaproszenia: &c%arg 1% zostal wyrzucony z twojej gildii i nie ma juz zaproszenia do twojej gildii.
- zostal-wyrzucony-z-twojej-gildii: &c%arg 1% zostal wyrzucony z twojej gildii.
- nie-mozesz-wyrzucic-siebie-z-gildii: &cNie mozesz wyrzucic siebie z gildii.
- zostales-wyrzucony-z-gildii: &cZostales wyrzucony z gildii.
- zostales-zaatakowany-zatrzymuje-teleportacje: &cZostales zaatakowany, wiec teleportacja zostala zatrzymana.
- nie-masz-itemow-na-zaproszenie-gracza-do-gildii: &cNie masz itemow na zaproszenie gracza do gildii.
- nie-masz-itemow-na-usuniecie-zaproszenia-gracza-do-gildii: &cNie masz itemow na usuniecie zaproszenia gracza do gildii.
- podaj-gracza-ktorego-chcesz-zaprosic: &cPodaj nick gracza, ktorego chcesz zaprosic.
- nie-mozesz-zaprosic-siebie-do-gildii: &cNie mozesz zaprosic siebie do gildii.
- nie-mozesz-opuscic-swojej-gildii-jestes-zastepca: &cNie mozesz opuscic swojej gildii, jestes zastepca.
- podczas-zmieniania-nazwy-nie-mozesz-sie-poruszac: &cPodczas zmiany nazwy gildii nie mozesz sie poruszac.
- podaj-nick-gracza-ktoremu-chcesz-dac-lidera: &cPodaj nick gracza, ktoremu chcesz oddac lidera.
- zostal-nowym-liderem-w-twojej-gildii: &a%arg 1% zostal nowym liderem w twojej gildii.
- zostal-zastepca-w-twojej-gildii: &a%arg 1% zostal zastepca w twojej gildii.
- nie-jest-juz-zastepca-w-twojej-gildii: &a%arg 1% nie jest juz zastepca w twojej gildii.
- ten-gracz-nie-jest-w-twojej-gildii: &cTen gracz nie jest w twojej gildii.
- nie-masz-itemow-na-zmiane-lidera: &cNie masz itemow na zmiane lidera twojej gildii.
- nie-mozesz-dac-sobie-lidera: &cNie mozesz dac sobie lidera.
- nie-mozesz-dac-sobie-zastepcy: &cNie mozesz dac sobie zastepcy.
- nie-masz-itemow-na-zmiane-zastepcy: &cNie masz itemow na zmiane zastepcy.
- podaj-nick-gracza-ktoremu-chcesz-dac-zastepce: &cPodaj nick gracza, ktoremu chcesz dac zastepce (lub zabrac).
- nie-jestes-zastepca-swojej-gildii: &cNie jestes zastepca swojej gildii.
- podaj-wiadomosc-do-czatu-swojej-gildii: &cPodaj wiadomosc do czatu swojej gildii.
- nie-mozesz-wyrzucic-lidera-z-gildii-jestes-zastepca: &cNie mozesz wyrzucic lidera z gildii, jestes zastepca.
- gildia-zerwala-prosbe-sojuszu-z-twoja-gildia: &aGildia %{m.%player%}% zerwala prosbe sojuszu z twoja gildia.
- twoja-gildia-zerwala-prosbe-sojuszu-z-gildia: &aTwoja gildia zerwala prosbe sojuszu z gildia %arg%.
- gildia-zerwala-sojusz-z-twoja-gildia: &aGildia %{m.%player%}% zerwala sojusz z twoja gildia.
- twoja-gildia-zerwala-sojusz-z-gildia: &aTwoja gildia zerwala sojusz z gildia %arg%.
- nie-mozesz-zerwac-sojuszu-ze-swoja-gildia: &cNie mozesz zerwac sojuszu ze swoja gildia.
- nie-mozesz-zawrzec-sojuszu-ze-swoja-gildia: &cNie mozesz zawrzec sojuszu ze swoja gildia.
- macie-juz-prosbe-sojuszu-z-ta-gildia: &cMacie juz prosbe sojuszu z ta gildia.
- macie-juz-sojusz-z-ta-gildia: &cMacie juz sojusz z ta gildia.
- twoja-gildia-zawarla-sojusz-z-gildia: &aTwoja gildia zawarla sojusz z gildia %arg%.
- gildia-zawarla-sojusz-z-twoja-gildia: &aGildia %{m.%player%}% zawarla sojusz z twoja gildia.
- twoja-gildia-zawarla-prosbe-sojuszu-z-gildia: &aTwoja gildia zawarla prosbe sojuszu z gildia %arg%.
- gildia-zawarla-prosbe-sojuszu-z-twoja-gildia: &aGildia %{m.%player%}% zawarla prosbe sojuszu z twoja gildia.
- podaj-tag-gildii-z-ktora-chcesz-zawrzec-sojusz: &cPodaj tag gildii, z ktora chcesz zawrzec sojusz.
- podaj-tag-gildii-z-ktora-chcesz-zerwac-sojusz: &cPodaj tag gildii, z ktora chcesz zerwac sojusz.
- # Nie edytowac :(
- sk: xGuilds
- ver: 0.6.0
- author: tpacce
- # Koniec nie edytowania
- ChangeLog: true
- 0.6.0: Poprawienie kodu, w koncu oczekiwany system Sojuszy ;3
- On join:
- player has permission "*":
- set {_xGuilds.new_version} to result of connect to "http://pastebin.com/raw.php?i=BM8AhmDe"
- set {_xGuilds.old_version} to "{@ver}"
- {_xGuilds.old_version} is not {_xGuilds.new_version}:
- wait 5 ticks
- send "&8&o############################################"
- send "&8&o## &6&oDostepna aktualizacja!"
- send "&8&o## &6&oTwoja wersja %{xGuilds.old_version}%, nowa wersja %{xGuilds.new_version}%"
- send "&8&o############################################"
- stop
- On script load:
- set {_author} to result of connect to "http://pastebin.com/raw.php?i=3fed5b7h"
- {_author} is not "{@author}":
- send "####" to console
- send "## Szkoda ze usunales mnie z autora, no ale coz ;C" to console
- send "####" to console
- set {_xGuilds.new_version} to result of connect to "http://pastebin.com/raw.php?i=BM8AhmDe"
- set {_xGuilds.old_version} to "{@ver}"
- {_xGuilds.old_version} is not {_xGuilds.new_version}:
- send "############################################" to console
- send "## Dostepna aktualizacja!" to console
- send "## Twoja wersja %{_xGuilds.old_version}%, nowa wersja %{_xGuilds.new_version}%" to console
- send "############################################" to console
- set {_ver} to skript version
- set {_need} to "2.1.2"
- if {_ver} is {_need}:
- send "####" to console
- send "##xGuilds&8 wymaga Skript %{_need}% ... Na serwerze znajduje sie poprawna wersja!" to the console
- send "####" to console
- if {_ver} is not {_need}:
- send "####" to console
- send "##xGuilds&c wymaga Skript %{_need}% ... Na serwerze znajduje sie inna wersja pluginu Skript (%{_ver}%)!" to the console
- send "####" to console
- set {xGuilds.zapros.zaproszenie} to "{@item.zapros.zabierz.przy.zapraszaniu}"
- set {xGuilds.zapros.zabranie.zaproszenia} to "{@item.zapros.zabierz.przy.zabierania.zaproszenia}"
- set {xGuilds.setblock} to "{@setblock}"
- set {xGuilds.chest} to "{@chest}"
- set {xGuilds.kick} to "{@kick=delete-invite}"
- set {xGuilds.leave} to "{@leave=delete-invite}"
- set {xGuilds.greeting} to "{@greeting}"
- set {xGuilds.farewell} to "{@farewell}"
- set {_xGuilds.ver} to "{@ver}"
- set {_xGuilds.changelog} to "{@ChangeLog}"
- set {_xGuilds.0.6.0} to "{@0.6.0}"
- send "&8&o####" to console
- send "&8&o## &7Skrypt: {@sk}" to console
- send "&8&o## &7Autor: {@author}" to console
- send "&8&o## &7Wersja: {@ver}" to console
- if {_xGuilds.changelog} is "true":
- send "&8&o## &7ChangeLog: %{_xGuilds.%{_xGuilds.ver}%}%" to console
- send "&8&o####" to console
- on break {@setblock.type}:
- set {_setblock.type} to "{@setblock.type}"
- player has permission "{@setblock.perm}":
- if player's gamemode is creative:
- send "{@zniszczyles-setblock.type}"
- stop
- send "{@aby-zniszczyc-setblock.type-musisz-wlaczyc-tryb-kreatywny}"
- cancel event
- stop
- cancel event
- send "{@nie-mozna-zniszczyc-setblock.type-cub}"
- stop
- Command /itemy [<text>=pomoc]:
- trigger:
- arg is "pomoc":
- send "&8&oDostepne:"
- send "&8&ozaloz"
- send "&8&ozmien"
- send "&8&ozapros"
- send "&8&olider"
- send "&8&ozastepca"
- arg is "zaloz":
- send "&8&onone = nic"
- send "&8&oItem 1: &7&o{@item.zaloz.1}"
- send "&8&oItem 2: &7&o{@item.zaloz.2}"
- send "&8&oItem 3: &7&o{@item.zaloz.3}"
- send "&8&oItem 4: &7&o{@item.zaloz.4}"
- send "&8&oItem 5: &7&o{@item.zaloz.5}"
- send "&8&oItem 6: &7&o{@item.zaloz.6}"
- send "&8&oItem 7: &7&o{@item.zaloz.7}"
- send "&8&oItem 8: &7&o{@item.zaloz.8}"
- send "&8&oItem 9: &7&o{@item.zaloz.9}"
- send "&8&oItem 10: &7&o{@item.zaloz.10}"
- arg is "zmien":
- send "&8&onone = nic"
- send "&8&oItem 1: &7&o{@item.zmien.1}"
- send "&8&oItem 2: &7&o{@item.zmien.2}"
- send "&8&oItem 3: &7&o{@item.zmien.3}"
- send "&8&oItem 4: &7&o{@item.zmien.4}"
- send "&8&oItem 5: &7&o{@item.zmien.5}"
- send "&8&oItem 6: &7&o{@item.zmien.6}"
- send "&8&oItem 7: &7&o{@item.zmien.7}"
- send "&8&oItem 8: &7&o{@item.zmien.8}"
- send "&8&oItem 9: &7&o{@item.zmien.9}"
- send "&8&oItem 10: &7&o{@item.zmien.10}"
- arg is "zapros":
- send "&8&onone = nic"
- send "&8&oItem 1: &7&o{@item.zapros.1}"
- send "&8&oItem 2: &7&o{@item.zapros.2}"
- send "&8&oItem 3: &7&o{@item.zapros.3}"
- arg is "lider":
- send "&8&onone = nic"
- send "&8&oItem 1: &7&o{@item.lider.1}"
- send "&8&oItem 2: &7&o{@item.lider.2}"
- send "&8&oItem 3: &7&o{@item.lider.3}"
- arg is "zastepca":
- send "&8&onone = nic"
- send "&8&oItem 1: &7&o{@item.zastepca.1}"
- send "&8&oItem 2: &7&o{@item.zastepca.2}"
- send "&8&oItem 3: &7&o{@item.zastepca.3}"
- command /@ <text>:
- usage: &7/@ <wiadomosc do gildii>
- trigger:
- arg is not set:
- send "{@podaj-wiadomosc-do-czatu-swojej-gildii}"
- stop
- {m.%player%} is not set:
- send ""
- stop
- {l.%player%} is set:
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value is loop-player:
- send "&8&o[&3Gildia&8&o] &7Lider &o%player%: &a%arg%" to loop-player
- stop
- {o.%player%} is set:
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value is loop-player:
- send "&8&o[&3Gildia&8&o] &7Zastepca &o%player%: &a%arg%" to loop-player
- stop
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value is loop-player:
- send "&8&o[&3Gildia&8&o] &7Czlonek &o%player%: &a%arg%" to loop-player
- stop
- Command /zaloz [<text>] [<text>]:
- trigger:
- {m.%player%} is set:
- send "{@jestes-juz-czlonkiem-gildii}"
- stop
- arg 1 is not set:
- send "{@przy-zakladaniu-gildii-musisz-podac-tag}"
- stop
- arg 2 is not set:
- send "{@przy-zakladaniu-gildii-musisz-podac-nazwe}"
- stop
- player has {@item.zaloz.1} and {@item.zaloz.2} and {@item.zaloz.3} and {@item.zaloz.4} and {@item.zaloz.5} and {@item.zaloz.6} and {@item.zaloz.7} and {@item.zaloz.8} and {@item.zaloz.9} and {@item.zaloz.10}:
- send "&7Sprawdzanie &8- &aTag ..."
- {guilds.tags::%arg 1%} is set:
- send "{@gildia-z-takim-tagiem-jest-juz-zalozona}"
- stop
- set {_tag} to "%arg 1%"
- replace all "0" with "1" in {_tag}
- replace all "1" with "1" in {_tag}
- replace all "2" with "1" in {_tag}
- replace all "3" with "1" in {_tag}
- replace all "4" with "1" in {_tag}
- replace all "5" with "1" in {_tag}
- replace all "6" with "1" in {_tag}
- replace all "7" with "1" in {_tag}
- replace all "8" with "1" in {_tag}
- replace all "9" with "1" in {_tag}
- replace all "q" with "1" in {_tag}
- replace all "w" with "1" in {_tag}
- replace all "e" with "1" in {_tag}
- replace all "r" with "1" in {_tag}
- replace all "t" with "1" in {_tag}
- replace all "y" with "1" in {_tag}
- replace all "u" with "1" in {_tag}
- replace all "i" with "1" in {_tag}
- replace all "o" with "1" in {_tag}
- replace all "p" with "1" in {_tag}
- replace all "a" with "1" in {_tag}
- replace all "s" with "1" in {_tag}
- replace all "d" with "1" in {_tag}
- replace all "f" with "1" in {_tag}
- replace all "g" with "1" in {_tag}
- replace all "h" with "1" in {_tag}
- replace all "j" with "1" in {_tag}
- replace all "k" with "1" in {_tag}
- replace all "l" with "1" in {_tag}
- replace all "z" with "1" in {_tag}
- replace all "x" with "1" in {_tag}
- replace all "c" with "1" in {_tag}
- replace all "v" with "1" in {_tag}
- replace all "b" with "1" in {_tag}
- replace all "n" with "1" in {_tag}
- replace all "m" with "1" in {_tag}
- length of {_tag} is greater than 5:
- send "{@tag-gildii-nie-moze-byc-dluzszy-niz-5-znakow}"
- stop
- length of {_tag} is less than 3:
- send "{@tag-gildii-nie-moze-byc-krotszy-niz-3-znaki}"
- stop
- {_tag} is not "111" or "1111" or "11111":
- send "{@tag-gildii-zawiera-nieprawidlowe-znaki}"
- stop
- send "&7Sprawdzanie &8- &aNazwa ..."
- set {_name} to "%arg 2%"
- length of {_name} is greater than 16:
- send "{@nazwa-gildii-nie-moze-byc-dluzsza-niz-15-znakow}"
- stop
- {names::%arg 2%} is set:
- send "{@gildia-z-taka-nazwa-jest-juz-zalozona}"
- stop
- player cannot build at block under player:
- send "&cNie mozna tutaj stworzyc terenu gildii! Teren pod Toba jest juz zabezpieczony"
- stop
- player cannot build at block {@teren.nw} meters northwest:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na polnocny-zachod stad jest juz zabezpieczony"
- stop
- player cannot build at block {@teren.n} meters north:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na polnoc stad jest juz zabezpieczony"
- stop
- player cannot build at block {@teren.ne} meters northeast:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na polnocny-wschod stad jest juz zajety"
- stop
- player cannot build at block {@teren.w} meters west:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na zachod stad jest juz zajety"
- stop
- player cannot build at block {@teren.e} meters east:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na wschod stad jest juz zajety"
- stop
- player cannot build at block {@teren.sw} meters southwest:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na poludniowy-zachod stad jest juz zajety"
- stop
- player cannot build at block {@teren.s} meters south:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na poludnie stad jest juz zajety"
- stop
- player cannot build at block {@teren.se} meters southeast:
- send " &cNie mozna tutaj stworzyc terenu gildii! Teren na poludniowy-wschod stad jest juz zajety"
- stop
- send " &7Zabezpieczenie &8- &aTworzenie ..."
- remove {@item.zaloz.1} and {@item.zaloz.2} and {@item.zaloz.3} and {@item.zaloz.4} and {@item.zaloz.5} and {@item.zaloz.6} and {@item.zaloz.7} and {@item.zaloz.8} and {@item.zaloz.9} and {@item.zaloz.10} from player
- set {g-%arg 1%.base} to location of player
- {xGuilds.setblock} is "true":
- set block under player to {@setblock.type}
- run player command "//pos1" as op
- run player command "//pos2" as op
- run player command "//expand {@teren.n} n" as op
- run player command "//expand {@teren.s} s" as op
- run player command "//expand {@teren.w} w" as op
- run player command "//expand {@teren.e} e" as op
- run player command "//expand vert" as op
- run player command "region define g-%arg 1%" as op
- run player command "region addowner g-%arg 1% %player%" as op
- set {tags::%arg 1%} to "%arg 2%"
- set {names::%arg 2%} to "%arg 1%"
- {xGuilds.greeting} is "true":
- run player command "region flag g-%arg 1% greeting {@obecny-teren-nalezy-do-gildii}" as op
- {xGuilds.farewell} is "true":
- run player command "region flag g-%arg 1% farewell {@opuszczono-teren-gildii}" as op
- {xGuilds.chest} is "true":
- run player command "region flag g-%arg 1% chest-access deny" as op
- {xGuilds.chest} is "false":
- run player command "region flag g-%arg 1% chest-access allow" as op
- set {g-%arg 1%.tag} to "%arg 1%"
- set {g-%arg 1%.name} to "%arg 2%"
- set {g-%arg 1%.leader} to "%player%"
- set {g-%arg 1%.officers::*} to "%player%"
- set {m.%player%} to "%arg 1%"
- set {l.%player%} to "%arg 1%"
- add "%player%" to {g-%arg 1%.members::*}
- loop 100 times:
- send ""
- send " &7Zabezpieczenie &8- &aStworzone ..."
- send " &8Srodek cuba gildii wyznacza gabka"
- send " &8Cub gildii ma rozmiary &c50 &8x &c50&8.&8 Mozesz go powiekszac za oplata."
- send " &8Wiecej informacji pod komenda &c/gildie&8."
- broadcast "{@gracz-zalozyl-gildie}"
- else:
- send "{@brak-itemow-na-gildie}"
- stop
- command /zmien [<text>] [<text>]:
- trigger:
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {o.%player%} is not set:
- send "{@nie-jestes-zastepca-swojej-gildii}"
- stop
- {l.%player%} is not set:
- send "{@nie-jestes-liderem-swojej-gildii}"
- stop
- arg 2 is not set:
- send "{@przy-zmianie-tagu-i-nazwy-gildii-musisz-podac-nazwe}"
- stop
- arg 1 is not set:
- send "{@przy-zmianie-tagu-i-nazwy-gildii-musisz-podac-tag}"
- stop
- player has {@item.zmien.1} and {@item.zmien.2} and {@item.zmien.3} and {@item.zmien.4} and {@item.zmien.5} and {@item.zmien.6} and {@item.zmien.7} and {@item.zmien.8} and {@item.zmien.9} and {@item.zmien.10}:
- {tags::%arg 1%} is set:
- {g-%{m.%player%}%.tag} is "%arg 1%":
- send "{@ten-tag-gildii-jest-juz-ustawiony-w-waszej-gildii}"
- else:
- send "{@ten-tag-gildii-jest-juz-ustawiony-w-innej-gildii}"
- stop
- {names::%arg 2%} is set:
- {g-%{m.%player%}%.name} is "%arg 2%":
- send "{@ta-nazwa-gildii-jest-juz-ustawiony-w-waszej-gildii}"
- else:
- send "{@ta-nazwa-gildii-jest-juz-ustawiona-w-innej-gildii}"
- stop
- set {_guild} to "%{m.%player%}%"
- set {_guild_name} to "%{g-%{m.%player%}%.name}%"
- send "&7Sprawdzanie &8- &aTag ..."
- set {_tag} to "%arg 1%"
- replace all "0" with "1" in {_tag}
- replace all "1" with "1" in {_tag}
- replace all "2" with "1" in {_tag}
- replace all "3" with "1" in {_tag}
- replace all "4" with "1" in {_tag}
- replace all "5" with "1" in {_tag}
- replace all "6" with "1" in {_tag}
- replace all "7" with "1" in {_tag}
- replace all "8" with "1" in {_tag}
- replace all "9" with "1" in {_tag}
- replace all "q" with "1" in {_tag}
- replace all "w" with "1" in {_tag}
- replace all "e" with "1" in {_tag}
- replace all "r" with "1" in {_tag}
- replace all "t" with "1" in {_tag}
- replace all "y" with "1" in {_tag}
- replace all "u" with "1" in {_tag}
- replace all "i" with "1" in {_tag}
- replace all "o" with "1" in {_tag}
- replace all "p" with "1" in {_tag}
- replace all "a" with "1" in {_tag}
- replace all "s" with "1" in {_tag}
- replace all "d" with "1" in {_tag}
- replace all "f" with "1" in {_tag}
- replace all "g" with "1" in {_tag}
- replace all "h" with "1" in {_tag}
- replace all "j" with "1" in {_tag}
- replace all "k" with "1" in {_tag}
- replace all "l" with "1" in {_tag}
- replace all "z" with "1" in {_tag}
- replace all "x" with "1" in {_tag}
- replace all "c" with "1" in {_tag}
- replace all "v" with "1" in {_tag}
- replace all "b" with "1" in {_tag}
- replace all "n" with "1" in {_tag}
- replace all "m" with "1" in {_tag}
- length of {_tag} is greater than 5:
- send "{@tag-gildii-nie-moze-byc-dluzszy-niz-5-znakow}"
- stop
- length of {_tag} is less than 3:
- send "{@tag-gildii-nie-moze-byc-krotszy-niz-3-znaki}"
- stop
- {_tag} is not "111" or "1111" or "11111":
- send "{@tag-gildii-zawiera-nieprawidlowe-znaki}"
- stop
- send "&7Sprawdzanie &8- &aNazwa ..."
- set {_name} to "%arg 2%"
- length of {_name} is greater than 16:
- send "{@nazwa-gildii-nie-moze-byc-dluzsza-niz-15-znakow}"
- stop
- teleport player to {g-%{_guild}%.base}
- player's location is not {g-%{_guild}%.base}:
- send "{@podczas-zmieniania-nazwy-nie-mozesz-sie-poruszac}"
- stop
- run player command "region remove g-%{_guild}%" as op
- run player command "//pos1" as op
- run player command "//pos2" as op
- run player command "//expand {@teren.n} n" as op
- run player command "//expand {@teren.s} s" as op
- run player command "//expand {@teren.w} w" as op
- run player command "//expand {@teren.e} e" as op
- run player command "//expand vert" as op
- run player command "region define g-%arg 1%" as op
- run player command "region addowner g-%arg 1% %player%" as op
- {xGuilds.greeting} is "true":
- run player command "region flag g-%arg 1% greeting {@obecny-teren-nalezy-do-gildii}" as op
- {xGuilds.farewell} is "true":
- run player command "region flag g-%arg 1% farewell {@opuszczono-teren-gildii}" as op
- {xGuilds.chest} is "true":
- run player command "region flag g-%arg 1% chest-access deny" as op
- {xGuilds.chest} is "false":
- run player command "region flag g-%arg 1% chest-access allow" as op
- delete {tags::%{_guild}%}
- delete {names::%{_guild_name}%}
- set {tags::%arg 1%} to "%arg 2%"
- set {names::%arg 2%} to "%arg 1%"
- set {g-%arg 1%.tag} to "%arg 1%"
- set {g-%arg 1%.name} to "%arg 2%"
- set {g-%arg 1%.leader} to "%{g-%{_guild}%.leader}%"
- set {g-%arg 1%.officers::*} to "%{g-%{_guild}%.officers::*}%"
- set {g-%arg 1%.base} to {g-%{_guild}%.base}
- set {g-%arg 1%.members::*} to {g-%{_guild}%.members::*}
- set {g-%arg 1%.invites::*} to {g-%{_guild}%.invites::*}
- set {l.%{g-%arg 1%.leader}%} to "%arg 1%"
- loop 100 times:
- send ""
- loop {g-%{_guild}%.officers::*}:
- loop-value is "%loop-value%":
- set {o.%loop-value%} to "%arg 1%"
- loop {g-%{_guild}%.members::*}:
- loop-value is "%loop-value%":
- set {m.%loop-value%} to "%arg 1%"
- run player command "region addmember g-%arg 1% %loop-value%" as op
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@nazwa-i-tag-twojej-gildii-zostalo-zmienione}" to loop-player
- remove {@item.zmien.1} and {@item.zmien.2} and {@item.zmien.3} and {@item.zmien.4} and {@item.zmien.5} and {@item.zmien.6} and {@item.zmien.7} and {@item.zmien.8} and {@item.zmien.9} and {@item.zmien.10} from player
- broadcast "{@gildia-zmienila-swoj-tag-i-nazwe-na}"
- else:
- send "{@brak-itemow-na-zmiane-nazwy-i-tagu-gildii}"
- stop
- command /sprawdztag [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-tag-do-sprawdzenia}"
- stop
- set {_tag} to "%arg%"
- replace all "0" with "1" in {_tag}
- replace all "1" with "1" in {_tag}
- replace all "2" with "1" in {_tag}
- replace all "3" with "1" in {_tag}
- replace all "4" with "1" in {_tag}
- replace all "5" with "1" in {_tag}
- replace all "6" with "1" in {_tag}
- replace all "7" with "1" in {_tag}
- replace all "8" with "1" in {_tag}
- replace all "9" with "1" in {_tag}
- replace all "q" with "1" in {_tag}
- replace all "w" with "1" in {_tag}
- replace all "e" with "1" in {_tag}
- replace all "r" with "1" in {_tag}
- replace all "t" with "1" in {_tag}
- replace all "y" with "1" in {_tag}
- replace all "u" with "1" in {_tag}
- replace all "i" with "1" in {_tag}
- replace all "o" with "1" in {_tag}
- replace all "p" with "1" in {_tag}
- replace all "a" with "1" in {_tag}
- replace all "s" with "1" in {_tag}
- replace all "d" with "1" in {_tag}
- replace all "f" with "1" in {_tag}
- replace all "g" with "1" in {_tag}
- replace all "h" with "1" in {_tag}
- replace all "j" with "1" in {_tag}
- replace all "k" with "1" in {_tag}
- replace all "l" with "1" in {_tag}
- replace all "z" with "1" in {_tag}
- replace all "x" with "1" in {_tag}
- replace all "c" with "1" in {_tag}
- replace all "v" with "1" in {_tag}
- replace all "b" with "1" in {_tag}
- replace all "n" with "1" in {_tag}
- replace all "m" with "1" in {_tag}
- length of arg is greater than 5:
- send "{@tag-dluzszy-niz-5-znakow}"
- stop
- length of arg is less than 3:
- send "{@tag-krotszy-niz-3-znaki}"
- stop
- {_tag} is not "111" or "1111" or "11111":
- send "{@tag-zawiera-nieprawidlowe-znaki}"
- stop
- {tags::%arg%} is set:
- send "{@tag-zajety}"
- stop
- {tags::%arg%} is not set:
- send "{@tag-wolny}"
- stop
- command /sprawdznazwe [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-nazwe-do-sprawdzenia}"
- stop
- length of arg is greater than 16:
- send "{@nazwa-dluzsza-niz-16-znakow}"
- stop
- {names::%arg%} is set:
- send "{@nazwa-zajeta}"
- stop
- {names::%arg%} is not set:
- send "{@nazwa-wolna}"
- stop
- command /gildia [<text>]:
- trigger:
- arg 1 is set:
- {tags::%arg%} is set:
- send "&9[&a%{g-%arg%.tag}%&9] &6- &9%{g-%arg%.name}%."
- send "&9Lider: &a%{g-%arg%.leader}%"
- set {_g-%arg%.officers} to "%{g-%arg%.officers::*}%"
- loop all players:
- replace all "%loop-player%" with "&a%loop-player%" in {_g-%arg%.officers}
- replace all "," with "&9,&c" in {_g-%arg%.officers}
- replace all "and" with "&9i&c" in {_g-%arg%.officers}
- send "&9Zastepcy: &c%{_g-%arg%.officers}%"
- send "&9Cub: &a{@teren} &9x &a{@teren}"
- set {_g-%arg%.members} to "%{g-%arg%.members::*}%"
- loop all players:
- replace all "%loop-player%" with "&a%loop-player%" in {_g-%arg%.members}
- replace all "," with "&9,&c" in {_g-%arg%.members}
- replace all "and" with "&9i&c" in {_g-%arg%.members}
- send "&9Czlonkowie: &c%{_g-%arg%.members}%"
- set {_g-%arg%.allies} to "&a%{g-%arg%.allies::*}%"
- replace all "," with "&9,&a" in {_g-%arg%.allies}
- replace all "and" with "&9i&a" in {_g-%arg%.allies}
- send "&9Sojusznicy: &c%{_g-%arg%.allies}%"
- stop
- send "{@nie-ma-takiej-gildii}"
- stop
- arg 1 is not set:
- {m.%player%} is set:
- send "&9[&a%{g-%{m.%player%}%.tag}%&9] &6- &9%{g-%{m.%player%}%.name}%."
- send "&9Lider: &a%{g-%{m.%player%}%.leader}%"
- set {_g-%{m.%player%}%.officers} to "%{g-%{m.%player%}%.officers::*}%"
- loop all players:
- replace all "%loop-player%" with "&a%loop-player%" in {_g-%{m.%player%}%.officers}
- replace all "," with "&9,&c" in {_g-%{m.%player%}%.officers}
- replace all "and" with "&9i&c" in {_g-%{m.%player%}%.officers}
- send "&9Zastepcy: &c%{_g-%{m.%player%}%.officers}%"
- send "&9Cub: &a{@teren} &9x &a{@teren}"
- set {_g-%{m.%player%}%.members} to "%{g-%{m.%player%}%.members::*}%"
- loop all players:
- replace all "%loop-player%" with "&a%loop-player%" in {_g-%{m.%player%}%.members}
- replace all "," with "&9,&c" in {_g-%{m.%player%}%.members}
- replace all "and" with "&9i&c" in {_g-%{m.%player%}%.members}
- send "&9Czlonkowie: &c%{_g-%{m.%player%}%.members}%"
- set {_g-%{m.%player%}%.allies} to "&a%{g-%{m.%player%}%.allies::*}%"
- replace all "," with "&9,&a" in {_g-%{m.%player%}%.allies}
- replace all "and" with "&9i&a" in {_g-%{m.%player%}%.allies}
- send "&9Sojusznicy: &c%{_g-%{m.%player%}%.allies}%"
- stop
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- command /lider [<text>]:
- trigger:
- arg 1 is "%player%":
- send "{@nie-mozesz-dac-sobie-lidera}"
- stop
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {l.%player%} is not set:
- send "{@nie-jestes-liderem-swojej-gildii}"
- stop
- arg 1 is not set:
- send "{@podaj-nick-gracza-ktoremu-chcesz-dac-lidera}"
- stop
- player has {@item.lider.1}, {@item.lider.2} and {@item.lider.3}:
- {m.%player%} is {m.%arg 1%}:
- set {l.%arg 1%} to "%{m.%arg 1%}%"
- delete {l.%player%}
- set {g-%{m.%player%}%.leader} to "%arg 1%"
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@zostal-nowym-liderem-w-twojej-gildii}" to loop-player
- stop
- send "{@ten-gracz-nie-jest-w-twojej-gildii}"
- stop
- send "{@nie-masz-itemow-na-zmiane-lidera}"
- stop
- command /zastepca [<text>]:
- trigger:
- arg 1 is "%player%":
- send "{@nie-mozesz-dac-sobie-zastepcy}"
- stop
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {o.%player%} is not set:
- {l.%player%} is set:
- wait 1 tick
- else:
- send "{@nie-jestes-zastepca-ani-liderem-swojej-gildii}"
- stop
- arg 1 is not set:
- send "{@podaj-nick-gracza-ktoremu-chcesz-dac-zastepce}"
- stop
- player has {@item.zastepca.1}, {@item.zastepca.2} and {@item.zastepca.3}:
- {m.%player%} is {m.%arg 1%}:
- loop {g-%{m.%player%}%.officers::*}:
- loop-value is arg:
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@nie-jest-juz-zastepca-w-twojej-gildii}" to loop-player
- delete {o.%arg 1%}
- remove "%arg 1%" from {g-%{m.%player%}%.officers::*}
- stop
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@zostal-zastepca-w-twojej-gildii}" to loop-player
- set {o.%arg 1%} to "%{m.%player%}%"
- add "%arg 1%" to {g-%{m.%player%}%.officers::*}
- stop
- send "{@ten-gracz-nie-jest-w-twojej-gildii}"
- stop
- send "{@nie-masz-itemow-na-zmiane-zastepcy}"
- stop
- command /dolacz [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-tag-gildii-do-ktorej-chcesz-dolaczyc}"
- stop
- {m.%player%} is set:
- send "{@jestes-juz-czlonkiem-gildii}"
- stop
- loop {g-%arg%.invites::*}:
- loop-value is "%player%":
- set {m.%player%} to "%{g-%arg%.tag}%"
- loop all players:
- {m.%loop-player%} is "%{m.%{m.%player%}%}%":
- send "{@gracz-dolaczyl-do-twojej-gildii}" to loop-player
- add "%player%" to {g-%{m.%player%}%.members::*}
- run player command "rg addmember g-%{m.%player%}% %player%" as op
- send "{@dolaczyles-do-gildii}"
- stop
- send "{@nie-jestes-zaproszony-do-tej-gildii}"
- stop
- command /zapros [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-gracza-ktorego-chcesz-zaprosic}"
- stop
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {o.%player%} is not set:
- {l.%player%} is set:
- wait 1 tick
- else:
- send "{@nie-jestes-zastepca-ani-liderem-swojej-gildii}"
- stop
- arg is "%player%":
- send "{@nie-mozesz-zaprosic-siebie-do-gildii}"
- stop
- loop {g-%{m.%player%}%.invites::*}:
- loop-value is "%arg%":
- {xGuilds.zapros.zabranie.zaproszenia} is "true":
- player has {@item.zapros.1} and {@item.zapros.2} and {@item.zapros.3}:
- wait 1 tick
- else:
- send "{@nie-masz-itemow-na-usuniecie-zaproszenia-gracza-do-gildii}"
- stop
- remove {@item.zapros.1} and {@item.zapros.2} and {@item.zapros.3} from player
- remove "%arg%" from {g-%{m.%player%}%.invites::*}
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@zaproszenie-gracza-do-twojej-gildii-zostalo-usuniete}" to loop-player
- loop-player is "%arg%":
- send "{@twoje-zaproszenie-do-gildii-zostalo-usuniete}" to loop-player
- stop
- {xGuilds.zapros.zaproszenie} is "true":
- player has {@item.zapros.1} and {@item.zapros.2} and {@item.zapros.3}:
- wait 1 tick
- else:
- send "{@nie-masz-itemow-na-zaproszenie-gracza-do-gildii}"
- stop
- remove {@item.zapros.1} and {@item.zapros.2} and {@item.zapros.3} from player
- add "%arg%" to {g-%{m.%player%}%.invites::*}
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@gracz-zostal-zaproszony-do-twojej-gildii}" to loop-player
- loop-player is "%arg%":
- send "{@zostales-zaproszony-do-gildii}" to loop-player
- stop
- command /wyrzuc [<text>]:
- trigger:
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- arg is "%player%":
- send "{@nie-mozesz-wyrzucic-siebie-z-gildii}"
- stop
- {m.%arg%} is "%{m.%player%}%":
- {o.%player%} is set:
- {l.%arg%} is set:
- send "{@nie-mozesz-wyrzucic-lidera-z-gildii-jestes-zastepca}"
- stop
- {o.%player%} is not set:
- {l.%player%} is set:
- wait 1 tick
- else:
- send "{@nie-jestes-zastepca-ani-liderem-swojej-gildii}"
- stop
- {m.%arg%} is "%{m.%player%}%":
- delete {m.%arg%}
- delete {o.%arg%}
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- {xGuilds.kick} is "true":
- send "{@zostal-wyrzucony-z-twojej-gildii-i-nie-ma-juz-zaproszenia}" to loop-player
- else:
- send "{@zostal-wyrzucony-z-twojej-gildii}" to loop-player
- {xGuilds.kick} is "true":
- remove "%arg%" from {g-%{m.%player%}%.invites::*}
- remove "%arg%" from {g-%{m.%player%}%.members::*}
- remove "%arg%" from {g-%{m.%player%}%.officers::*}
- loop all players:
- loop-player is "%arg%":
- send "{@zostales-wyrzucony-z-gildii}" to loop-player
- stop
- command /opusc:
- trigger:
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {l.%player%} is set:
- send "{@nie-mozesz-opuscic-swojej-gildii-jestes-liderem}"
- stop
- {m.%player%} is set:
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- {xGuilds.leave} is "true":
- send "{@opuscil-twoja-gildie-nie-jest-juz-zaproszony}" to loop-player
- else:
- send "{@gracz-opuscil-twoja-gildie}" to loop-player
- run player command "rg removemember g-%{m.%player%}% %player%" as op
- {xGuilds.leave} is "true":
- remove "%player%" from {g-%{m.%player%}%.invites::*}
- remove "%player%" from {g-%{m.%player%}%.officers::*}
- remove "%player%" from {g-%{m.%player%}%.members::*}
- delete {m.%player%}
- delete {o.%player%}
- send "{@opusciles-swoja-gildie}"
- stop
- command /rozwiaz:
- trigger:
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {l.%player%} is not set:
- send "{@nie-jestes-liderem-swojej-gildii}"
- stop
- set {_guild} to "%{m.%player%}%"
- set {_guild_name} to "%{g-%{_guild}%.name}%"
- loop all players:
- {m.%loop-player%} is "%{m.%player%}%":
- send "{@twoja-gildia-zostala-rozwiazana}" to loop-player
- loop {g-%{_guild}%.members::*}:
- loop-value is "%loop-value%":
- delete {l.%loop-value%}
- delete {o.%loop-value%}
- delete {m.%loop-value%}
- delete {m.%player%}
- delete {l.%player%}
- set {_officer} to "%{g-%{_guild}%.officer}%"
- delete {o.%{_officer}%}
- delete {tags::%{_guild}%}
- delete {names::%{_guild_name}%}
- delete {g-%{_guild}%.name}
- delete {g-%{_guild}%.leader}
- delete {g-%{_guild}%.officer}
- delete {g-%{_guild}%.base}
- delete {g-%{_guild}%.members::*}
- delete {g-%{_guild}%.invites::*}
- run player command "/rg remove g-%{_guild}%" as op
- broadcast "{@gildia-zostala-rozwiazana}"
- stop
- command /sojusz [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-tag-gildii-z-ktora-chcesz-zawrzec-sojusz}"
- stop
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {tags::%arg%} is not set:
- send "{@nie-ma-takiej-gildii}"
- stop
- arg is "%{g-%{m.%player%}%.tag}%":
- send "{@nie-mozesz-zawrzec-sojuszu-ze-swoja-gildia}"
- stop
- {o.%player%} is not set:
- {l.%player%} is set:
- wait 1 tick
- else:
- send "{@nie-jestes-zastepca-ani-liderem-swojej-gildii}"
- stop
- loop {g-%{m.%player%}%.inv-allies::*}:
- loop-value-1 is arg:
- send "{@macie-juz-prosbe-sojuszu-z-ta-gildia}"
- stop
- loop {g-%{m.%player%}%.allies::*}:
- loop-value-1 is arg:
- send "{@macie-juz-sojusz-z-ta-gildia}"
- stop
- loop {g-%arg%.inv-allies::*}:
- loop-value-1 is "%{m.%player%}%":
- add "%arg%" to {g-%{m.%player%}%.allies::*}
- add "%arg%" to {g-%arg%.allies::*}
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@twoja-gildia-zawarla-sojusz-z-gildia}" to loop-player
- loop {g-%arg%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@gildia-zawarla-sojusz-z-twoja-gildia}" to loop-player
- stop
- add "%arg%" to {g-%{m.%player%}%.inv-allies::*}
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value-1 is loop-player:
- send "{@twoja-gildia-zawarla-prosbe-sojuszu-z-gildia}" to loop-player
- loop {g-%arg%.members::*}:
- loop all players:
- loop-value-1 is loop-player:
- send "{@gildia-zawarla-prosbe-sojuszu-z-twoja-gildia}" to loop-player
- stop
- command /zerwijsojusz [<text>]:
- trigger:
- arg is not set:
- send "{@podaj-tag-gildii-z-ktora-chcesz-zerwac-sojusz}"
- stop
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- {tags::%arg%} is not set:
- send "{@nie-ma-takiej-gildii}"
- stop
- arg is "%{g-%{m.%player%}%.tag}%":
- send "{@nie-mozesz-zerwac-sojuszu-ze-swoja-gildia}"
- stop
- {o.%player%} is not set:
- {l.%player%} is set:
- wait 1 tick
- else:
- send "{@nie-jestes-zastepca-ani-liderem-swojej-gildii}"
- stop
- loop {g-%{m.%player%}%.allies::*}:
- loop-value-1 is arg:
- remove "%arg%" from {g-%{m.%player%}%.allies::*}
- remove "%arg%" from {g-%{m.%player%}%.inv-allies::*}
- remove "%arg%" from {g-%arg%.allies::*}
- remove "%arg%" from {g-%arg%.inv-allies::*}
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@twoja-gildia-zerwala-sojusz-z-gildia}" to loop-player
- loop {g-%arg%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@gildia-zerwala-sojusz-z-twoja-gildia}" to loop-player
- stop
- loop {g-%{m.%player%}%.inv-allies::*}:
- loop-value-1 is arg:
- remove "%arg%" from {g-%{m.%player%}%.inv-allies::*}
- remove "%arg%" from {g-%arg%.inv-allies::*}
- loop {g-%{m.%player%}%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@twoja-gildia-zerwala-prosbe-sojuszu-z-gildia}" to loop-player
- loop {g-%arg%.members::*}:
- loop all players:
- loop-value-2 is loop-player:
- send "{@gildia-zerwala-prosbe-sojuszu-z-twoja-gildia}" to loop-player
- stop
- command /baza:
- trigger:
- {m.%player%} is not set:
- send "{@nie-jestes-czlonkiem-zadnej-gildii}"
- stop
- set {tp.baza.%player%} to "true"
- send "{@zostaniesz-przeteleportowany-do-bazy-swojej-gildii}"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a9"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a8"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a7"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a6"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a5"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a4"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a3"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a2"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "&a1"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- wait 1 second
- send "{@teleportacja}"
- {damage.%player%} is set:
- send "{@zostales-zaatakowany-zatrzymuje-teleportacje}"
- stop
- delete {tp.baza.%player%}
- teleport player to {g-%{m.%player%}%.base}
- stop
- on damage:
- {m.%attacker%} is not set:
- stop
- {m.%victim%} is not set:
- stop
- attacker is player
- {tp.baza.%attacker%} is set:
- set {damage.%attacker%} to "true"
- {tp.baza.%victim%} is set:
- set {damage.%victim%} to "true"
- {m.%attacker%} is {m.%victim%}:
- {tp.baza.%attacker%} is set:
- set {damage.%attacker%} to "true"
- {tp.baza.%victim%} is set:
- set {damage.%victim%} to "true"
- attacker's tool is a sword of knockback 1:
- set the damage to 0
- stop
- attacker's tool is a sword of knockback 2:
- set the damage to 0
- stop
- cancel event
- stop
- loop {g-%{m.%attacker%}%.allies::*}:
- loop-value is "%{m.%victim%}%":
- attacker's tool is a sword of knockback 1:
- set the damage to 0
- stop
- attacker's tool is a sword of knockback 2:
- set the damage to 0
- stop
- cancel event
- stop
- loop {g-%{m.%victim%}%.allies::*}:
- loop-value is "%{m.%attacker%}%":
- attacker's tool is a sword of knockback 1:
- set the damage to 0
- stop
- attacker's tool is a sword of knockback 2:
- set the damage to 0
- stop
- cancel event
- stop
- #loop {g-%m.%attacker%}%.enemies::*}:
- #if loop-value is "%{m.%victim%}%":
Advertisement
Add Comment
Please, Sign In to add comment