Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1.9.1#
- # # # # # # # # # # # # # # # #
- # Script by Patek #
- # Name: PVPGuild #
- # Version: 1.9.1 #
- # Skript: 2.1/2.1.2 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja PVPGuild by Patek! #
- # + Nie zezwalam na: #
- # - Usuwanie tresci o autorze! #
- # - Udostepnaniu skryptu innym! #
- # - Podszywanie sie pod autora! #
- # - Uzywanie kodu skryptu w swoich skryptach! #
- # - Zarabianie na skrypcie! #
- # + Zezwalam na: #
- # - Dodawanie kodu na swoja potrzebe! #
- # - Modyfikowanie wiadomosci! #
- #=============================================#
- #______________ ______________ ________ .__.__ .___
- #\______ \ \ / /\______ \/ _____/ __ __|__| | __| _/
- # | ___/\ Y / | ___/ \ ___| | \ | | / __ |
- # | | \ / | | \ \_\ \ | / | |__/ /_/ |
- # |____| \___/ |____| \______ /____/|__|____/\____ |
- # \/ \/
- options:
- # Tag wyswietlany przed wiadomosciami skryptu!:
- tag: &7[&4PVP&8Guild&7]
- # Wyglad chatu:
- chat: &7[&6{TAG}&7] {NICK}: &f{MSG}
- # Czy trzeba placic za gildie? (true|false):
- payment-for-guild: false
- # Jaka zaplata ma byc przyjmowana (money|item):
- payment-type: item
- # Ilosc pieniedzy do zalozenia gildi:
- payment-money-amount: 1000
- # Itemki na zalozenie gildii. Jezeli chcesz wiecej niz 5 wystarczy ze 1 jednej linice wpisz np. 3 cobblestone, 2 redstone and 1 torch , a jezeli nic wpisz none|air:
- payment-item-1: 3 stone
- payment-item-2: air
- payment-item-3: air
- payment-item-4: air
- payment-item-5: air
- # Blok ktory lezy na srodku cuboida:
- item-type-cuboid: dragon egg
- #Czy cuboidy maja byc wlaczone:
- cuboids: true
- #Czy ma byc wlaczone powiekszanie cuboidĂłw (true|false):
- powiekszanie: true
- #Ile trzeba zaplacic za powiekszanie:
- increase-cuboid-price: 10
- #Czym trzeba placic za powiekszanie:
- increase-cuboid-item: diamond
- # Czy teleportacja na baze ma być włączona:
- home: true
- on script load:
- set {pvpguild.prefix} to "{@tag}"
- set {pvpguild.chat} to "{@chat}"
- set {pvpguild.payment-type} to "{@payment-type}"
- set {pvpguild.payment-money-amount} to "{@payment-money-amount}"
- on load:
- send "&7[&4PVP&8Guild&7] PVPGuild &aEnabled!" to console
- send "&7[&4PVP&8Guild&7] PVPGuild by Patek" to console
- set {_version.current} to first 7 characters of content of file "plugins/Skript/scripts/PVPGuild.sk"
- replace all "##" with "" in {_version.current}
- set {_version.check} to result of connect to "http://pastebin.com/raw.php?i=4cCXYNS5"
- set {_version.new} to first 7 characters of {_version.check}
- replace all "##" with "" in {_version.new}
- if {_version.new} is {_version.current}:
- send "&7[&4PVP&8Guild&7] &aPosiadasz najnowszą wersje skryptu!" to console
- send "&7[&4PVP&8Guild&7] Twoja wersja to %{_version.current}%" to console
- stop
- send "&7[&4PVP&8Guild&7] Dostepna jest nowsza wersja skryptu!" to console
- send "&7[&4PVP&8Guild&7] Rozpoczynanie pobierania ...." to console
- download "http://pastebin.com/raw.php?i=4cCXYNS5" to "plugins/Skript/scripts/PVPGuild.sk"
- wait 1 second
- send "&7[&4PVP&8Guild&7] Pobieranie zakonczone!" to console
- send "&7[&4PVP&8Guild&7] Twoja wersja to %{_version.new}%" to console
- command /pvpguild [<text>] [<text>] [<text>]:
- aliases: g, guild, gildia
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&8========&6PVPGuild&8========"
- send "&e/gildia &a- &7Wszystkie komendy dla gildii!"
- send "&e/gildia stworz [TAG] [Nazwa] &a- &7Tworzy gildie!"
- send "&e/gildia usun &a- &7Usuwa gildie!"
- send "&e/gildia info [Nazwa] &a- &7Informacje o gildii!"
- send "&e/gildia zapros [Nick] &a- &7Zaprasza gracza do gildii!"
- send "&e/gildia wyrzuc [Nick] &a- &7Usuwa gracza z gildii!"
- send "&e/gildia oficer [Nick] &a- &7Nadaje oficera gildii!"
- send "&e/gildia list &a- &7Lista wszystkich gildiii!"
- send "&e/gildia dolacz [Nazwa] &a- &7Akceptuje zaproszenie od gildii!"
- stop
- if arg 2 is "1":
- send "&8========&6PVPGuild&8========"
- send "&e/gildia &a- &7Wszystkie komendy dla gildii!"
- send "&e/gildia stworz [TAG] [Nazwa] &a- &7Tworzy gildie!"
- send "&e/gildia usun &a- &7Usuwa gildie!"
- send "&e/gildia info [Nazwa] &a- &7Informacje o gildii!"
- send "&e/gildia zapros [Nick] &a- &7Zaprasza gracza do gildii!"
- send "&e/gildia wyrzuc [Nick] &a- &7Usuwa gracza z gildii!"
- send "&e/gildia oficer [Nick] &a- &7Nadaje oficera gildii!"
- send "&e/gildia list &a- &7Lista wszystkich gildiii!"
- send "&e/gildia dolacz [Nazwa] &a- &7Akceptuje zaproszenie od gildii!"
- stop
- if arg 2 is "2":
- send "&8========&6PVPGuild&8========"
- send "&e/gildia opusc &a- &7Opuszcza gildie!"
- send "&e/gildia pvp &a- &7Wlacza/Wylacz pvp miedzy czlonkami gildii!"
- send "&e/gildia chat &a- &7Chat gildijny"
- send "&e/gildia degrad [Nick] &a- &7Degraduje gracza z oficera!"
- send "&e/gildia sojusz [Nazwa] &a- &7Wysyla zaproszenie do sojuszu!"
- send "&e/gildia asojusz [Nazwa] &a- &7Akceptuje sojusz od gildii!"
- stop
- if arg 2 is "3" or "4" or "5":
- send "%{pvpguild.prefix}% &cTa strona nie istnieje!"
- stop
- if arg 1 is "reload":
- if player has permission "pvpguild.admin":
- execute console command "/sk reload %script%"
- send "%{pvpguild.prefix}% &aPrzeladowano!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "pomoc" or "help" or "?":
- if arg 2 is not set:
- send "&8========&6PVPGuild&8========"
- send "&e/gildia &a- &7Wszystkie komendy dla gildii!"
- send "&e/gildia stworz [TAG] [Nazwa] &a- &7Tworzy gildie!"
- send "&e/gildia usun &a- &7Usuwa gildie!"
- send "&e/gildia info [Nazwa] &a- &7Informacje o gildii!"
- send "&e/gildia zapros [Nick] &a- &7Zaprasza gracza do gildii!"
- send "&e/gildia wypros [Nick] &a- &7Usuwa gracza z gildii!"
- send "&e/gildia oficer [Nick] &a- &7Nadaje oficera gildii!"
- send "&e/gildia list &a- &7Lista wszystkich gildiii!"
- send "&e/gildia dolacz [Nazwa] &a- &7Akceptuje zaproszenie od gildii!"
- stop
- if arg 2 is "1":
- send "&8========&6PVPGuild&8========"
- send "&e/gildia &a- &7Wszystkie komendy dla gildii!"
- send "&e/gildia stworz [TAG] [Nazwa] &a- &7Tworzy gildie!"
- send "&e/gildia usun &a- &7Usuwa gildie!"
- send "&e/gildia info [Nazwa] &a- &7Informacje o gildii!"
- send "&e/gildia zapros [Nick] &a- &7Zaprasza gracza do gildii!"
- send "&e/gildia wypros [Nick] &a- &7Usuwa gracza z gildii!"
- send "&e/gildia oficer [Nick] &a- &7Nadaje oficera gildii!"
- send "&e/gildia list &a- &7Lista wszystkich gildiii!"
- send "&e/gildia dolacz [Nazwa] &a- &7Akceptuje zaproszenie od gildii!"
- stop
- if arg 2 is "2":
- send "&8========&6PVPGuild&8========"
- send "&e/gildia opusc &a- &7Opuszcza gildie!"
- send "&e/gildia pvp &a- &7Wlacza/Wylacz pvp miedzy czlonkami gildii!"
- send "&e/gildia chat &a- &7Chat gildijny"
- send "&e/gildia degrad [Nick] &a- &7Degraduje gracza z oficera!"
- send "&e/gildia sojusz [Nazwa] &a- &7Wysyla zaproszenie do sojuszu!"
- send "&e/gildia asojusz [Nazwa] &a- &7Akceptuje sojusz od gildii!"
- stop
- if arg 2 is "3" or "4" or "5":
- send "%{pvpguild.prefix}% &cTa strona nie istnieje!"
- stop
- if arg 1 is "setspawn":
- if player has permission "pvpguild.setspawn" or "pvpguild.admin":
- set {pvpguild.spawn} to location of player
- send "%{pvpguild.prefix}% &aPomyslnie utworzono spawn!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "stworz" or "create" or "c":
- if player has permission "pvpguild.create" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.guild::%arg 3%} is not set:
- if {pvpguild.taglist::*} contains "%arg 2%":
- send "%{pvpguild.prefix}% &cGildia o takim tagu juz istnieje!"
- stop
- if {pvpguild.inguild::%name of player%} is not set:
- if arg 2 is set:
- if length of argument 2 is smaller than 5:
- if arg 3 is set:
- if length of arg 3 is smaller than 21:
- if {@cuboids} is true:
- if distance between player and {pvpguild.spawn} is greater than 300:
- if {pvpguild.cuboid-center::*} is set:
- loop {pvpguild.cuboid-center::*}:
- if distance between player and loop-value is greater than 350:
- if {@payment-for-guild} is true:
- if {pvpguild.payment-type} is "money":
- set {_amount.money} to {pvpguild.payment-money-amount}
- if PLAYER'S MONEY is greater than {_amount.money}-1:
- remove {_amount.money} from the player's balance
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- add "%arg 3%" to {pvpguild.guildlist::*}
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set block at {pvpguild.cuboid.%arg 3%} to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cNie masz wystarczająco pieniędzy na zalozenie gildii!"
- stop
- if {pvpguild.payment-type} is "item":
- if player has {@payment-item-1}:
- if player has {@payment-item-2}:
- if player has {@payment-item-3}:
- if player has {@payment-item-4}:
- if player has {@payment-item-5}:
- remove {@payment-item-1} from the player
- remove {@payment-item-2} from the player
- remove {@payment-item-3} from the player
- remove {@payment-item-4} from the player
- remove {@payment-item-5} from the player
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- add "%arg 3%" to {pvpguild.guildlist::*}
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set block at location of player to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- add "%arg 3%" to {pvpguild.guildlist::*}
- set {pvpguild.%arg 3%.time} to now
- set block at location of player to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyÂł gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cW poblizu 200 kratek znajduje sie juz gildia!"
- stop
- stop
- if {@payment-for-guild} is true:
- if {pvpguild.payment-type} is "money":
- set {_amount.money} to {pvpguild.payment-money-amount}
- if PLAYER'S MONEY is greater than {_amount.money}-1:
- remove {_amount.money} from the player's balance
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- set {pvpguild.%arg 3%.time} to now
- add "%arg 3%" to {pvpguild.guildlist::*}
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set block at {pvpguild.cuboid.%arg 3%} to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cNie masz wystarczająco pieniędzy na zalozenie gildii!"
- stop
- if {pvpguild.payment-type} is "item":
- if player has {@payment-item-1}:
- if player has {@payment-item-2}:
- if player has {@payment-item-3}:
- if player has {@payment-item-4}:
- if player has {@payment-item-5}:
- remove {@payment-item-1} from the player
- remove {@payment-item-2} from the player
- remove {@payment-item-3} from the player
- remove {@payment-item-4} from the player
- remove {@payment-item-5} from the player
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- add "%arg 3%" to {pvpguild.guildlist::*}
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set block at location of player to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.cuboid.%arg 3%} to location of player
- edit tag of player to "&7[&6%arg 2%&7]&f "
- add "%arg 3%" to {pvpguild.guildlist::*}
- set block at location of player to {@item-type-cuboid}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyÂł gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- "%arg 3%".Region.selectLS{location of player, 50};
- set {_center} to "%arg 3%".Region.getCenter{};
- add {_center} to {pvpguild.cuboid-center::*}
- stop
- send "%{pvpguild.prefix}% &cGildie mozna zalozyc dopiero 300 kratek od spawnu!"
- stop
- if {@cuboids} is false:
- if {@payment-for-guild} is true:
- if {pvpguild.payment-type} is "money":
- set {_amount.money} to {pvpguild.payment-money-amount}
- if PLAYER'S MONEY is greater than {_amount.money}-1:
- remove {_amount.money} from the player's balance
- set {pvpguild.guild::%arg 3%} to true
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- add "%arg 3%" to {pvpguild.guildlist::*}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- stop
- send "%{pvpguild.prefix}% &cNie masz wystarczająco pieniędzy na zalozenie gildii!"
- stop
- if {pvpguild.payment-type} is "item":
- if player has {@payment-item-1}:
- if player has {@payment-item-2}:
- if player has {@payment-item-3}:
- if player has {@payment-item-4}:
- if player has {@payment-item-5}:
- remove {@payment-item-1} from the player
- remove {@payment-item-2} from the player
- remove {@payment-item-3} from the player
- remove {@payment-item-4} from the player
- remove {@payment-item-5} from the player
- set {pvpguild.guild::%arg 3%} to true
- edit tag of player to "&7[&6%arg 2%&7]&f "
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.%arg 3%.time} to now
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- add "%arg 3%" to {pvpguild.guildlist::*}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyl gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz odpowiednich itemow!"
- stop
- stop
- set {pvpguild.guild::%arg 3%} to true
- set {pvpguild.%arg 3%.lider} to "%name of player%"
- set {pvpguild.%arg 3%.tag} to "%arg 2%"
- set {pvpguild.inguild::%name of player%} to "%arg 3%"
- add "%arg 2%" to {pvpguild.taglist::*}
- edit tag of player to "&6[&7%arg 2%&7]&f "
- set {pvpguild.%arg 3%.time} to now
- add "%arg 3%" to {pvpguild.guildlist::*}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUtworzyÂł gildie o nazwie &9%arg 3% &a i tagu &9%arg 2%"
- stop
- stop
- send "%{pvpguild.prefix}% &cNazwa gildi nie moze miec wiecej niz 20 znakow!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nazwe swojej gildi!"
- stop
- send "%{pvpguild.prefix}% &cTag gildi nie moze miec wiecej niz 4 znaki!"
- stop
- send "%{pvpguild.prefix}% &cPodaj tag gildi!"
- stop
- send "%{pvpguild.prefix}% &cAby zalozyc gildie najpierw musisz oposcic aktualna!"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia juz istnieje!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "info" or "informacje" or "i":
- if player has permission "pvpguild.info" or "pvpguild.admin" or "pvpguild.gracz":
- if {@cuboids} is true:
- if arg 2 is set:
- if {pvpguild.guild::%arg 2%} is set:
- if {pvpguild.%arg 2%.members::*} is set:
- if {pvpguild.%arg 2%.oficers::*} is set:
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- set {_size} to "%arg 2%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- loop {pvpguild.%arg 2%.oficers::*}:
- if loop-value parsed as player is online:
- add loop-value parsed as player to {_online.oficers::*}
- else:
- add loop-value to {_offline.oficers::*}
- if {_online.oficers::*} is set:
- if {_offline.oficers::*} is set:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}% &c%{_offline.oficers::*}%"
- else:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}%"
- else:
- send "&7Oficerowie gildi: &c%{_offline.oficers::*}%"
- loop {pvpguild.%arg 2%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}%"
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- set {_size} to "%arg 2%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- send "&7Oficerowie gildi: &9Brak"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- loop {pvpguild.%arg 2%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}%"
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- set {_size} to "%arg 2%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- send "&7Oficerowie gildi: &9Brak"
- send "&7Czlonkowie gildi: &9Brak"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- stop
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- else:
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*} is set:
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- set {_size} to "%{pvpguild.inguild::%name of player%}%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.oficers::*}
- else:
- add loop-value to {_offline.oficers::*}
- if {_online.oficers::*} is set:
- if {_offline.oficers::*} is set:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}% &c%{_offline.oficers::*}%"
- else:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}%"
- else:
- send "&7Oficerowie gildi: &c%{_offline.oficers::*}%"
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}% "
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- set {_size} to "%{pvpguild.inguild::%name of player%}%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- send "&7Oficerowie gildi: &9Brak"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}% "
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- set {_size} to "%{pvpguild.inguild::%name of player%}%".Region.getSize{};
- send "&7Wielkosc cuboida: &9%{_size}%"
- send "&7Oficerowie gildi: &9Brak"
- send "&7Czlonkowie gildi: &9Brak"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- stop
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- stop
- stop
- stop
- if {@cuboids} is false:
- if arg 2 is set:
- if {pvpguild.guild::%arg 2%} is set:
- if {pvpguild.%arg 2%.members::*} is set:
- if {pvpguild.%arg 2%.oficers::*} is set:
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- loop {pvpguild.%arg 2%.oficers::*}:
- if loop-value PARSED AS player is online:
- add loop-value to {_online.oficers::*}
- else:
- add loop-value to {_offline.oficers::*}
- if {_online.oficers::*} is set:
- if {_offline.oficers::*} is set:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}% &c%{_offline.oficers::*}%"
- loop {pvpguild.%arg 2%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}%"
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- send "&7Oficerowie gildi: &9Brak"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- loop {pvpguild.%arg 2%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}%"
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%arg 2%"
- send "&7Tag gildi: &9%{pvpguild.%arg 2%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%arg 2%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%arg 2%.lider}%"
- send "&7Oficerowie gildi: &9Brak"
- send "&7Czlonkowie gildi: &9Brak"
- set {_} to size of {pvpguild.%arg 2%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- stop
- send "&7Sojusze: &9%{pvpguild.%arg 2%.sojusz::*}%"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- else:
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*} is set:
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.oficers::*}
- else:
- add loop-value to {_offline.oficers::*}
- if {_online.oficers::*} is set:
- if {_offline.oficers::*} is set:
- send "&7Oficerowie gildi: &a%{_online.oficers::*}% &c%{_offline.oficers::*}%"
- stop
- send "&7Oficerowie gildi: &a%{_online.oficers::*}%"
- stop
- send "&7Oficerowie gildi: &c%{_offline.oficers::*}%"
- stop
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}% "
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- send "&7Oficerowie gildi: &9Brak"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- if {_} is greater than 0:
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- if loop-value parsed as player is online:
- add loop-value to {_online.members::*}
- else:
- add loop-value to {_offline.members::*}
- if {_online.members::*} is set:
- if {_offline.members::*} is set:
- send "&7Czlonkowie gildi: &a%{_online.members::*}% &c%{_offline.members::*}%"
- stop
- send "&7Czlonkowie gildi: &a%{_online.members::*}% "
- stop
- send "&7Czlonkowie gildi: &c%{_offline.members::*}%"
- stop
- send "&7Nazwa gildi: &9%{pvpguild.inguild::%name of player%}%"
- send "&7Tag gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- send "&7Zalozenie gildii: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.time}%"
- send "&7Lider gildi: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.lider}%"
- send "&7Oficerowie gildi: &9Brak"
- send "&7Czlonkowie gildi: &9Brak"
- set {_} to size of {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- if {_} is 0:
- send "&7Sojusze: &9Brak"
- stop
- send "&7Sojusze: &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}%"
- stop
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawanien do tej komendy!"
- stop
- if arg 1 is "usun" or "delete" or "u":
- if player has permission "pvpguild.delete" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- set block at {pvpguild.cuboid.%{pvpguild.inguild::%name of player%}%} to air
- remove "%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%" from {pvpguild.taglist::*}
- remove "%{pvpguild.inguild::%name of player%}%" from {pvpguild.guildlist::*}
- broadcast "%{pvpguild.prefix}% &7%name of player% &aUsunal gildie o nazwie &9%{pvpguild.inguild::%name of player%}% &a i tagu &9%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%"
- clear {pvpguild.guild::%{pvpguild.inguild::%name of player%}%}
- edit tag of player to ""
- clear {pvpguild.%{pvpguild.inguild::%name of player%}%.lider}
- if {@cuboids} is true:
- set {_center} to "%{pvpguild.inguild::%name of player%}%".Region.getCenter{};
- delete {pvpguild.%{pvpguild.inguild::%name of player%}%.home}
- remove {_center} from {pvpguild.cuboid-center::*}
- "%{pvpguild.inguild::%name of player%}%".Region.delete{};
- delete {pvpguild.%{pvpguild.inguild::%name of player%}%.time}
- clear {pvpguild.%{pvpguild.inguild::%name of player%}%.tag}
- remove "%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%" from {pvpguild.taglist::*}
- if size of {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} is greater than 0:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- clear {pvpguild.inguild::%loop-value%}
- edit tag of loop-value parsed as player to ""
- remove "%loop-value parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- if size of {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*} is greater than 0:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}:
- clear {pvpguild.inguild::%loop-value%}
- edit tag of loop-value parsed as player to ""
- remove "%loop-value parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}
- clear {pvpguild.inguild::%name of player%}
- stop
- send "%{pvpguild.prefix}% &cTylko lider gildi moze tego uzywac!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "list" or "lista" or "l":
- if player has permission "pvpguild.list" or "pvpguild.admin" or "pvpguild.gracz":
- set {_strona} to arg 2 parsed as number
- if {_strona} is not set:
- set {_strona} to 1
- set {_liczbawpisow} to size of {pvpguild.guildlist::*}
- set {_liczba-stron} to ceil({_liczbawpisow}/10)
- if {_liczba-stron} is smaller than 1:
- set {_liczba-stron} to 1
- if {_strona} is smaller than 1:
- send "%{pvpguild.prefix}% &cNie ma takiej strony!"
- stop
- if {_strona} is greater than {_liczba-stron}:
- send "%{pvpguild.prefix}% &cNie ma takiej strony!"
- stop
- if size of {pvpguild.guildlist::*} is smaller than 1:
- send "%{pvpguild.prefix}% &cBrak gildi!"
- stop
- loop {pvpguild.guildlist::*}:
- add loop-value to {_pvpguild.guildlist::*}
- loop {pvpguild.taglist::*}:
- add loop-value to {_pvpguild.taglist::*}
- send "&8Lista gildii: &2%{_strona}%&6/&2%{_liczba-stron}%"
- loop {_liczbawpisow} times:
- set {_lista} to ({_strona}-1)*10
- add loop-number to {_lista}
- if {_pvpguild.guildlist::%{_lista}%} is not set:
- stop
- if loop-number is 11:
- stop
- send "&8%{_lista}%. &4%{_pvpguild.guildlist::%{_lista}%}% &7[&9%{_pvpguild.taglist::%{_lista}%}%&7]"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "invite" or "zapros" or "inv":
- if player has permission "pvpguild.invite" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if arg 2 is set:
- set {_player} to arg 2 parsed as player
- if {_player} has played before:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- set {invite.%{pvpguild.inguild::%name of player%}%.%{_player}%} to true
- send "&8===================================================" to {_player}
- send "&eGildia &a%{pvpguild.inguild::%name of player%}% &e wysyla ci zaproszenie" to {_player}
- send "&eWpisz &a/g dolacz %{pvpguild.inguild::%name of player%}% &eaby zaakceptowac!" to {_player}
- send "&8===================================================" to {_player}
- send "&8==================================================="
- send "&eZaproszenie zostalo wyslane do &a%{_player}%"
- send "&8==================================================="
- wait 1 minute
- if {pvpguild.inguild::%{_player}%} is not {pvpguild.inguild::%name of player%}:
- clear {invite.%{pvpguild.inguild::%name of player%}%.%{_player}%}
- stop
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%name of player%.oficer} is player:
- set {invite.%{pvpguild.inguild::%name of player%}%.%{_player}%} to true
- send "&8===================================================" to {_player}
- send "&eGildia &a%{pvpguild.inguild::%name of player%}% &e wysyla ci zaproszenie" to {_player}
- send "&eWpisz &a/g dolacz %{pvpguild.inguild::%name of player%}% &eaby zaakceptowac!" to {_player}
- send "&8===================================================" to {_player}
- send "&8==================================================="
- send "&eZaproszenie zostalo wyslane do &a%{_player}%"
- send "&8==================================================="
- wait 1 minute
- if {pvpguild.inguild::%{_player}%} is not {pvpguild.inguild::%name of player%}:
- clear {invite.%{pvpguild.inguild::%name of player%}%.%{_player}%}
- stop
- stop
- send "%{pvpguild.prefix}% &cTego gracza nigdy nie bylo na serwerze!"
- stop
- send "%{pvpguild.prefix}% &cTylko lider/oficer moze zapraszac do gildi!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nick gracza!"
- stop
- send "%{pvpguild.prefix}% Musisz być w gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "dolacz":
- if player has permission "pvpguild.dolacz" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} isn't set:
- if arg 2 is set:
- if {pvpguild.guild::%arg 2%} is true:
- if {invite.%arg 2%.%name of player%} is true:
- set {pvpguild.inguild::%name of player%} to "%arg 2%"
- clear {invite.%arg 2%.%name of player%}
- edit tag of player to "&7[&6%{pvpguild.%arg 2%.tag}%&7]&f "
- add "%name of player%" to {pvpguild.%arg 2%.members::*}
- broadcast "%{pvpguild.prefix}% &7%player% &aDolaczyl do gildi &9%arg 2%"
- stop
- send "%{pvpguild.prefix}% &cNie masz zaproszenia od tej gildi!"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nazwe gildi!"
- stop
- send "%{pvpguild.prefix}% &cNajpierw opusc gildie!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "opusc" or "leave" or "lv":
- if player has permission "pvpguild.leave" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- send "%{pvpguild.prefix}% &cLider nie moze opuscic klanu! Uzyj: &4/g usun"
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%name of player%.oficer} is player:
- remove "%player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}
- remove "%player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- edit tag of player to ""
- broadcast "%{pvpguild.prefix}% &7%player% &aOpuscil gildie &9%{pvpguild.inguild::%name of player%}%"
- clear {pvpguild.inguild::%name of player%}
- stop
- remove "%player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- broadcast "%{pvpguild.prefix}% &7%player% &aOpuscil gildie &9%{pvpguild.inguild::%name of player%}%"
- edit tag of player to ""
- clear {pvpguild.inguild::%name of player%}
- stop
- send "%{pvpguild.prefix}% &cNie masz gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "wyrzuc" or "kick" or "idz":
- if player has permission "pvpguild.kick" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if arg 2 is set:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- loop-value is argument 2:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%loop-value%.oficer} is loop-value:
- clear {pvpguild.%{pvpguild.inguild::%name of player%}%.%argument 2 parsed as offline player%.oficer}
- clear {pvpguild.inguild::%name of argument 2 parsed as offline player%}
- edit tag of argument 2 parsed as player to ""
- remove "%argument 2 parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}
- remove "%argument 2 parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- broadcast "%{pvpguild.prefix}% &7%arg 2% &aZostal wyzucony z gildi &9%{pvpguild.inguild::%name of player%}% &a przez &c%player%"
- stop
- clear {pvpguild.inguild::%name of argument 2 parsed as offline player%}
- edit tag of argument 2 parsed as player to ""
- remove "%argument 2 parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- broadcast "%{pvpguild.prefix}% &7%arg 2% &aZostal wyzucony z gildi &9%{pvpguild.inguild::%name of player%}% &a przez &c%player%"
- stop
- send "%{pvpguild.prefix}% &cTen gracz nie jest w naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nick gracza!"
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%name of player%.oficer} is player:
- if arg 2 is set:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- loop-value is argument 2 parsed as offline player:
- loop-value is not {pvpguild.%{pvpguild.inguild::%name of player%}%.%loop-value%.oficer}:
- edit tag of argument 2 parsed as player to ""
- clear {pvpguild.inguild::%name of argument 2 parsed as offline player%}
- remove "%argument 2 parsed as player%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}
- broadcast "%{pvpguild.prefix}% &7%arg 2% &aZostal wyzucony z gildi &9%{pvpguild.inguild::%name of player%}% &a przez &c%player%"
- stop
- send "%{pvpguild.prefix}% &cNie mozesz wyrzucic oficera gildi!"
- stop
- send "%{pvpguild.prefix}% &cTen gracz nie jest w naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nick gracza!"
- stop
- send "%{pvpguild.prefix}% &cTylko lider/oficer gildi moĹĽe wyrzucac graczy!"
- stop
- send "%{pvpguild.prefix}% &cNie masz gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "chat":
- if player has permission "pvpguild.chat" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if arg 2 is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*} contain player:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_l} to {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} parsed as player
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &e*&7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &e*&7%player%: &f%coloured argument 2% %{_}%" to {_l}
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} contain player:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_l} to {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} parsed as player
- set {_} to ""
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &7%player%: &f%coloured argument 2% %{_}%" to {_l}
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if size of {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} is bigger than 0:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_} to ""
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &e**&7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &e**&7%player%: &f%coloured argument 2% %{_}%" to player
- stop
- send "%{pvpguild.prefix}% &cW twojej gildi jest za malo czlonkow by wyslac wiadomosc!"
- stop
- if arg 2 is not set:
- if {pvpguild.guild-chat::%name of player%} is not set:
- set {pvpguild.guild-chat::%name of player%} to false
- if {pvpguild.guild-chat::%name of player%} is false:
- set {pvpguild.guild-chat::%name of player%} to true
- send "%{pvpguild.prefix}% &aWlaczono chat gildijny!"
- stop
- if {pvpguild.guild-chat::%name of player%} is true:
- set {pvpguild.guild-chat::%name of player%} to false
- send "%{pvpguild.prefix}% &cChat gildijny wylaczony!"
- stop
- send "%{pvpguild.prefix}% &cMusisz byc w gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "oficer":
- if player has permission "pvpguild.oficer" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if arg 2 is set:
- set {_p} to arg 2 parsed as player
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is not {_p}:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} contain {_p}:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%{_p}%.oficer} is not set:
- add "%{_p}%" to {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}
- set {pvpguild.%{pvpguild.inguild::%name of player%}%.%{_p}%.oficer} to {_p}
- send "%{pvpguild.prefix}% &aGracz &6%{_p}% &ajest oficerem naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cTen gracz jest juz oficerem!"
- stop
- send "%{pvpguild.prefix}% &cTen gracz nie jest w naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cLider nie moze zostac oficerem!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nick gracza!"
- stop
- send "%{pvpguild.prefix}% &cTylko lider moze mianowac graczy!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes w gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "pvp":
- if player has permission "pvpguild.pvp" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} is not set:
- set {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} to false
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} is false:
- set {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} to true
- send "%{pvpguild.prefix}% &AWlaczyles pvp miedzy czlonkami gildii!"
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} is true:
- set {pvpguild.%{pvpguild.inguild::%name of player%}%.pvp} to false
- send "%{pvpguild.prefix}% &AWylaczyles pvp miedzy czlonkami gildii!"
- stop
- stop
- send "%{pvpguild.prefix}% Tylko lider moze wylaczac pvp!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "degrad" or "degraduj":
- if player has permission "pvpguild.degrad" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if arg 2 is set:
- set {_p} to arg 2
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is not {_p}:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} contain {_p}:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.%{_p}%.oficer} is {_p}:
- remove "%{_p}%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*}
- delete {pvpguild.%{pvpguild.inguild::%name of player%}%.%{_p}%.oficer}
- send "%{pvpguild.prefix}% &aGracz &6%{_p}% &azostal zdegradowany z oficera naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cTen gracz nie jest oficerem!"
- stop
- send "%{pvpguild.prefix}% &cTen gracz nie jest w naszej gildi!"
- stop
- send "%{pvpguild.prefix}% &cLider nie moze byc zdegradowany!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nick gracza!"
- stop
- send "%{pvpguild.prefix}% &cTylko lider moze mianowac graczy!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes w gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "sethome" or "ustawdom":
- if player has permission "pvpguild.admin" or "pvpguild.gracz" or "pvpguild.sethome":
- if {@home} is true:
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- set {_region} to region.at{location of player};
- if {_region} is {pvpguild.inguild::%name of player%}:
- set {pvpguild.%{pvpguild.inguild::%name of player%}%.home} to location of player
- send "%{pvpguild.prefix}% &aUstawiono baze!"
- stop
- send "%{pvpguild.prefix}% &cBaze możesz ustawić tylko na terenie swojej gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes liderem gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cUstawianie bazy jest wyłączone!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "home" or "baza":
- if player has permission "pvpguild.admin" or "pvpguild.gracz" or "pvpguild.sethome":
- if {@home} is true:
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.home} is set:
- set {_loc} to location of player
- send "%{pvpguild.prefix}% &aTeleportacja nastapi za 5 sekund , prosze sie nie ruszac!"
- if {_loc} isn't location of player:
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- wait 1 second
- if {_loc} isn't location of player:
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- wait 1 second
- if {_loc} isn't location of player:
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- wait 1 second
- if {_loc} isn't location of player:
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- wait 1 second
- if {_loc} isn't location of player:
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- wait 1 second
- if {_loc} is location of player:
- teleport player to {pvpguild.%{pvpguild.inguild::%name of player%}%.home}
- send "%{pvpguild.prefix}% &aTeleportacja ..."
- stop
- send "%{pvpguild.prefix}% &cTeleportacja anulowana , wykryto ruch!"
- stop
- send "%{pvpguild.prefix}% &cBaza nie została ustawiona!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cUstawianie bazy jest wyłączone!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "sojusz":
- if player has permission "pvpguild.sojusz" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if arg 2 is set:
- if arg 2 is not {pvpguild.inguild::%name of player%}:
- if {pvpguild.guild::%arg 2%} is set:
- if {pvpguild.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%} is not set:
- if {pvpguild.%arg 2%.lider} parsed as player is online:
- set {pvpguild.invite.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%} to true
- set {_player} to {pvpguild.%arg 2%.lider} parsed as player
- send "&8===================================================" to {_player}
- send "&eGildia &a%{pvpguild.inguild::%name of player%}% &e wysyla ci zaproszenie do sojuszu!" to {_player}
- send "&eWpisz &a/g asojusz %{pvpguild.inguild::%name of player%}% &eaby zaakceptowac!" to {_player}
- send "&8===================================================" to {_player}
- send "&8==================================================="
- send "&eZaproszenie zostalo wyslane do gildi &a%arg 2%"
- send "&8==================================================="
- wait 1 minute
- if {pvpguild.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%} is true:
- clear {pvpguild.invite.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%}
- stop
- send "%{pvpguild.prefix}% &cCzas oczekiwania na akceptacje minal!"
- stop
- stop
- send "%{pvpguild.prefix}% &cLider tej gildii nie jest online!"
- stop
- send "%{pvpguild.prefix}% &cTo jest juz twoj sojusznik !"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- send "%{pvpguild.prefix}% &cNie możesz zawrzeć sojuszu z własną gildią!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nazwe gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes liderem gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- if arg 1 is "asojusz":
- if player has permission "pvpguild.asojusz" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if arg 2 is set:
- if {pvpguild.guild::%arg 2%} is set:
- if {pvpguild.invite.soj.%{pvpguild.inguild::%name of player%}%.%arg 2%} is true:
- set {pvpguild.soj.%{pvpguild.inguild::%name of player%}%.%arg 2%} to true
- clear {pvpguild.invite.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%}
- add "%arg 2%" to {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- add "%{pvpguild.inguild::%name of player%}%" to {pvpguild.%arg 2%.sojusz::*}
- broadcast "%{pvpguild.prefix}% &aGildia &7%arg 2% &a zawarla sojusz z gildia &7%{pvpguild.inguild::%name of player%}%"
- stop
- send "%{pvpguild.prefix}% &cNie masz zaproszenia od tej gildi!"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nazwe gildi!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "powieksz":
- if player has permission "pvpguild.powieksz" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if {@powiekszanie} is true:
- set {_size} to "%{pvpguild.inguild::%name of player%}%".Region.getSize{};
- if {_size} is not 150:
- set {_price} to ({_size}/10)-5+{@increase-cuboid-price}
- if player contains {_price} of {@increase-cuboid-item}:
- "%{pvpguild.inguild::%name of player%}%".Region.setSize{{_size}+10};
- remove {_price} of {@increase-cuboid-item} from player
- send "%{pvpguild.prefix}% &aCuboid gildii zostal powiększony o &410 &akratek!"
- stop
- send "%{pvpguild.prefix}% &cNie masz wystarczajacych itemkĂłw!"
- stop
- send "%{pvpguild.prefix}% &cTwoja gildia osiagnela juz maksymalny rozmiar cuboidu!"
- stop
- send "%{pvpguild.prefix}% &cPowiekszanie gildii jest wylaczone!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes liderem gildii"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprawnien do tej komendy!"
- stop
- if arg 1 is "neutral":
- if player has permission "pvpguild.neutral" or "pvpguild.admin" or "pvpguild.gracz":
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if arg 2 is set:
- if {pvpguild.guild::%arg 2%} is set:
- if {pvpguild.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%} is true:
- delete {pvpguild.soj.%arg 2%.%{pvpguild.inguild::%name of player%}%}
- remove "%arg 2%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- remove "%{pvpguild.inguild::%name of player%}%" from {pvpguild.%arg 2%.sojusz::*}
- broadcast "%{pvpguild.prefix}% &aGildia &7%arg 2% &a zerwala sojusz z gildia &7%{pvpguild.inguild::%name of player%}%"
- stop
- if {pvpguild.soj.%{pvpguild.inguild::%name of player%}%.%arg 2%} is true:
- delete {pvpguild.soj.%{pvpguild.inguild::%name of player%}%.%arg 2%}
- remove "%arg 2%" from {pvpguild.%{pvpguild.inguild::%name of player%}%.sojusz::*}
- remove "%{pvpguild.inguild::%name of player%}%" from {pvpguild.%arg 2%.sojusz::*}
- broadcast "%{pvpguild.prefix}% &aGildia &7%arg 2% &a zerwala sojusz z gildia &7%{pvpguild.inguild::%name of player%}%"
- stop
- send "%{pvpguild.prefix}% &cTo nie jest twoj sojusznik!"
- stop
- send "%{pvpguild.prefix}% &cTaka gildia nie istnieje!"
- stop
- send "%{pvpguild.prefix}% &cPodaj nazwe gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie jestes liderem gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie posiadasz gildii!"
- stop
- send "%{pvpguild.prefix}% &cNie masz uprwanien do tej komendy!"
- stop
- send "%{pvpguild.prefix}% &cNieznana komenda! Wpisz &6/g pomoc &c aby uzyskac wszystkie komendy!"
- stop
- on damage of player:
- if {pvpguild.inguild::%name of attacker%} is set:
- if {pvpguild.inguild::%name of victim%} is set:
- if {pvpguild.%{pvpguild.inguild::%name of attacker%}%.members::*} contain victim:
- if {pvpguild.%{pvpguild.inguild::%name of attacker%}%.pvp} is false:
- cancel event
- stop
- if {pvpguild.%{pvpguild.inguild::%name of victim%}%.members::*} contain attacker:
- if {pvpguild.%{pvpguild.inguild::%name of victim%}%.pvp} is false:
- cancel event
- stop
- else:
- set {_attack} to {pvpguild.inguild::%name of attacker%}
- set {_defend} to {pvpguild.inguild::%name of victim%}
- if {pvpguild.soj.%{_defend}%.%{_attack}%} is true:
- cancel event
- stop
- if {pvpguild.soj.%{_attack}%.%{_defend}%} is true:
- cancel event
- stop
- on break:
- set {_region} to Region.at{event-location};
- if {_region} is empty:
- stop
- if {_region} is set:
- if {_region} is {pvpguild.inguild::%name of player%}:
- stop
- cancel event
- send "%{pvpguild.prefix}% &cTo jest teren innej gildi!"
- stop
- on place:
- set {_region} to Region.at{event-location};
- if {_region} is empty:
- stop
- if {_region} is set:
- if {_region} is {pvpguild.inguild::%name of player%}:
- stop
- cancel event
- send "%{pvpguild.prefix}% &cTo jest teren innej gildi!"
- stop
- on chat:
- if {pvpguild.inguild::%name of player%} is set:
- if {pvpguild.guild-chat::%name of player%} is not set:
- set {pvpguild.guild-chat::%name of player%} to false
- if {pvpguild.guild-chat::%name of player%} is false:
- cancel event
- set {_chat} to "%{pvpguild.chat}%"
- replace all "{TAG}" with "%{pvpguild.%{pvpguild.inguild::%name of player%}%.tag}%" in {_chat}
- replace all "{NICK}" with "%display name of player%" in {_chat}
- replace all "{MSG}" with "%message%" in {_chat}
- broadcast "%{_chat}%"
- stop
- if {pvpguild.guild-chat::%name of player%} is true:
- cancel event
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.oficers::*} contain player:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_l} to {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} parsed as player
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &e*&7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &e*&7%player%: &f%coloured argument 2% %{_}%" to {_l}
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} contain player:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_l} to {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} parsed as player
- set {_} to ""
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &7%player%: &f%coloured argument 2% %{_}%" to {_l}
- stop
- if {pvpguild.%{pvpguild.inguild::%name of player%}%.lider} is player:
- if size of {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*} is bigger than 0:
- loop {pvpguild.%{pvpguild.inguild::%name of player%}%.members::*}:
- set {_p} to loop-value parsed as player
- set {_} to ""
- if arg 3 is set:
- set {_} to coloured arg 3
- send "&2Guild >> &e**&7%player%: &f%coloured argument 2% %{_}%" to {_p}
- send "&2Guild >> &e**&7%player%: &f%coloured argument 2% %{_}%" to player
- stop
- send "%{pvpguild.prefix}% &cW twojej gildi jest za malo czlonkow by wyslac wiadomosc!"
- stop
- on anymove:
- set {_region} to region.at{location of player};
- if {_region} is set:
- if {pvpguild.%name of player%.back} is not set:
- set {pvpguild.%name of player%.back} to {_region}
- remove bossbar from player
- if {pvpguild.%{_region}%.members::*} contain player:
- stop
- if {pvpguild.%{_region}%.lider} is player:
- stop
- loop {pvpguild.%{_region}%.members::*}:
- send "%{pvpguild.prefix}% &c** &7Intruz na terenie twojej gildii! &c **" to loop-value
- send "%{pvpguild.prefix}% &c** &7Intruz na terenie twojej gildii! &c **" to {pvpguild.%{pvpguild.%name of player%.back}%.lider} parsed as player
- display "&aWchodzisz na teren gildii &7%{_region}%" on bossbar with 100 percent by 5 seconds for player
- if {_region} is not set:
- if {pvpguild.%name of player%.back} is set:
- remove bossbar from player
- if {pvpguild.%{pvpguild.%name of player%.back}%.members::*} contain player:
- stop
- if {pvpguild.%{pvpguild.%name of player%.back}%.lider} is player:
- stop
- loop {pvpguild.%{pvpguild.%name of player%.back}%.members::*}:
- send "%{pvpguild.prefix}% &c** &7Intruz opuscil teren twojej gildii! &c **" to loop-value
- send "%{pvpguild.prefix}% &c** &7Intruz opuscil teren twojej gildii! &c **" to {pvpguild.%{pvpguild.%name of player%.back}%.lider} parsed as player
- display "&aOpuszczasz teren gildii &7%{pvpguild.%name of player%.back}%" on bossbar with 100 percent by 5 seconds for player
- delete {pvpguild.%name of player%.back}
- on join:
- if {pvpguild.inguild::%name of player%} is not set:
- edit player's tag to ""
- if player is "PatisonPlayGames":
- set join message to "&2&lPatek &e&lautor gildii dolaczyl do gry!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment