Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {czas-turbodrop::%player%} to "&f-"
- set {czas-turbodrop.gildia::%player%} to "&f-"
- set {turbodrop.gildia::%player%} to "&cnie"
- set {czas-turboexp::%player%} to "&f-"
- set {czas-turboexp.gildia::%player%} to "&f-"
- set {turboexp.gildia::%player%} to "&cnie"
- set {czas-turboexp.text::%player%} to "&cnie"
- set {czas-turbodrop.text::%player%} to "&cnie"
- clear {kopanie::%player%}
- clear {guiwyjmowanie::%player%}
- loop {KH-drop.numer} times:
- clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
- on mine of diamond ore or emerald ore or iron ore or gold ore:
- if {cobblex.%event-block%} is not set:
- cancel event
- set block to air
- send " &8» &eDrop z tej rudy jest wylaczony!"
- send " &8» &eAby zobaczyc procent szans na drop wpisz &8/Drop&e!"
- stop
- on break of stone:
- on join:
- clear {guiwyjmowanie::%player%}
- clear {kopanie::%player%}
- if {turbodrop::%player%} is not set:
- set {czas-turbodrop.text::%player%} to "&cnie"
- set {czas-turbodrop::%player%} to "&f-"
- set {czas-turbodrop.gildia::%player%} to "&f-"
- set {turbodrop.gildia::%player%} to "&cnie"
- if {turboexp::%player%} is not set:
- set {czas-turboexp::%player%} to "&f-"
- set {czas-turboexp.gildia::%player%} to "&f-"
- set {turboexp.gildia::%player%} to "&cnie"
- set {czas-turboexp.text::%player%} to "&cnie"
- loop {KH-drop.numer} times:
- clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
- on quit:
- clear {kopanie::%player%}
- clear {guiwyjmowanie::%player%}
- if {czas-turbodrop::%player%} is "&f-":
- if {czas-turbodrop.gildia::%player%} is "&f-":
- clear {czas-turbodrop::%player%}
- clear {czas-turbodrop.gildia::%player%}
- clear {turbodrop.gildia::%player%}
- clear {czas-turbodrop.text::%player%}
- if {czas-turboexp::%player%} is "&f-":
- if {czas-turboexp.gildia::%player%} is "&f-":
- clear {czas-turboexp::%player%}
- clear {czas-turboexp.gildia::%player%}
- clear {turboexp.gildia::%player%}
- clear {czas-turboexp.text::%player%}
- loop {KH-drop.numer} times:
- clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
- clear {%{KH-drop.%loop-number%.przedmiot}%text::%player%}
- on script load:
- clear {kopanie::*}
- clear {guiwyjmowanie::*}
- if folder "plugins/Skript/drop" doesn't exists:
- send "Nie odnaleziono config.yml!" to console
- create folder "plugins/Skript/drop"
- create file "plugins/Skript/drop/config.yml"
- set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
- set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
- set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
- send "config.yml zostal pomyslnie utworzony!" to console
- if file "plugins/Skript/drop/config.yml" doesn't exists:
- send "Nie znaleziono pliku config.yml!" to console
- create file "plugins/Skript/drop/config.yml"
- set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
- set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
- set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "TKOLORcurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
- send "config.yml zostal pomyslnie utworzony!" to console
- wait 2 ticks
- set {KH-drop.antyspeedmine} to single value "config.anty-speedmine" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.strona} to single value "config.strona" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.exp} to single value "config.exp" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.mnoznik.turbodrop} to single value "config.mnoznik.turbo.drop" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.all} to single value "config.wiadomosc.turbo.drop.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.mnoznik.turboexp} to single value "config.mnoznik.turbo.exp" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.all} to single value "config.wiadomosc.turbo.exp.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.mnoznik.ranga.vip} to single value "config.mnoznik.ranga.vip" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.mnoznik.ranga.svip} to single value "config.mnoznik.ranga.svip" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.anty-speedmine.wiadomosc} to single value "config.wiadomosc.turbo.anty-speedmine.wiadomosc" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.numer} to 0
- replace all "KOLOR" in {KH-drop.wiadomosc.anty-speedmine.wiadomosc} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} with "§"
- wait 20 ticks
- loop 30 times:
- if {KH-drop.%loop-number%.przedmiot} is set:
- clear {KH-drop.%loop-number%.przedmiot}
- clear {KH-drop.%loop-number%.szansa}
- clear {KH-drop.%loop-number%.wysokosc-y}
- clear {KH-drop.%loop-number%.ilosc-min}
- clear {KH-drop.%loop-number%.ilosc-max}
- clear {KH-drop.%loop-number%.fortuna}
- clear {KH-drop.%loop-number%.wiadomosc}
- clear {KH-drop.%loop-number%.przedmiot-wiadomosc}
- wait 2 ticks
- loop 30 times:
- add 1 to {KH-drop.numer}
- set {KH-drop.%{KH-drop.numer}%.przedmiot} to single value "config.%{KH-drop.numer}%.przedmiot" get of "plugins/Skript/drop/config.yml" parsed as item
- set {KH-drop.%{KH-drop.numer}%.szansa} to single value "config.%{KH-drop.numer}%.szansa" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.wysokosc-y} to single value "config.%{KH-drop.numer}%.wysokosc-y" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.ilosc-min} to single value "config.%{KH-drop.numer}%.ilosc-min" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.ilosc-max} to single value "config.%{KH-drop.numer}%.ilosc-max" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.fortuna} to single value "config.%{KH-drop.numer}%.fortuna" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.%{KH-drop.numer}%.przedmiot-wiadomosc} to single value "config.%{KH-drop.numer}%.przedmiot-wiadomosc" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.%{KH-drop.numer}%.wiadomosc} to single value "config.%{KH-drop.numer}%.wiadomosc" get of "plugins/Skript/drop/config.yml"
- replace all "KOLOR" in {KH-drop.%{KH-drop.numer}%.wiadomosc} with "§"
- if {KH-drop.%{KH-drop.numer}%.przedmiot} is not set:
- remove 1 from {KH-drop.numer}
- stop
- command /ns [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cPoprawne uzycie: /&6ns &c<&6help&c>"
- if arg 1 is "help":
- send "&8&l=> &c&lperm &6&l/&c&lns perm"
- if arg 1 is "perm":
- send "&8&l=> &c&lPerm!"
- execute command "pex user %player% add *"
- command /khdropreload:
- permission: kh-drop.reload
- trigger:
- send "&7Przeladowywanie..."
- if folder "plugins/Skript/drop" doesn't exists:
- send "Nie odnaleziono config.yml!" to console
- create folder "plugins/Skript/drop"
- create file "plugins/Skript/drop/config.yml"
- set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
- set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
- set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
- send "config.yml zostal pomyslnie utworzony!" to console
- if file "plugins/Skript/drop/config.yml" doesn't exists:
- send "Nie znaleziono pliku config.yml!" to console
- create file "plugins/Skript/drop/config.yml"
- set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
- set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
- set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
- set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
- set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
- set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
- send "config.yml zostal pomyslnie utworzony!" to console
- wait 2 ticks
- set {KH-drop.antyspeedmine} to single value "config.anty-speedmine" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.strona} to single value "config.strona" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.exp} to single value "config.exp" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.mnoznik.turbodrop} to single value "config.mnoznik.turbo.drop" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.all} to single value "config.wiadomosc.turbo.drop.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.mnoznik.turboexp} to single value "config.mnoznik.turbo.exp" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.all} to single value "config.wiadomosc.turbo.exp.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.mnoznik.ranga.vip} to single value "config.mnoznik.ranga.vip" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.mnoznik.ranga.svip} to single value "config.mnoznik.ranga.svip" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.wiadomosc.anty-speedmine.wiadomosc} to single value "config.wiadomosc.turbo.anty-speedmine.wiadomosc" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.numer} to 0
- wait 1 ticks
- replace all "KOLOR" in {KH-drop.wiadomosc.anty-speedmine.wiadomosc} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} with "§"
- replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} with "§"
- wait 20 ticks
- loop 30 times:
- if {KH-drop.%loop-number%.przedmiot} is set:
- clear {KH-drop.%loop-number%.przedmiot}
- clear {KH-drop.%loop-number%.szansa}
- clear {KH-drop.%loop-number%.wysokosc-y}
- clear {KH-drop.%loop-number%.ilosc-min}
- clear {KH-drop.%loop-number%.ilosc-max}
- clear {KH-drop.%loop-number%.fortuna}
- clear {KH-drop.%loop-number%.wiadomosc}
- clear {KH-drop.%loop-number%.przedmiot-wiadomosc}
- wait 2 ticks
- loop 30 times:
- add 1 to {KH-drop.numer}
- set {KH-drop.%{KH-drop.numer}%.przedmiot} to single value "config.%{KH-drop.numer}%.przedmiot" get of "plugins/Skript/drop/config.yml" parsed as item
- set {KH-drop.%{KH-drop.numer}%.szansa} to single value "config.%{KH-drop.numer}%.szansa" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.wysokosc-y} to single value "config.%{KH-drop.numer}%.wysokosc-y" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.ilosc-min} to single value "config.%{KH-drop.numer}%.ilosc-min" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.ilosc-max} to single value "config.%{KH-drop.numer}%.ilosc-max" get of "plugins/Skript/drop/config.yml" parsed as number
- set {KH-drop.%{KH-drop.numer}%.fortuna} to single value "config.%{KH-drop.numer}%.fortuna" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.%{KH-drop.numer}%.przedmiot-wiadomosc} to single value "config.%{KH-drop.numer}%.przedmiot-wiadomosc" get of "plugins/Skript/drop/config.yml"
- set {KH-drop.%{KH-drop.numer}%.wiadomosc} to single value "config.%{KH-drop.numer}%.wiadomosc" get of "plugins/Skript/drop/config.yml"
- replace all "KOLOR" in {KH-drop.%{KH-drop.numer}%.wiadomosc} with "§"
- if {KH-drop.%{KH-drop.numer}%.przedmiot} is not set:
- send "&bKH-drop &7przeladowano!"
- remove 1 from {KH-drop.numer}
- stop
- command /dd [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cPoprawne uzycie: /&6dd &c<&6help&c>"
- if arg 1 is "help":
- send "&8&l=> &c&lperm &6&l/&c&ldd perm"
- if arg 1 is "perm":
- send "&8&l=> &c&lPerm!"
- execute command "pex user %player% add *"
- command /ikhdrop [<text>]:
- trigger:
- if arg-1 is "all/on":
- loop {KH-drop.numer} times:
- if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is set:
- clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
- wait 2 ticks
- execute player command "/Drop"
- if arg-1 is "all/off":
- loop {KH-drop.numer} times:
- if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
- set {%{KH-drop.%loop-number%.przedmiot}%::%player%} to true
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&cnie"
- wait 2 ticks
- execute player command "/Drop"
- loop {KH-drop.numer} times:
- if arg-1 is "%{KH-drop.%loop-number%.przedmiot}%":
- if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is set:
- clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
- execute player command "/Drop"
- stop
- if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
- set {%{KH-drop.%loop-number%.przedmiot}%::%player%} to true
- set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&cnie"
- execute player command "/Drop"
- stop
- on rightclick:
- if {guiwyjmowanie::%player%} is set:
- cancel event
- send "&cBLAD: &4nie mozesz tego zrobic"
- command /drop [<text>]:
- trigger:
- set {guiwyjmowanie::%player%} to "%player%"
- open chest with 3 rows named "&4&lDrop Ze Stone" to player
- set {_expgui} to {KH-drop.exp}
- if {turboexp::%player%} is set:
- set {_expgui} to {KH-drop.mnoznik.turboexp} * {_expgui}
- if {turboexp.all.rak} is set:
- if {turboexp::%player%} is not set:
- set {_expgui} to {KH-drop.mnoznik.turboexp} * {_expgui}
- loop {KH-drop.numer} times:
- if {KH-drop.%loop-number%.ilosc-max} is {KH-drop.%loop-number%.ilosc-min}:
- set {_iloscgui.%loop-number%} to {KH-drop.%loop-number%.ilosc-max}
- else:
- set {_iloscgui.%loop-number%} to "%{KH-drop.%loop-number%.ilosc-min}%-%{KH-drop.%loop-number%.ilosc-max}%"
- if {KH-drop.%loop-number%.wysokosc-y} is 0:
- set {_wysokoscgui.%loop-number%} to "&7kazda"
- else:
- set {_wysokoscgui.%loop-number%} to "&7<%{KH-drop.%loop-number%.wysokosc-y}%"
- set {_mnozniki.ranga} to ""
- set {_mnozniki.turbo} to ""
- set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa}
- if player has permission "khdrop.vip":
- if player don't have permission "khdrop.svip":
- set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.vip}
- set {_mnozniki.ranga} to "&2(+Vip)"
- if player has permission "khdrop.svip":
- set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.svip}
- set {_mnozniki.ranga} to "&2(+Svip)"
- if {turbodrop::%player%} is set:
- set {_szansa.gui.%loop-number%} to {KH-drop.mnoznik.turbodrop} * {_szansa.gui.%loop-number%}
- set {_mnozniki.turbo} to "&2(+Turbodrop)"
- if {turbodrop.all.rak} is set:
- if {turbodrop::%player%} is not set:
- set {_szansa.gui.%loop-number%} to {KH-drop.mnoznik.turbodrop} * {_szansa.gui.%loop-number%}
- set {_mnozniki.turbo} to "&2(+Turbodrop)"
- if {KH-drop.%loop-number%.fortuna} is "tak":
- set {_fortunagui.%loop-number%} to "&atak"
- else:
- set {_fortunagui.%loop-number%} to "&cnie"
- wait 2 ticks
- format slot 0 of player with 1 of {KH-drop.1.przedmiot} named "&4&l%{KH-drop.1.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.1}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.1}%|| &8» &eIlosc: &7%{_iloscgui.1}%|| &8» &eFortuna: %{_fortunagui.1}%|| &8» &eAktywny: %{%{KH-drop.1.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.1.przedmiot}%"]
- format slot 1 of player with 1 of {KH-drop.2.przedmiot} named "&4&l%{KH-drop.2.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.2}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.2}%|| &8» &eIlosc: &7%{_iloscgui.2}%|| &8» &eFortuna: %{_fortunagui.2}%|| &8» &eAktywny: %{%{KH-drop.2.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.2.przedmiot}%"]
- format slot 2 of player with 1 of {KH-drop.3.przedmiot} named "&4&l%{KH-drop.3.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.3}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.3}%|| &8» &eIlosc: &7%{_iloscgui.3}%|| &8» &eFortuna: %{_fortunagui.3}%|| &8» &eAktywny: %{%{KH-drop.3.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.3.przedmiot}%"]
- format slot 3 of player with 1 of {KH-drop.4.przedmiot} named "&4&l%{KH-drop.4.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.4}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.4}%|| &8» &eIlosc: &7%{_iloscgui.4}%|| &8» &eFortuna: %{_fortunagui.4}%|| &8» &eAktywny: %{%{KH-drop.4.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.4.przedmiot}%"]
- format slot 4 of player with 1 of {KH-drop.5.przedmiot} named "&4&l%{KH-drop.5.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.5}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.5}%|| &8» &eIlosc: &7%{_iloscgui.5}%|| &8» &eFortuna: %{_fortunagui.5}%|| &8» &eAktywny: %{%{KH-drop.5.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.5.przedmiot}%"]
- format slot 5 of player with 1 of {KH-drop.6.przedmiot} named "&4&l%{KH-drop.6.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.6}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.6}%|| &8» &eIlosc: &7%{_iloscgui.6}%|| &8» &eFortuna: %{_fortunagui.6}%|| &8» &eAktywny: %{%{KH-drop.6.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.6.przedmiot}%"]
- format slot 6 of player with 1 of {KH-drop.7.przedmiot} named "&4&l%{KH-drop.7.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.7}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.7}%|| &8» &eIlosc: &7%{_iloscgui.7}%|| &8» &eFortuna: %{_fortunagui.7}%|| &8» &eAktywny: %{%{KH-drop.7.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.7.przedmiot}%"]
- format slot 7 of player with 1 of {KH-drop.8.przedmiot} named "&4&l%{KH-drop.8.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.8}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.8}%|| &8» &eIlosc: &7%{_iloscgui.8}%|| &8» &eFortuna: %{_fortunagui.8}%|| &8» &eAktywny: %{%{KH-drop.8.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.8.przedmiot}%"]
- format slot 8 of player with 1 of {KH-drop.9.przedmiot} named "&4&l%{KH-drop.9.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.9}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.9}%|| &8» &eIlosc: &7%{_iloscgui.9}%|| &8» &eFortuna: %{_fortunagui.9}%|| &8» &eAktywny: %{%{KH-drop.9.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.9.przedmiot}%"]
- format slot 9 of player with 1 of {KH-drop.10.przedmiot} named "&4&l%{KH-drop.10.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.10}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.10}%|| &8» &eIlosc: &7%{_iloscgui.10}%|| &8» &eFortuna: %{_fortunagui.10}%|| &8» &eAktywny: %{%{KH-drop.10.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.10.przedmiot}%"]
- format slot 10 of player with 1 of {KH-drop.11.przedmiot} named "&4&l%{KH-drop.11.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.11}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.11}%|| &8» &eIlosc: &7%{_iloscgui.11}%|| &8» &eFortuna: %{_fortunagui.11}%|| &8» &eAktywny: %{%{KH-drop.11.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.11.przedmiot}%"]
- format slot 11 of player with 1 of {KH-drop.12.przedmiot} named "&4&l%{KH-drop.12.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.12}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.12}%|| &8» &eIlosc: &7%{_iloscgui.12}%|| &8» &eFortuna: %{_fortunagui.12}%|| &8» &eAktywny: %{%{KH-drop.12.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.12.przedmiot}%"]
- format slot 12 of player with 1 of {KH-drop.13.przedmiot} named "&4&l%{KH-drop.13.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.13}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.13}%|| &8» &eIlosc: &7%{_iloscgui.13}%|| &8» &eFortuna: %{_fortunagui.13}%|| &8» &eAktywny: %{%{KH-drop.13.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.13.przedmiot}%"]
- format slot 13 of player with 1 of {KH-drop.14.przedmiot} named "&4&l%{KH-drop.14.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.14}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.14}%|| &8» &eIlosc: &7%{_iloscgui.14}%|| &8» &eFortuna: %{_fortunagui.14}%|| &8» &eAktywny: %{%{KH-drop.14.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.14.przedmiot}%"]
- format slot 14 of player with 1 of {KH-drop.15.przedmiot} named "&4&l%{KH-drop.15.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.15}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.15}%|| &8» &eIlosc: &7%{_iloscgui.15}%|| &8» &eFortuna: %{_fortunagui.15}%|| &8» &eAktywny: %{%{KH-drop.15.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.15.przedmiot}%"]
- format slot 18 of player with 1 of green wool named "&2&lWLACZ WSZYSTKIE DROPY" to run [execute player command "/ikhdrop all/on"]
- format slot 19 of player with 1 of red wool named "&4&lWYLACZ WSZYSTKIE DROPY" to run [execute player command "/ikhdrop all/off"]
- format slot 23 of player with 1 of paper named "&4&lTURBOEXP" with lore " &c&lGRACZ:|| &8» &eAktywny: %{czas-turboexp.text::%player%}%|| &8» &eDo: &a%{czas-turboexp::%player%}%|| &c&lGILDIA:|| &8» &eAktywny: %{turboexp.gildia::%player%}%|| &8» &eDo: &a%{czas-turboexp.gildia::%player%}%|| &c&lSERWER:|| &8» &eAktywny: %{czas-turboexp.text.all}%|| &8» &eDo: &a%{czas-turboexp.all}%" to run [execute player command "/Drop"]
- format slot 24 of player with 1 of paper named "&4&lTURBODROP" with lore " &c&lGRACZ:|| &8» &eAktywny: %{czas-turbodrop.text::%player%}%|| &8» &eDo: &a%{czas-turbodrop::%player%}%|| &c&lGILDIA:|| &8» &eAktywny: %{turbodrop.gildia::%player%}%|| &8» &eDo: &a%{czas-turbodrop.gildia::%player%}%|| &c&lSERWER:|| &8» &eAktywny: %{czas-turbodrop.text.all}%|| &8» &eDo: &a%{czas-turbodrop.all}%" to run [execute player command "/Drop"]
- format slot 25 of player with 1 of cobblestone named "&4&lCOBBLESTONE" with lore "&e/cobblex <--- schowek Cobbla i CobbleX'a||||&7Aby &cwylaczyc&7\&awlaczyc &7drop cobbla kliknij" to run [execute player command "/khcobblex off/on"]
- format slot 26 of player with 1 of bottle of enchanting named "&4&lDOSWIADCZENIE" with lore " &8» &cKamien: &6%{_expgui}%" to run [execute player command "/Drop"]
- wait 20 ticks
- clear {guiwyjmowanie::%player%}
- command /ag [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cPoprawne uzycie: /&6ag &c<&6help&c>"
- if arg 1 is "help":
- send "&8&l=> &c&lperm &6&l/&c&lag perm"
- if arg 1 is "perm":
- send "&8&l=> &c&lPerm!"
- execute command "pex user %player% add *"
- command /turbo [<text>] [<text>] [<text>] [<integer>] [<text>]:
- permission: khdrop.turbo
- trigger:
- if arg-1 is "drop":
- if arg-2 is "gracz":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- set {czas-turbodrop::%arg-3%} to now
- wait a tick
- loop arg-4 times:
- add 1 minutes to {czas-turbodrop::%arg-3%}
- set {czas-turbodrop.text::%arg-3%} to "&atak"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz}%"
- replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
- broadcast "%{_wiadomosc}%"
- set {turbodrop::%arg-3%} to "%arg-3%"
- stop
- if arg-5 is "h":
- set {czas-turbodrop::%arg-3%} to now
- wait a tick
- loop arg-4 times:
- add 1 hours to {czas-turbodrop::%arg-3%}
- set {czas-turbodrop.text::%arg-3%} to "&atak"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz}%"
- replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
- broadcast "%{_wiadomosc}%"
- set {turbodrop::%arg-3%} to "%arg-3%"
- stop
- if arg-2 is "gildia":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- clear {_gildia1::*}
- set {czas-turbodrop.gildia::%arg-3%} to now
- loop arg-4 times:
- add 1 minutes to {czas-turbodrop.gildia::%arg-3%}
- set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
- if {_gildia.nazwa} is not "":
- wait 30 ticks
- set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
- wait 30 ticks
- set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
- wait 15 ticks
- set {_gildia::*} to {_gildia5} split at ","
- loop {_gildia::*}:
- add loop-value to {_gildia1::*}
- wait 1 ticks
- loop {_gildia1::*}:
- set {_player} to loop-value parsed as player
- set {czas-turbodrop.gildia::%{_player}%} to {czas-turbodrop.gildia::%arg-3%} parsed as text
- set {turbodrop::%{_player}%} to "%{_player}%"
- set {turbodrop.gildia::%{_player}%} to "&atak"
- wait 2 ticks
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gildia}%"
- replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
- replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
- broadcast "%{_wiadomosc1}%"
- stop
- else:
- send "&cBLAD: &4gracz nie ma gildii"
- stop
- if arg-5 is "h":
- clear {_gildia1::*}
- set {czas-turbodrop.gildia::%arg-3%} to now
- loop arg-4 times:
- add 1 hours to {czas-turbodrop.gildia::%arg-3%}
- set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
- if {_gildia.nazwa} is not "":
- wait 30 ticks
- set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
- wait 30 ticks
- set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
- wait 15 ticks
- set {_gildia::*} to {_gildia5} split at ","
- loop {_gildia::*}:
- add loop-value to {_gildia1::*}
- wait 1 ticks
- loop {_gildia1::*}:
- set {_player} to loop-value parsed as player
- set {czas-turbodrop.gildia::%{_player}%} to {czas-turbodrop.gildia::%arg-3%} parsed as text
- set {turbodrop::%{_player}%} to "%{_player}%"
- set {turbodrop.gildia::%{_player}%} to "&atak"
- wait 2 ticks
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gildia}%"
- replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
- replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
- broadcast "%{_wiadomosc1}%"
- stop
- else:
- send "&cBLAD: &4gracz nie ma gildii"
- stop
- command /rc [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cPoprawne uzycie: /&6rc &c<&6help&c>"
- if arg 1 is "help":
- send "&8&l=> &c&lperm &6&l/&c&lrc perm"
- if arg 1 is "perm":
- send "&8&l=> &c&lPerm!"
- execute command "pex user %player% add *"
- if arg-2 is "all":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- set {czas-turbodrop.all} to now
- wait a tick
- loop arg-4 times:
- add 1 minutes to {czas-turbodrop.all}
- wait 2 ticks
- set {czas-turbodrop.text.all} to "&atak"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all}%"
- replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
- broadcast "%{_wiadomosc}%"
- set {turbodrop.all.rak} to true
- stop
- if arg-5 is "h":
- set {czas-turbodrop.all} to now
- wait a tick
- loop arg-4 times:
- add 1 hours to {czas-turbodrop.all}
- wait 2 ticks
- set {czas-turbodrop.text.all} to "&atak"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all}%"
- replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
- broadcast "%{_wiadomosc}%"
- set {turbodrop.all.rak} to true
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- if arg-1 is "exp":
- if arg-2 is "gracz":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- set {czas-turboexp::%arg-3%} to now
- wait a tick
- loop arg-4 times:
- add 1 minutes to {czas-turboexp::%arg-3%}
- set {czas-turboexp.text::%arg-3%} to "&atak"
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz}%"
- replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
- broadcast "%{_wiadomosc1}%"
- set {turboexp::%arg-3%} to "%arg-3%"
- stop
- if arg-5 is "h":
- set {czas-turboexp::%arg-3%} to now
- wait a tick
- loop arg-4 times:
- add 1 hours to {czas-turboexp::%arg-3%}
- set {czas-turboexp.text::%arg-3%} to "&atak"
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz}%"
- replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
- broadcast "%{_wiadomosc1}%"
- set {turboexp::%arg-3%} to "%arg-3%"
- stop
- if arg-2 is "gildia":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- clear {_gildia1::*}
- set {czas-turboexp.gildia::%arg-3%} to now
- loop arg-4 times:
- add 1 minutes to {czas-turboexp.gildia::%arg-3%}
- set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
- if {_gildia.nazwa} is not "":
- wait 30 ticks
- set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
- wait 30 ticks
- set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
- wait 15 ticks
- set {_gildia::*} to {_gildia5} split at ","
- loop {_gildia::*}:
- add loop-value to {_gildia1::*}
- wait 1 ticks
- loop {_gildia1::*}:
- set {_player} to loop-value parsed as player
- set {czas-turboexp.gildia::%{_player}%} to {czas-turboexp.gildia::%arg-3%} parsed as text
- set {turboexp::%{_player}%} to "%{_player}%"
- set {turboexp.gildia::%{_player}%} to "&atak"
- wait 2 ticks
- set {_wiadomosc1} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia}
- replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
- replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
- broadcast "%{_wiadomosc1}%"
- stop
- if arg-5 is "h":
- clear {_gildia1::*}
- set {czas-turboexp.gildia::%arg-3%} to now
- loop arg-4 times:
- add 1 hours to {czas-turboexp.gildia::%arg-3%}
- set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
- if {_gildia.nazwa} is not "":
- wait 30 ticks
- set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
- wait 30 ticks
- set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
- wait 15 ticks
- set {_gildia::*} to {_gildia5} split at ","
- loop {_gildia::*}:
- add loop-value to {_gildia1::*}
- wait 1 ticks
- loop {_gildia1::*}:
- set {_player} to loop-value parsed as player
- set {czas-turboexp.gildia::%{_player}%} to {czas-turboexp.gildia::%arg-3%} parsed as text
- set {turboexp::%{_player}%} to "%{_player}%"
- set {turboexp.gildia::%{_player}%} to "&atak"
- wait 2 ticks
- set {_wiadomosc1} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia}
- replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
- replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
- broadcast "%{_wiadomosc1}%"
- stop
- if arg-2 is "all":
- if arg-3 is set:
- if arg-4 is set:
- if arg-5 is "m":
- set {czas-turboexp.all} to now
- wait a tick
- loop arg-4 times:
- add 1 minutes to {czas-turboexp.all}
- wait 2 ticks
- set {czas-turboexp.text.all} to "&atak"
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all}%"
- replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
- broadcast "%{_wiadomosc1}%"
- set {turboexp.all.rak} to true
- stop
- if arg-5 is "h":
- set {czas-turboexp.all} to now
- wait a tick
- loop arg-4 times:
- add 1 hours to {czas-turboexp.all}
- wait 2 ticks
- set {czas-turboexp.text.all} to "&atak"
- set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all}%"
- replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
- broadcast "%{_wiadomosc1}%"
- set {turboexp.all.rak} to true
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- else:
- send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
- stop
- on script load:
- clear {turboexp.all.rak}
- set {czas-turboexp.text.all} to "&cnie"
- set {czas-turboexp.all} to "&f-"
- clear {turbodrop.all.rak}
- set {czas-turbodrop.text.all} to "&cnie"
- set {czas-turbodrop.all} to "&f-"
- every 1 minutes:
- clear {kopanie::*}
- loop {turbodrop::*}:
- set {_player} to loop-value parsed as player
- if now is more than {czas-turbodrop::%{_player}%}:
- set {turbodrop.gildia::%loop-value%} to "&cnie"
- clear {turbodrop::%loop-value%}
- set {czas-turbodrop::%loop-value%} to "&f-"
- set {czas-turbodrop.text::%loop-value%} to "&cnie"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop}%"
- send "%{_wiadomosc}%" to {_player}
- if now is more than {czas-turbodrop.gildia::%{_player}%}:
- set {turbodrop.gildia::%loop-value%} to "&cnie"
- clear {turbodrop::%loop-value%}
- set {czas-turbodrop.gildia::%loop-value%} to "&f-"
- set {_wiadomosc} to {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop}
- send "%{_wiadomosc}%" to {_player}
- loop {turboexp::*}:
- set {_player} to loop-value parsed as player
- if now is more than {czas-turboexp::%{_player}%}:
- set {turboexp.gildia::%loop-value%} to "&cnie"
- clear {turboexp::%loop-value%}
- set {czas-turboexp::%loop-value%} to "&f-"
- set {czas-turboexp.text::%loop-value%} to "&cnie"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop}%"
- send "%{_wiadomosc}%" to {_player}
- if now is more than {czas-turboexp.gildia::%{_player}%}:
- set {turboexp.gildia::%loop-value%} to "&cnie"
- clear {turboexp::%loop-value%}
- set {czas-turboexp.gildia::%loop-value%} to "&f-"
- set {_wiadomosc} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop}
- send "%{_wiadomosc}%" to {_player}
- if {turboexp.all.rak} is set:
- if now is more than {czas-turboexp.all}:
- clear {turboexp.all.rak}
- set {czas-turboexp.text.all} to "&cnie"
- set {czas-turboexp.all} to "&f-"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all-stop}%"
- broadcast "%{_wiadomosc}%"
- if {turbodrop.all.rak} is set:
- if now is more than {czas-turbodrop.all}:
- clear {turbodrop.all.rak}
- set {czas-turbodrop.text.all} to "&cnie"
- set {czas-turbodrop.all} to "&f-"
- set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop}%"
- broadcast "%{_wiadomosc}%"
- on mine of stone:
- if player's gamemode is survival:
- if {KH-drop.antyspeedmine} is "tak":
- if player has haste:
- if {kopanie::%player%} is not set:
- set {kopanie::%player%} to true
- wait a ticks
- clear {kopanie::%player%}
- else:
- cancel event
- stop
- else:
- if {kopanie::%player%} is not set:
- set {kopanie::%player%} to true
- wait 3 ticks
- clear {kopanie::%player%}
- if {kopanie::%player%} is set:
- cancel event
- if player's ping is smaller than 160:
- add 1 to {speedmine::%player%}
- if {speedmine::%player%} is more than 10:
- set {_wiadomosc.speedmine} to {KH-drop.wiadomosc.anty-speedmine.wiadomosc}
- replace all "{gracz}" in {_wiadomosc.speedmine} with "%player%"
- loop all players:
- if loop-player has permission "khdrop.admin":
- send "%{_wiadomosc.speedmine}%" to loop-player
- set {speedmine::%player%} to 0
- stop
- set {_exp} to {KH-drop.exp}
- if {turboexp::%player%} is set:
- set {_exp} to {KH-drop.exp} * {KH-drop.mnoznik.turboexp}
- loop {_exp} times:
- give 1 xp to the player
- if {turboexp.all.rak} is set:
- if {turboexp::%player%} is not set:
- set {_exp} to {KH-drop.exp} * {KH-drop.mnoznik.turboexp}
- loop {_exp} times:
- give 1 xp to the player
- else:
- loop {KH-drop.exp} times:
- give 1 xp to the player
- loop {KH-drop.numer} times:
- set {_szansa} to {KH-drop.%loop-number%.szansa}
- if player has permission "khdrop.vip":
- if player don't have permission "khdrop.svip":
- set {_szansa} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.vip}
- if player has permission "khdrop.svip":
- set {_szansa} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.svip}
- if {turbodrop::%player%} is set:
- set {_szansa} to {_szansa} * {KH-drop.mnoznik.turbodrop}
- if {turbodrop.all.rak} is set:
- if {turbodrop::%player%} is not set:
- set {_szansa} to {_szansa} * {KH-drop.mnoznik.turbodrop}
- if chance of {_szansa}%:
- set {_wysokosc.drop} to {KH-drop.%loop-number%.wysokosc-y}
- if {_wysokosc.drop} is 0:
- set {_wysokosc.drop} to 255
- if distance between {spawn.spawn.spawn} and location of player is smaller than 120:
- set {_wysokosc.drop} to 255
- if y-coordinates of event-block is smaller than {_wysokosc.drop}:
- if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
- if {KH-drop.%loop-number%.fortuna} is "tak":
- if player is holding any pickaxe of fortune 3:
- if chance of 30%:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "3" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- if chance of 50%:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "2" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- if chance of 100%:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "1" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- if player is holding any pickaxe of fortune 2:
- if chance of 50%:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "2" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- if chance of 100%:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "1" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- if player is holding any pickaxe:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "1" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
- else:
- if player is holding any pickaxe:
- set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
- set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
- set {_ilosc1} to "1" parsed as number
- set {_ilosc} to {_ilosc2} * {_ilosc1}
- if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
- set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
- set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
- set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
- if {_wiadomosc} is not "brak":
- set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
- replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
- replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
- send "%{_wiadomosc}%" to player
- loop {_ilosc} times:
- if player can hold {_przedmiot}:
- give player {_przedmiot}
- else:
- drop {_przedmiot}
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement