Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
- #==============Nazwa skryptu: MyPvP #
- #===========Autor: michal343442 #
- #==============Wersja 1.0 #
- #===========Wersja Skript: 2.0.2 #
- #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
- #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=##=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
- # LICENCJA SKRYPTU BY MICHAL343442 #
- #Nie wolno ci: #
- #* Udostepniac skryptu pod innym autorem, wersja i nazwa skryptu * #
- #* Zmieniac autora, wersij, licencij, nazwy skryptu i czesci strzezonej prawem autorskim* #
- #Wolno ci: #
- #* Udostepniac w skrypt pod tymi samymi danymi jakimi dostales w stanie pierwonym * #
- #* Zmieniac opcje * #
- #* Komentowac na MPCforum lub zglaszac problemy na MPCforum [nick: michal343442]* #
- #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=##=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
- #====OPCJE====#
- options:
- #==== ===#
- #= USTAWIENIA STEROWANE KOMENDAMI =#
- #==== ===#
- #Czy ma byc pozliwosc modyfikowania broni za pomoca komend ? True lub False
- komend: true
- #Jaki prefix ma pojawiac sie przed wiadomosciami komend ?
- prefix: &8[&fMy&0PvP&8]&r
- #Jak nazwya sie twoj plik z tym skryptem ?
- nazwa.pliku: skript3
- #==== ===#
- #= USTAWIENIA KLAS - 1-20 =#
- #==== ===#
- #Wlacznie/Wylaczenie napisu (Poziom) przed nikiem np. - (1)michal343442: Hello !
- klasa: true
- #Wlacznie/Wylaczenie napisu (Klasa) przed nikiem np. - (Nowicjusz)michal343442: Hello !
- klasa.nazwa: true
- #Wlaczenie/Wylaczenie nagrod za klasy
- klasa.nagroda: true
- #Po ilu punktach klasa ma byc promowana na wyzsza
- klasa.1: 10
- #Jaka nazwe chcesz dac klasie
- klasa.1.nazwa: &cNowicjusz I
- #Jaka wiadomosc ma wyswietlic sie po promowaniu na wyzsza klase
- klasa.1.nagroda.msg: &6Bravo ! Dostales tytul &cNowicjusz I&6, odblokywujesz zestaw bojowy - &cZestaw Nowicjusza.
- #Jaka komenda ma byc wywolana po promowaniu na wyzsza klase
- klasa.1.nagroda.komenda: pex user %attacker% add mypvp.zestaw.nowicjusz
- #Zasada ustawiania jest ta sama jak powyzej
- klasa.2: 20
- klasa.2.nazwa: &cNowicjusz II
- klasa.2.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz II&a, odblokywujesz rodzaj strzal - &cSlow.
- klasa.2.nagroda.komenda: pex user %attacker% add moarrows.use.slow
- klasa.3: 30
- klasa.3.nazwa: &cNowicjusz III
- klasa.3.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz III&a, odblokywujesz warp - &cSklep.
- klasa.3.nagroda.komenda: pex user %attacker% add essentials.warps.Sklep
- klasa.4: 40
- klasa.4.nazwa: &cNowicjusz IV
- klasa.4.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz IV&a, odblokywujesz przedmiot - &cMiecz Nowicjusza.
- klasa.4.nagroda.komenda: give %attacker% 272 1 name:&aMiecz_&cNowicjusza lore:&aNagroda_za_tytul_&cNowicjusz_IV sharpness:1 knockback:1
- klasa.5: 50
- klasa.5.nazwa: &cNowicjusz V
- klasa.5.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz V&a, odblokywujesz przedmiot - &cKosa rolnika.
- klasa.5.nagroda.komenda: give %attacker% 272 1 name:&aKosa_&6Rolnika lore:&aNagroda_za_tytul_&cNowicjusz_V sharpness:5
- klasa.6: 75
- klasa.6.nazwa: &cPoczatkujacy I
- klasa.6.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy I&a, odblokywujesz zestaw bojowy - &cZestaw Poczatkujacego.
- klasa.6.nagroda.komenda: pex user %attacker% add mypvp.zestaw.poczatkujacy
- klasa.7: 100
- klasa.7.nazwa: &cPoczatkujacy II
- klasa.7.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy II&a, odblokywujesz rodzaj strzal - &cRazor.
- klasa.7.nagroda.komenda: pex user %attacker% add moarrows.use.razor
- klasa.8: 125
- klasa.8.nazwa: &cPoczatkujacy III
- klasa.8.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy III&a, odblokywujesz przedmiot - &cMiecz Poczatkujacego.
- klasa.8.nagroda.komenda: give %attacker% 272 1 name:&aKosa_&6Rolnika lore:&aNagroda_za_tytul_&cPoczatkujacego_IV sharpness:2 knockback:1
- klasa.9: 150
- klasa.9.nazwa: &cPoczatkujacy IV
- klasa.9.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy IV&a, odblokywujesz warp - &cArena Poczatkujacy.
- klasa.9.nagroda.komenda: pex user %attacker% add essentials.warps.ArenaPoczatkujacy
- klasa.10: 200
- klasa.10.nazwa: &cAmator Miecza I
- klasa.10.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza I&a, odblokywujesz zestaw bojowy - &cZestaw Amatora.
- klasa.10.nagroda.komenda: pex user %attacker% add mypvp.zestaw.poczatkujacy
- klasa.11: 250
- klasa.11.nazwa: &cAmator Miecza II
- klasa.11.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza II&a, odblokywujesz rodzaj strzal - &cFire.
- klasa.11.nagroda.komenda: pex user %attacker% add moarrows.use.fire
- klasa.12: 300
- klasa.12.nazwa: &cAmator Miecza III
- klasa.12.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza III&a, odblokywujesz umiejetnosc - &cMiecz Eksplozi.&a Przy ataku z miecza drewnianego otrzymuje przeciwnik obrazenia od wybuchu
- klasa.12.nagroda.komenda: pex user %attacker% add mypvp.dodbron.mieczeksplosia
- klasa.13: 350
- klasa.13.nazwa: &cAmator Miecza IV
- klasa.13.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza IV&a, odblokywujesz warp - &cArena Amatora.
- klasa.13.nagroda.komenda: pex user %attacker% add essentials.warps.arenaamatora
- klasa.14: 450
- klasa.14.nazwa: &cWojownik I
- klasa.14.nagroda.msg: &aBravo ! Dostales tytul &cWojownik I&a, odblokywujesz zestaw bojowy - &cZestaw Wojownika.
- klasa.14.nagroda.komenda: pex user %attacker% add mypvp.zestaw.wojownik
- klasa.15: 550
- klasa.15.nazwa: &cWojownik II
- klasa.15.nagroda.msg: &aBravo ! Dostales tytul &cWojownik II&a, odblokywujesz rodzaj strzal - &cPosion.
- klasa.15.nagroda.komenda: pex user %attacker% add moarrows.use.posion
- klasa.16: 650
- klasa.16.nazwa: &cWojownik III
- klasa.16.nagroda.msg: &aBravo ! Dostales tytul &cWojownik III&a, odblokywujesz umiejetnosc - &cTabliczka Boost.&aPrzez klinkniecie talibczki na spawnie masz boost przez 20 sekund.
- klasa.16.nagroda.komenda: pex user %attacker% add mypvp.signboost
- klasa.17: 750
- klasa.17.nazwa: &cWojownik IV
- klasa.17.nagroda.msg: &aBravo ! Dostales tytul &cWojownik IV&a, odblokywujesz warp - &cArena Wojownika.
- klasa.17.nagroda.komenda: pex user %attacker% add essentials.warps.arenawojownika
- klasa.18: 1000
- klasa.18.nazwa: &cMistrz I
- klasa.18.nagroda.msg: &aBravo ! Dostales tytul &cMistrz I&a, odblokywujesz zestaw bojowy - &cZestaw Wojownika.
- klasa.18.nagroda.komenda: pex user %attacker% add mypvp.zestaw.mistrz
- klasa.19: 1125
- klasa.19.nazwa: &cMistrz II
- klasa.19.nagroda.msg: &aBravo ! Dostales tytul &cMistrz II&a, odblokywujesz warp - &cArena Mistrza.
- klasa.19.nagroda.komenda: pex user %attacker% add essentials.warps.arenamistrz
- klasa.20: 2000
- klasa.20.nazwa: &6&lB.O.S.S
- klasa.20.nagroda.msg: &aBravo ! Dostales tytul &6&lB.O.S.S&a, odblokywujesz zestaw bojowy - &cZestaw &6&lB.O.S.S.
- klasa.20.nagroda.komenda: pex user %attacker% add mypvp.zestaw.boss
- #==== ===#
- #= USTAWIENIA ZESTAWOW =#
- #==== ===#
- zestaw.1.nazwa: Nowicjusz
- zestaw.1.zbroja.1: 306 1 name:&aZestaw&c_Nowicjusz protection:1
- zestaw.1.zbroja.2: 307 1 name:&aZestaw&c_Nowicjusz protection:1
- zestaw.1.zbroja.3: 308 1 name:&aZestaw&c_Nowicjusz protection:1
- zestaw.1.zbroja.4: 309 1 name:&aZestaw&c_Nowicjusz protection:1
- zestaw.1.bron.1: bow 1 name:&aZestaw&c_Nowicjusz infinity:1
- zestaw.1.bron.2: arrow 1 name:&aZestaw&c_Nowicjusz
- zestaw.1.bron.3: 267 1 name:&aZestaw&c_Nowicjusz sharpness:1
- zestaw.2.nazwa: Poczatkujacy
- zestaw.2.zbroja.1: 306 1 name:&aZestaw&c_Poczatkujacy protection:2
- zestaw.2.zbroja.2: 307 1 name:&aZestaw&c_Poczatkujacy protection:1
- zestaw.2.zbroja.3: 308 1 name:&aZestaw&c_Poczatkujacy protection:2
- zestaw.2.zbroja.4: 309 1 name:&aZestaw&c_Poczatkujacy protection:1
- zestaw.2.bron.1: bow 1 name:&aZestaw&c_Poczatkujacy infinity:1 power: 1
- zestaw.2.bron.2: arrow 1 name:&aZestaw&c_Poczatkujacy
- zestaw.2.bron.3: 267 1 name:&aZestaw&c_Poczatkujacy sharpness:1
- zestaw.3.nazwa: Amator
- zestaw.3.zbroja.1: 306 1 name:&aZestaw&c_Nowicjusz protection:2
- zestaw.3.zbroja.2: 307 1 name:&aZestaw&c_Nowicjusz protection:2
- zestaw.3.zbroja.3: 308 1 name:&aZestaw&c_Nowicjusz protection:2
- zestaw.3.zbroja.4: 309 1 name:&aZestaw&c_Nowicjusz protection:2
- zestaw.3.bron.1: bow 1 name:&aZestaw&c_Nowicjusz infinity:1 power:2
- zestaw.3.bron.2: arrow 1 name:&aZestaw&c_Nowicjusz
- zestaw.3.bron.3: 267 1 name:&aZestaw&c_Nowicjusz sharpness:2
- zestaw.4.nazwa: Wojownik
- zestaw.4.zbroja.1: 306 1 name:&aZestaw&c_Wojownik protection:2
- zestaw.4.zbroja.2: 307 1 name:&aZestaw&c_Wojownik protection:3
- zestaw.4.zbroja.3: 308 1 name:&aZestaw&c_Wojownik protection:2
- zestaw.4.zbroja.4: 309 1 name:&aZestaw&c_Wojownik protection:3
- zestaw.4.bron.1: bow 1 name:&aZestaw&c_Wojownik infinity:1 power:2
- zestaw.4.bron.2: arrow 1 name:&aZestaw&c_Wojownik
- zestaw.4.bron.3: 267 1 name:&aZestaw&c_Wojownik sharpness:2 fireaspect:1
- zestaw.5.nazwa: Mistrz
- zestaw.5.zbroja.1: 306 1 name:&aZestaw&c_Mistrz protection:3
- zestaw.5.zbroja.2: 307 1 name:&aZestaw&c_Mistrz protection:3
- zestaw.5.zbroja.3: 308 1 name:&aZestaw&c_Mistrz protection:3
- zestaw.5.zbroja.4: 309 1 name:&aZestaw&c_Mistrz protection:3
- zestaw.5.bron.1: bow 1 name:&aZestaw&c_Mistrz infinity:1 power:3
- zestaw.5.bron.2: arrow 1 name:&aZestaw&c_Mistrz
- zestaw.5.bron.3: 267 1 name:&aZestaw&c_Mistrz sharpness:3 fireaspect:2
- zestaw.6.nazwa: BOSS
- zestaw.6.zbroja.1: 306 1 name:&aZestaw&c_BOSS protection:3
- zestaw.6.zbroja.2: 307 1 name:&aZestaw&c_BOSS protection:3
- zestaw.6.zbroja.3: 308 1 name:&aZestaw&c_BOSS protection:3
- zestaw.6.zbroja.4: 309 1 name:&aZestaw&c_BOSS protection:3
- zestaw.6.bron.1: bow 1 name:&aZestaw&c_BOSS infinity:1 power:4
- zestaw.6.bron.2: arrow 1 name:&aZestaw&c_BOSS
- zestaw.6.bron.3: 267 1 name:&aZestaw&c_BOSS sharpness:4 fireaspect:3
- #==== ===#
- #= USTAWIENIA ANTI-PVPOUT =#
- #==== ===#
- #Chcesz wlaczyc Anti-PvPOut (AntiRelog) ?
- Anti-pvpout: true
- Anti-pvpout.ban.czas: 300
- #Czy mam usuwac EQ ?
- Anti-pvpout.eq: true
- #Jaki ma byc czas walki ?
- Anti-pvpout.czas: 10
- Anti-pvpout.msg.podczas: &aJestes w walce. Nie logaj!
- Anti-pvpout.msg.po: &aNie jestes w walce. Mozesz lognac.
- Anti-pvpout.ban.msg: &cZostales zbanowany za wyjscie z serwera pod czas walki.
- #========
- #====== KONIEC OPCIJ - POCZATEK CZESC CHRONIONA PRAWEM AUTORSKIM
- #========
- variables:
- {pvp.punkty.%player%} = 0
- {pvp.%player%} = true
- {pvp.%player%.czas} = 0
- command /mypvp [<text>] [<player>] [<number>] [<text>]:
- aliases: /mp, /myp, /mpvp
- trigger:
- if {@komend} is false:
- send "{@prefix}&cKomendy MyPvP sa wylaczone!"
- if {@komend} is true:
- if argument 1 is not set:
- if player don't have permissions "mypvp":
- send "{@prefix}&cNie masz upawniej do tej komendy !"
- if player have permissions "mypvp":
- send "&aSkrypt - &fMy&0PvP"
- send "&aAutor: &6michal343442"
- send "&aWersja: &61.0"
- if player have permission "mypvp.admin":
- if arg 1 is "dodaj":
- add arg 3 to {pvp.punkty.%arg 2%}
- send "{@prefix}&aDodales &c%arg 3% &apunktow graczowi &c%arg 2%"
- if arg 1 is "usun":
- remove arg 3 from {pvp.punkty.%arg 2%}
- send "{@prefix}&aUsuneles &c%arg 3% &apunktow graczowi &c%arg 2%"
- if arg 1 is "ustaw":
- set {pvp.punkty.%arg 2%} to arg 3
- send "{@prefix}&aUstawiles &c%arg 3% &apunktow graczowi &c%arg 2%"
- if arg 1 is "zestaw":
- if arg 4 is "{@zestaw.1.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.1.nazwa}":
- execute console command "give %player% {@zestaw.1.zbroja.1}"
- execute console command "give %player% {@zestaw.1.zbroja.2}"
- execute console command "give %player% {@zestaw.1.zbroja.3}"
- execute console command "give %player% {@zestaw.1.zbroja.4}"
- execute console command "give %player% {@zestaw.1.bron.1}"
- execute console command "give %player% {@zestaw.1.bron.2}"
- execute console command "give %player% {@zestaw.1.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.1.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.1.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- if arg 4 is "{@zestaw.2.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.2.nazwa}":
- execute console command "give %player% {@zestaw.2.zbroja.1}"
- execute console command "give %player% {@zestaw.2.zbroja.2}"
- execute console command "give %player% {@zestaw.2.zbroja.3}"
- execute console command "give %player% {@zestaw.2.zbroja.4}"
- execute console command "give %player% {@zestaw.2.bron.1}"
- execute console command "give %player% {@zestaw.2.bron.2}"
- execute console command "give %player% {@zestaw.2.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.2.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.2.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- if arg 4 is "{@zestaw.3.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.3.nazwa}":
- execute console command "give %player% {@zestaw.3.zbroja.1}"
- execute console command "give %player% {@zestaw.3.zbroja.2}"
- execute console command "give %player% {@zestaw.3.zbroja.3}"
- execute console command "give %player% {@zestaw.3.zbroja.4}"
- execute console command "give %player% {@zestaw.3.bron.1}"
- execute console command "give %player% {@zestaw.3.bron.2}"
- execute console command "give %player% {@zestaw.3.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.3.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.3.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- if arg 4 is "{@zestaw.4.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.4.nazwa}":
- execute console command "give %player% {@zestaw.4.zbroja.1}"
- execute console command "give %player% {@zestaw.4.zbroja.2}"
- execute console command "give %player% {@zestaw.4.zbroja.3}"
- execute console command "give %player% {@zestaw.4.zbroja.4}"
- execute console command "give %player% {@zestaw.4.bron.1}"
- execute console command "give %player% {@zestaw.4.bron.2}"
- execute console command "give %player% {@zestaw.4.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.4.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.4.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- if arg 4 is "{@zestaw.5.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.5.nazwa}":
- execute console command "give %player% {@zestaw.5.zbroja.1}"
- execute console command "give %player% {@zestaw.5.zbroja.2}"
- execute console command "give %player% {@zestaw.5.zbroja.3}"
- execute console command "give %player% {@zestaw.5.zbroja.4}"
- execute console command "give %player% {@zestaw.5.bron.1}"
- execute console command "give %player% {@zestaw.5.bron.2}"
- execute console command "give %player% {@zestaw.5.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.5.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.5.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- if arg 4 is "{@zestaw.6.nazwa}":
- if player have permission "mypvp.zestaw.{@zestaw.6.nazwa}":
- execute console command "give %player% {@zestaw.6.zbroja.1}"
- execute console command "give %player% {@zestaw.6.zbroja.2}"
- execute console command "give %player% {@zestaw.6.zbroja.3}"
- execute console command "give %player% {@zestaw.6.zbroja.4}"
- execute console command "give %player% {@zestaw.6.bron.1}"
- execute console command "give %player% {@zestaw.6.bron.2}"
- execute console command "give %player% {@zestaw.6.bron.3}"
- send "{@prefix}&aDostales zestaw - &c{@zestaw.6.nazwa}"
- if player don't have permission "mypvp.zestaw.{@zestaw.6.nazwa}":
- send "{@prefix}&cNie masz do tego uprawniej !"
- on death of player:
- add 1 to {pvp.punkty.%attacker%}
- if {@klasa.nagroda} is true:
- if {pvp.punkty.%attacker%} is {@klasa.1}:
- send "{@prefix}{@klasa.1.nagroda.msg}" to attacker
- execute console command "{@klasa.1.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.2}:
- send "{@prefix}{@klasa.2.nagroda.msg}" to attacker
- execute console command "{@klasa.2.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.3}:
- send "{@prefix}{@klasa.3.nagroda.msg}" to attacker
- execute console command "{@klasa.3.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.4}:
- send "{@prefix}{@klasa.4.nagroda.msg}" to attacker
- execute console command "{@klasa.4.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.5}:
- send "{@prefix}{@klasa.5.nagroda.msg}" to attacker
- execute console command "{@klasa.5.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.6}:
- send "{@prefix}{@klasa.6.nagroda.msg}" to attacker
- execute console command "{@klasa.6.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.7}:
- send "{@prefix}{@klasa.7.nagroda.msg}" to attacker
- execute console command "{@klasa.7.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.8}:
- send "{@prefix}{@klasa.8.nagroda.msg}" to attacker
- execute console command "{@klasa.8.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.9}:
- send "{@prefix}{@klasa.9.nagroda.msg}" to attacker
- execute console command "{@klasa.9.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.10}:
- send "{@prefix}{@klasa.10.nagroda.msg}" to attacker
- execute console command "{@klasa.10.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.11}:
- send "{@prefix}{@klasa.11.nagroda.msg}" to attacker
- execute console command "{@klasa.11.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.12}:
- send "{@prefix}{@klasa.12.nagroda.msg}" to attacker
- execute console command "{@klasa.12.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.13}:
- send "{@prefix}{@klasa.13.nagroda.msg}" to attacker
- execute console command "{@klasa.13.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.14}:
- send "{@prefix}{@klasa.14.nagroda.msg}" to attacker
- execute console command "{@klasa.14.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.15}:
- send "{@prefix}{@klasa.15.nagroda.msg}" to attacker
- execute console command "{@klasa.15.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.16}:
- send "{@prefix}{@klasa.16.nagroda.msg}" to attacker
- execute console command "{@klasa.16.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.17}:
- send "{@prefix}{@klasa.17.nagroda.msg}" to attacker
- execute console command "{@klasa.17.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.18}:
- send "{@prefix}{@klasa.18.nagroda.msg}" to attacker
- execute console command "{@klasa.18.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.19}:
- send "{@prefix}{@klasa.19.nagroda.msg}" to attacker
- execute console command "{@klasa.15.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.19}:
- send "{@prefix}{@klasa.19.nagroda.msg}" to attacker
- execute console command "{@klasa.19.nagroda.komenda}"
- if {pvp.punkty.%attacker%} is {@klasa.20}:
- send "{@prefix}{@klasa.20.nagroda.msg}" to attacker
- execute console command "{@klasa.20.nagroda.komenda}"
- on damage of player:
- if victim's health is larger than 4:
- set {pvp.hp.%victim%} to victim's health
- send "{@prefix}&8Atakujesz przeciwnika ktory ma &4&n%{pvp.hp.%victim%}*2% &r&8 HP" to attacker
- if {@Anti-pvpout} is true:
- if {pvp.%victim%} is false:
- if {Anti-pvpout.msg.podczas.%victim%} is true:
- if player is attacker:
- send "{@prefix}{@Anti-pvpout.msg.podczas}" to victim
- set {pvp.%victim%} to true
- if {pvp.%attacker%} is false:
- if {Anti-pvpout.msg.podczas.%attacker%} is true:
- send "{@prefix}{@Anti-pvpout.msg.podczas}" to attacker
- set {pvp.%attacker%} to true
- set {Anti-pvpout.msg.podczas.%attacker%} to false
- if {pvp.%victim%} is true:
- if {Anti-pvpout.msg.po.%victim%} is true:
- loop {@Anti-pvpout.czas} times:
- wait 1 second
- send "{@prefix}{@Anti-pvpout.msg.po}" to victim
- set {pvp.%victim%} to false
- set {Anti-pvpout.msg.podczas.%victim%} to false
- if {pvp.%attacker%} is true:
- if {Anti-pvpout.msg.po.%attacker%} is true:
- loop {@Anti-pvpout.czas} times:
- wait 1 second
- send "{@prefix}{@Anti-pvpout.msg.po}" to attacker
- set {pvp.%attacker%} to false
- set {Anti-pvpout.msg.po.%attacker%} to false
- on quit:
- set {Anti-pvpout.ban.czas.%player%} to {@Anti-pvpout.ban.czas}
- if {@Anti-pvpout} is true:
- if {pvp.%player%} is true:
- set {pvp.ban.%player%} to true
- wait 1 second
- if {pvp.ban.%player%} is true:
- if {@Anti-pvpout.eq} is true:
- clear player's inventory
- set {pvp.%player%} to false
- execute console command "ban %player% {@Anti-pvpout.ban.msg} &cZostaniesz odbanowany za {@Anti-pvpout.ban.czas} sekund"
- wait {Anti-pvpout.ban.cas}
- execute console command "unban %player%"
- set {pvp.ban.%player%} to false
- on chat:
- if {@klasa.nazwa} is true:
- if {pvp.punkty.%player%} is smaller than {@klasa.1}:
- set player's displayname to "&f({@klasa.1.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.1}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.2}:
- set player's displayname to "&f({@klasa.2.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.2}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.3}:
- set player's displayname to "&f({@klasa.3.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.3}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.4}:
- set player's displayname to "&f({@klasa.4.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.4}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.5}:
- set player's displayname to "&f({@klasa.5.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.5}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.6}:
- set player's displayname to "&f({@klasa.6.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.6}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.7}:
- set player's displayname to "&f({@klasa.7.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.7}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.8}:
- set player's displayname to "&f({@klasa.8.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.8}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.9}:
- set player's displayname to "&f({@klasa.9.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.9}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.10}:
- set player's displayname to "&f({@klasa.10.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.10}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.11}:
- set player's displayname to "&f({@klasa.11.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.11}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.12}:
- set player's displayname to "&f({@klasa.12.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.12}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.13}:
- set player's displayname to "&f({@klasa.13.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.13}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.14}:
- set player's displayname to "&f({@klasa.14.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.14}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.15}:
- set player's displayname to "&f({@klasa.15.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.15}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.16}:
- set player's displayname to "&f({@klasa.16.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.16}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.17}:
- set player's displayname to "&f({@klasa.17.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.17}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.18}:
- set player's displayname to "&f({@klasa.18.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.18}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.19}:
- set player's displayname to "&f({@klasa.19.nazwa}&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.19}-1:
- set player's displayname to "&f({@klasa.20.nazwa}&f)&r %player's displayname%"
- if {@klasa} is true:
- if {pvp.punkty.%player%} is smaller than {@klasa.1}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.1}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.2}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.2}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.3}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.3}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.4}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.4}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.5}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.5}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.6}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.6}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.7}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.7}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.8}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.8}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.9}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.9}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.10}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.10}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.11}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.11}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.12}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.12}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.13}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.13}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.14}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.14}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.15}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.15}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.16}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.16}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.17}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.17}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.18}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.18}-1:
- if {pvp.punkty.%player%} is smaller than {@klasa.19}:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- if {pvp.punkty.%player%} is larger than {@klasa.19}-1:
- set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
- #======
- #==== KONIEC CZESC CHRONIONA PRAWEM AUTORSKIM
- #======
Advertisement
Add Comment
Please, Sign In to add comment