michal343442

MyPvP - 1.0

Dec 13th, 2013
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.07 KB | None | 0 0
  1. #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
  2. #==============Nazwa skryptu: MyPvP #
  3. #===========Autor: michal343442 #
  4. #==============Wersja 1.0 #
  5. #===========Wersja Skript: 2.0.2 #
  6. #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
  7.  
  8.  
  9. #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=##=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
  10. # LICENCJA SKRYPTU BY MICHAL343442 #
  11. #Nie wolno ci: #
  12. #* Udostepniac skryptu pod innym autorem, wersja i nazwa skryptu * #
  13. #* Zmieniac autora, wersij, licencij, nazwy skryptu i czesci strzezonej prawem autorskim* #
  14. #Wolno ci: #
  15. #* Udostepniac w skrypt pod tymi samymi danymi jakimi dostales w stanie pierwonym * #
  16. #* Zmieniac opcje * #
  17. #* Komentowac na MPCforum lub zglaszac problemy na MPCforum [nick: michal343442]* #
  18. #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=##=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#
  19.  
  20. #====OPCJE====#
  21. options:
  22. #==== ===#
  23. #= USTAWIENIA STEROWANE KOMENDAMI =#
  24. #==== ===#
  25. #Czy ma byc pozliwosc modyfikowania broni za pomoca komend ? True lub False
  26. komend: true
  27.  
  28. #Jaki prefix ma pojawiac sie przed wiadomosciami komend ?
  29. prefix: &8[&fMy&0PvP&8]&r
  30.  
  31. #Jak nazwya sie twoj plik z tym skryptem ?
  32. nazwa.pliku: skript3
  33. #==== ===#
  34. #= USTAWIENIA KLAS - 1-20 =#
  35. #==== ===#
  36. #Wlacznie/Wylaczenie napisu (Poziom) przed nikiem np. - (1)michal343442: Hello !
  37. klasa: true
  38.  
  39. #Wlacznie/Wylaczenie napisu (Klasa) przed nikiem np. - (Nowicjusz)michal343442: Hello !
  40. klasa.nazwa: true
  41.  
  42. #Wlaczenie/Wylaczenie nagrod za klasy
  43. klasa.nagroda: true
  44.  
  45.  
  46. #Po ilu punktach klasa ma byc promowana na wyzsza
  47. klasa.1: 10
  48.  
  49. #Jaka nazwe chcesz dac klasie
  50. klasa.1.nazwa: &cNowicjusz I
  51.  
  52. #Jaka wiadomosc ma wyswietlic sie po promowaniu na wyzsza klase
  53. klasa.1.nagroda.msg: &6Bravo ! Dostales tytul &cNowicjusz I&6, odblokywujesz zestaw bojowy - &cZestaw Nowicjusza.
  54.  
  55. #Jaka komenda ma byc wywolana po promowaniu na wyzsza klase
  56. klasa.1.nagroda.komenda: pex user %attacker% add mypvp.zestaw.nowicjusz
  57.  
  58. #Zasada ustawiania jest ta sama jak powyzej
  59.  
  60. klasa.2: 20
  61. klasa.2.nazwa: &cNowicjusz II
  62. klasa.2.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz II&a, odblokywujesz rodzaj strzal - &cSlow.
  63. klasa.2.nagroda.komenda: pex user %attacker% add moarrows.use.slow
  64.  
  65. klasa.3: 30
  66. klasa.3.nazwa: &cNowicjusz III
  67. klasa.3.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz III&a, odblokywujesz warp - &cSklep.
  68. klasa.3.nagroda.komenda: pex user %attacker% add essentials.warps.Sklep
  69.  
  70. klasa.4: 40
  71. klasa.4.nazwa: &cNowicjusz IV
  72. klasa.4.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz IV&a, odblokywujesz przedmiot - &cMiecz Nowicjusza.
  73. klasa.4.nagroda.komenda: give %attacker% 272 1 name:&aMiecz_&cNowicjusza lore:&aNagroda_za_tytul_&cNowicjusz_IV sharpness:1 knockback:1
  74.  
  75. klasa.5: 50
  76. klasa.5.nazwa: &cNowicjusz V
  77. klasa.5.nagroda.msg: &aBravo ! Dostales tytul &cNowicjusz V&a, odblokywujesz przedmiot - &cKosa rolnika.
  78. klasa.5.nagroda.komenda: give %attacker% 272 1 name:&aKosa_&6Rolnika lore:&aNagroda_za_tytul_&cNowicjusz_V sharpness:5
  79.  
  80. klasa.6: 75
  81. klasa.6.nazwa: &cPoczatkujacy I
  82. klasa.6.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy I&a, odblokywujesz zestaw bojowy - &cZestaw Poczatkujacego.
  83. klasa.6.nagroda.komenda: pex user %attacker% add mypvp.zestaw.poczatkujacy
  84.  
  85. klasa.7: 100
  86. klasa.7.nazwa: &cPoczatkujacy II
  87. klasa.7.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy II&a, odblokywujesz rodzaj strzal - &cRazor.
  88. klasa.7.nagroda.komenda: pex user %attacker% add moarrows.use.razor
  89.  
  90. klasa.8: 125
  91. klasa.8.nazwa: &cPoczatkujacy III
  92. klasa.8.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy III&a, odblokywujesz przedmiot - &cMiecz Poczatkujacego.
  93. klasa.8.nagroda.komenda: give %attacker% 272 1 name:&aKosa_&6Rolnika lore:&aNagroda_za_tytul_&cPoczatkujacego_IV sharpness:2 knockback:1
  94.  
  95. klasa.9: 150
  96. klasa.9.nazwa: &cPoczatkujacy IV
  97. klasa.9.nagroda.msg: &aBravo ! Dostales tytul &cPoczatkujacy IV&a, odblokywujesz warp - &cArena Poczatkujacy.
  98. klasa.9.nagroda.komenda: pex user %attacker% add essentials.warps.ArenaPoczatkujacy
  99.  
  100. klasa.10: 200
  101. klasa.10.nazwa: &cAmator Miecza I
  102. klasa.10.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza I&a, odblokywujesz zestaw bojowy - &cZestaw Amatora.
  103. klasa.10.nagroda.komenda: pex user %attacker% add mypvp.zestaw.poczatkujacy
  104.  
  105. klasa.11: 250
  106. klasa.11.nazwa: &cAmator Miecza II
  107. klasa.11.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza II&a, odblokywujesz rodzaj strzal - &cFire.
  108. klasa.11.nagroda.komenda: pex user %attacker% add moarrows.use.fire
  109.  
  110. klasa.12: 300
  111. klasa.12.nazwa: &cAmator Miecza III
  112. 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
  113. klasa.12.nagroda.komenda: pex user %attacker% add mypvp.dodbron.mieczeksplosia
  114.  
  115. klasa.13: 350
  116. klasa.13.nazwa: &cAmator Miecza IV
  117. klasa.13.nagroda.msg: &aBravo ! Dostales tytul &cAmator Miecza IV&a, odblokywujesz warp - &cArena Amatora.
  118. klasa.13.nagroda.komenda: pex user %attacker% add essentials.warps.arenaamatora
  119.  
  120. klasa.14: 450
  121. klasa.14.nazwa: &cWojownik I
  122. klasa.14.nagroda.msg: &aBravo ! Dostales tytul &cWojownik I&a, odblokywujesz zestaw bojowy - &cZestaw Wojownika.
  123. klasa.14.nagroda.komenda: pex user %attacker% add mypvp.zestaw.wojownik
  124.  
  125. klasa.15: 550
  126. klasa.15.nazwa: &cWojownik II
  127. klasa.15.nagroda.msg: &aBravo ! Dostales tytul &cWojownik II&a, odblokywujesz rodzaj strzal - &cPosion.
  128. klasa.15.nagroda.komenda: pex user %attacker% add moarrows.use.posion
  129.  
  130. klasa.16: 650
  131. klasa.16.nazwa: &cWojownik III
  132. klasa.16.nagroda.msg: &aBravo ! Dostales tytul &cWojownik III&a, odblokywujesz umiejetnosc - &cTabliczka Boost.&aPrzez klinkniecie talibczki na spawnie masz boost przez 20 sekund.
  133. klasa.16.nagroda.komenda: pex user %attacker% add mypvp.signboost
  134.  
  135. klasa.17: 750
  136. klasa.17.nazwa: &cWojownik IV
  137. klasa.17.nagroda.msg: &aBravo ! Dostales tytul &cWojownik IV&a, odblokywujesz warp - &cArena Wojownika.
  138. klasa.17.nagroda.komenda: pex user %attacker% add essentials.warps.arenawojownika
  139.  
  140. klasa.18: 1000
  141. klasa.18.nazwa: &cMistrz I
  142. klasa.18.nagroda.msg: &aBravo ! Dostales tytul &cMistrz I&a, odblokywujesz zestaw bojowy - &cZestaw Wojownika.
  143. klasa.18.nagroda.komenda: pex user %attacker% add mypvp.zestaw.mistrz
  144.  
  145. klasa.19: 1125
  146. klasa.19.nazwa: &cMistrz II
  147. klasa.19.nagroda.msg: &aBravo ! Dostales tytul &cMistrz II&a, odblokywujesz warp - &cArena Mistrza.
  148. klasa.19.nagroda.komenda: pex user %attacker% add essentials.warps.arenamistrz
  149.  
  150. klasa.20: 2000
  151. klasa.20.nazwa: &6&lB.O.S.S
  152. klasa.20.nagroda.msg: &aBravo ! Dostales tytul &6&lB.O.S.S&a, odblokywujesz zestaw bojowy - &cZestaw &6&lB.O.S.S.
  153. klasa.20.nagroda.komenda: pex user %attacker% add mypvp.zestaw.boss
  154.  
  155. #==== ===#
  156. #= USTAWIENIA ZESTAWOW =#
  157. #==== ===#
  158.  
  159. zestaw.1.nazwa: Nowicjusz
  160. zestaw.1.zbroja.1: 306 1 name:&aZestaw&c_Nowicjusz protection:1
  161. zestaw.1.zbroja.2: 307 1 name:&aZestaw&c_Nowicjusz protection:1
  162. zestaw.1.zbroja.3: 308 1 name:&aZestaw&c_Nowicjusz protection:1
  163. zestaw.1.zbroja.4: 309 1 name:&aZestaw&c_Nowicjusz protection:1
  164. zestaw.1.bron.1: bow 1 name:&aZestaw&c_Nowicjusz infinity:1
  165. zestaw.1.bron.2: arrow 1 name:&aZestaw&c_Nowicjusz
  166. zestaw.1.bron.3: 267 1 name:&aZestaw&c_Nowicjusz sharpness:1
  167.  
  168. zestaw.2.nazwa: Poczatkujacy
  169. zestaw.2.zbroja.1: 306 1 name:&aZestaw&c_Poczatkujacy protection:2
  170. zestaw.2.zbroja.2: 307 1 name:&aZestaw&c_Poczatkujacy protection:1
  171. zestaw.2.zbroja.3: 308 1 name:&aZestaw&c_Poczatkujacy protection:2
  172. zestaw.2.zbroja.4: 309 1 name:&aZestaw&c_Poczatkujacy protection:1
  173. zestaw.2.bron.1: bow 1 name:&aZestaw&c_Poczatkujacy infinity:1 power: 1
  174. zestaw.2.bron.2: arrow 1 name:&aZestaw&c_Poczatkujacy
  175. zestaw.2.bron.3: 267 1 name:&aZestaw&c_Poczatkujacy sharpness:1
  176.  
  177. zestaw.3.nazwa: Amator
  178. zestaw.3.zbroja.1: 306 1 name:&aZestaw&c_Nowicjusz protection:2
  179. zestaw.3.zbroja.2: 307 1 name:&aZestaw&c_Nowicjusz protection:2
  180. zestaw.3.zbroja.3: 308 1 name:&aZestaw&c_Nowicjusz protection:2
  181. zestaw.3.zbroja.4: 309 1 name:&aZestaw&c_Nowicjusz protection:2
  182. zestaw.3.bron.1: bow 1 name:&aZestaw&c_Nowicjusz infinity:1 power:2
  183. zestaw.3.bron.2: arrow 1 name:&aZestaw&c_Nowicjusz
  184. zestaw.3.bron.3: 267 1 name:&aZestaw&c_Nowicjusz sharpness:2
  185.  
  186. zestaw.4.nazwa: Wojownik
  187. zestaw.4.zbroja.1: 306 1 name:&aZestaw&c_Wojownik protection:2
  188. zestaw.4.zbroja.2: 307 1 name:&aZestaw&c_Wojownik protection:3
  189. zestaw.4.zbroja.3: 308 1 name:&aZestaw&c_Wojownik protection:2
  190. zestaw.4.zbroja.4: 309 1 name:&aZestaw&c_Wojownik protection:3
  191. zestaw.4.bron.1: bow 1 name:&aZestaw&c_Wojownik infinity:1 power:2
  192. zestaw.4.bron.2: arrow 1 name:&aZestaw&c_Wojownik
  193. zestaw.4.bron.3: 267 1 name:&aZestaw&c_Wojownik sharpness:2 fireaspect:1
  194.  
  195. zestaw.5.nazwa: Mistrz
  196. zestaw.5.zbroja.1: 306 1 name:&aZestaw&c_Mistrz protection:3
  197. zestaw.5.zbroja.2: 307 1 name:&aZestaw&c_Mistrz protection:3
  198. zestaw.5.zbroja.3: 308 1 name:&aZestaw&c_Mistrz protection:3
  199. zestaw.5.zbroja.4: 309 1 name:&aZestaw&c_Mistrz protection:3
  200. zestaw.5.bron.1: bow 1 name:&aZestaw&c_Mistrz infinity:1 power:3
  201. zestaw.5.bron.2: arrow 1 name:&aZestaw&c_Mistrz
  202. zestaw.5.bron.3: 267 1 name:&aZestaw&c_Mistrz sharpness:3 fireaspect:2
  203.  
  204. zestaw.6.nazwa: BOSS
  205. zestaw.6.zbroja.1: 306 1 name:&aZestaw&c_BOSS protection:3
  206. zestaw.6.zbroja.2: 307 1 name:&aZestaw&c_BOSS protection:3
  207. zestaw.6.zbroja.3: 308 1 name:&aZestaw&c_BOSS protection:3
  208. zestaw.6.zbroja.4: 309 1 name:&aZestaw&c_BOSS protection:3
  209. zestaw.6.bron.1: bow 1 name:&aZestaw&c_BOSS infinity:1 power:4
  210. zestaw.6.bron.2: arrow 1 name:&aZestaw&c_BOSS
  211. zestaw.6.bron.3: 267 1 name:&aZestaw&c_BOSS sharpness:4 fireaspect:3
  212.  
  213.  
  214.  
  215.  
  216.  
  217. #==== ===#
  218. #= USTAWIENIA ANTI-PVPOUT =#
  219. #==== ===#
  220. #Chcesz wlaczyc Anti-PvPOut (AntiRelog) ?
  221. Anti-pvpout: true
  222.  
  223. Anti-pvpout.ban.czas: 300
  224.  
  225. #Czy mam usuwac EQ ?
  226. Anti-pvpout.eq: true
  227.  
  228. #Jaki ma byc czas walki ?
  229. Anti-pvpout.czas: 10
  230.  
  231. Anti-pvpout.msg.podczas: &aJestes w walce. Nie logaj!
  232.  
  233. Anti-pvpout.msg.po: &aNie jestes w walce. Mozesz lognac.
  234.  
  235. Anti-pvpout.ban.msg: &cZostales zbanowany za wyjscie z serwera pod czas walki.
  236.  
  237.  
  238.  
  239. #========
  240. #====== KONIEC OPCIJ - POCZATEK CZESC CHRONIONA PRAWEM AUTORSKIM
  241. #========
  242. variables:
  243. {pvp.punkty.%player%} = 0
  244. {pvp.%player%} = true
  245. {pvp.%player%.czas} = 0
  246.  
  247. command /mypvp [<text>] [<player>] [<number>] [<text>]:
  248. aliases: /mp, /myp, /mpvp
  249. trigger:
  250. if {@komend} is false:
  251. send "{@prefix}&cKomendy MyPvP sa wylaczone!"
  252. if {@komend} is true:
  253.  
  254. if argument 1 is not set:
  255. if player don't have permissions "mypvp":
  256. send "{@prefix}&cNie masz upawniej do tej komendy !"
  257.  
  258. if player have permissions "mypvp":
  259. send "&aSkrypt - &fMy&0PvP"
  260. send "&aAutor: &6michal343442"
  261. send "&aWersja: &61.0"
  262.  
  263. if player have permission "mypvp.admin":
  264. if arg 1 is "dodaj":
  265. add arg 3 to {pvp.punkty.%arg 2%}
  266. send "{@prefix}&aDodales &c%arg 3% &apunktow graczowi &c%arg 2%"
  267. if arg 1 is "usun":
  268. remove arg 3 from {pvp.punkty.%arg 2%}
  269. send "{@prefix}&aUsuneles &c%arg 3% &apunktow graczowi &c%arg 2%"
  270. if arg 1 is "ustaw":
  271. set {pvp.punkty.%arg 2%} to arg 3
  272. send "{@prefix}&aUstawiles &c%arg 3% &apunktow graczowi &c%arg 2%"
  273.  
  274. if arg 1 is "zestaw":
  275. if arg 4 is "{@zestaw.1.nazwa}":
  276. if player have permission "mypvp.zestaw.{@zestaw.1.nazwa}":
  277. execute console command "give %player% {@zestaw.1.zbroja.1}"
  278. execute console command "give %player% {@zestaw.1.zbroja.2}"
  279. execute console command "give %player% {@zestaw.1.zbroja.3}"
  280. execute console command "give %player% {@zestaw.1.zbroja.4}"
  281. execute console command "give %player% {@zestaw.1.bron.1}"
  282. execute console command "give %player% {@zestaw.1.bron.2}"
  283. execute console command "give %player% {@zestaw.1.bron.3}"
  284. send "{@prefix}&aDostales zestaw - &c{@zestaw.1.nazwa}"
  285. if player don't have permission "mypvp.zestaw.{@zestaw.1.nazwa}":
  286. send "{@prefix}&cNie masz do tego uprawniej !"
  287. if arg 4 is "{@zestaw.2.nazwa}":
  288. if player have permission "mypvp.zestaw.{@zestaw.2.nazwa}":
  289. execute console command "give %player% {@zestaw.2.zbroja.1}"
  290. execute console command "give %player% {@zestaw.2.zbroja.2}"
  291. execute console command "give %player% {@zestaw.2.zbroja.3}"
  292. execute console command "give %player% {@zestaw.2.zbroja.4}"
  293. execute console command "give %player% {@zestaw.2.bron.1}"
  294. execute console command "give %player% {@zestaw.2.bron.2}"
  295. execute console command "give %player% {@zestaw.2.bron.3}"
  296. send "{@prefix}&aDostales zestaw - &c{@zestaw.2.nazwa}"
  297. if player don't have permission "mypvp.zestaw.{@zestaw.2.nazwa}":
  298. send "{@prefix}&cNie masz do tego uprawniej !"
  299. if arg 4 is "{@zestaw.3.nazwa}":
  300. if player have permission "mypvp.zestaw.{@zestaw.3.nazwa}":
  301. execute console command "give %player% {@zestaw.3.zbroja.1}"
  302. execute console command "give %player% {@zestaw.3.zbroja.2}"
  303. execute console command "give %player% {@zestaw.3.zbroja.3}"
  304. execute console command "give %player% {@zestaw.3.zbroja.4}"
  305. execute console command "give %player% {@zestaw.3.bron.1}"
  306. execute console command "give %player% {@zestaw.3.bron.2}"
  307. execute console command "give %player% {@zestaw.3.bron.3}"
  308. send "{@prefix}&aDostales zestaw - &c{@zestaw.3.nazwa}"
  309. if player don't have permission "mypvp.zestaw.{@zestaw.3.nazwa}":
  310. send "{@prefix}&cNie masz do tego uprawniej !"
  311. if arg 4 is "{@zestaw.4.nazwa}":
  312. if player have permission "mypvp.zestaw.{@zestaw.4.nazwa}":
  313. execute console command "give %player% {@zestaw.4.zbroja.1}"
  314. execute console command "give %player% {@zestaw.4.zbroja.2}"
  315. execute console command "give %player% {@zestaw.4.zbroja.3}"
  316. execute console command "give %player% {@zestaw.4.zbroja.4}"
  317. execute console command "give %player% {@zestaw.4.bron.1}"
  318. execute console command "give %player% {@zestaw.4.bron.2}"
  319. execute console command "give %player% {@zestaw.4.bron.3}"
  320. send "{@prefix}&aDostales zestaw - &c{@zestaw.4.nazwa}"
  321. if player don't have permission "mypvp.zestaw.{@zestaw.4.nazwa}":
  322. send "{@prefix}&cNie masz do tego uprawniej !"
  323. if arg 4 is "{@zestaw.5.nazwa}":
  324. if player have permission "mypvp.zestaw.{@zestaw.5.nazwa}":
  325. execute console command "give %player% {@zestaw.5.zbroja.1}"
  326. execute console command "give %player% {@zestaw.5.zbroja.2}"
  327. execute console command "give %player% {@zestaw.5.zbroja.3}"
  328. execute console command "give %player% {@zestaw.5.zbroja.4}"
  329. execute console command "give %player% {@zestaw.5.bron.1}"
  330. execute console command "give %player% {@zestaw.5.bron.2}"
  331. execute console command "give %player% {@zestaw.5.bron.3}"
  332. send "{@prefix}&aDostales zestaw - &c{@zestaw.5.nazwa}"
  333. if player don't have permission "mypvp.zestaw.{@zestaw.5.nazwa}":
  334. send "{@prefix}&cNie masz do tego uprawniej !"
  335. if arg 4 is "{@zestaw.6.nazwa}":
  336. if player have permission "mypvp.zestaw.{@zestaw.6.nazwa}":
  337. execute console command "give %player% {@zestaw.6.zbroja.1}"
  338. execute console command "give %player% {@zestaw.6.zbroja.2}"
  339. execute console command "give %player% {@zestaw.6.zbroja.3}"
  340. execute console command "give %player% {@zestaw.6.zbroja.4}"
  341. execute console command "give %player% {@zestaw.6.bron.1}"
  342. execute console command "give %player% {@zestaw.6.bron.2}"
  343. execute console command "give %player% {@zestaw.6.bron.3}"
  344. send "{@prefix}&aDostales zestaw - &c{@zestaw.6.nazwa}"
  345. if player don't have permission "mypvp.zestaw.{@zestaw.6.nazwa}":
  346. send "{@prefix}&cNie masz do tego uprawniej !"
  347.  
  348. on death of player:
  349. add 1 to {pvp.punkty.%attacker%}
  350.  
  351. if {@klasa.nagroda} is true:
  352. if {pvp.punkty.%attacker%} is {@klasa.1}:
  353. send "{@prefix}{@klasa.1.nagroda.msg}" to attacker
  354. execute console command "{@klasa.1.nagroda.komenda}"
  355.  
  356. if {pvp.punkty.%attacker%} is {@klasa.2}:
  357. send "{@prefix}{@klasa.2.nagroda.msg}" to attacker
  358. execute console command "{@klasa.2.nagroda.komenda}"
  359.  
  360. if {pvp.punkty.%attacker%} is {@klasa.3}:
  361. send "{@prefix}{@klasa.3.nagroda.msg}" to attacker
  362. execute console command "{@klasa.3.nagroda.komenda}"
  363.  
  364. if {pvp.punkty.%attacker%} is {@klasa.4}:
  365. send "{@prefix}{@klasa.4.nagroda.msg}" to attacker
  366. execute console command "{@klasa.4.nagroda.komenda}"
  367.  
  368. if {pvp.punkty.%attacker%} is {@klasa.5}:
  369. send "{@prefix}{@klasa.5.nagroda.msg}" to attacker
  370. execute console command "{@klasa.5.nagroda.komenda}"
  371.  
  372. if {pvp.punkty.%attacker%} is {@klasa.6}:
  373. send "{@prefix}{@klasa.6.nagroda.msg}" to attacker
  374. execute console command "{@klasa.6.nagroda.komenda}"
  375.  
  376. if {pvp.punkty.%attacker%} is {@klasa.7}:
  377. send "{@prefix}{@klasa.7.nagroda.msg}" to attacker
  378. execute console command "{@klasa.7.nagroda.komenda}"
  379.  
  380. if {pvp.punkty.%attacker%} is {@klasa.8}:
  381. send "{@prefix}{@klasa.8.nagroda.msg}" to attacker
  382. execute console command "{@klasa.8.nagroda.komenda}"
  383.  
  384. if {pvp.punkty.%attacker%} is {@klasa.9}:
  385. send "{@prefix}{@klasa.9.nagroda.msg}" to attacker
  386. execute console command "{@klasa.9.nagroda.komenda}"
  387.  
  388. if {pvp.punkty.%attacker%} is {@klasa.10}:
  389. send "{@prefix}{@klasa.10.nagroda.msg}" to attacker
  390. execute console command "{@klasa.10.nagroda.komenda}"
  391.  
  392. if {pvp.punkty.%attacker%} is {@klasa.11}:
  393. send "{@prefix}{@klasa.11.nagroda.msg}" to attacker
  394. execute console command "{@klasa.11.nagroda.komenda}"
  395.  
  396. if {pvp.punkty.%attacker%} is {@klasa.12}:
  397. send "{@prefix}{@klasa.12.nagroda.msg}" to attacker
  398. execute console command "{@klasa.12.nagroda.komenda}"
  399.  
  400. if {pvp.punkty.%attacker%} is {@klasa.13}:
  401. send "{@prefix}{@klasa.13.nagroda.msg}" to attacker
  402. execute console command "{@klasa.13.nagroda.komenda}"
  403.  
  404. if {pvp.punkty.%attacker%} is {@klasa.14}:
  405. send "{@prefix}{@klasa.14.nagroda.msg}" to attacker
  406. execute console command "{@klasa.14.nagroda.komenda}"
  407.  
  408. if {pvp.punkty.%attacker%} is {@klasa.15}:
  409. send "{@prefix}{@klasa.15.nagroda.msg}" to attacker
  410. execute console command "{@klasa.15.nagroda.komenda}"
  411.  
  412. if {pvp.punkty.%attacker%} is {@klasa.16}:
  413. send "{@prefix}{@klasa.16.nagroda.msg}" to attacker
  414. execute console command "{@klasa.16.nagroda.komenda}"
  415.  
  416. if {pvp.punkty.%attacker%} is {@klasa.17}:
  417. send "{@prefix}{@klasa.17.nagroda.msg}" to attacker
  418. execute console command "{@klasa.17.nagroda.komenda}"
  419.  
  420. if {pvp.punkty.%attacker%} is {@klasa.18}:
  421. send "{@prefix}{@klasa.18.nagroda.msg}" to attacker
  422. execute console command "{@klasa.18.nagroda.komenda}"
  423.  
  424. if {pvp.punkty.%attacker%} is {@klasa.19}:
  425. send "{@prefix}{@klasa.19.nagroda.msg}" to attacker
  426. execute console command "{@klasa.15.nagroda.komenda}"
  427.  
  428. if {pvp.punkty.%attacker%} is {@klasa.19}:
  429. send "{@prefix}{@klasa.19.nagroda.msg}" to attacker
  430. execute console command "{@klasa.19.nagroda.komenda}"
  431.  
  432. if {pvp.punkty.%attacker%} is {@klasa.20}:
  433. send "{@prefix}{@klasa.20.nagroda.msg}" to attacker
  434. execute console command "{@klasa.20.nagroda.komenda}"
  435. on damage of player:
  436. if victim's health is larger than 4:
  437. set {pvp.hp.%victim%} to victim's health
  438. send "{@prefix}&8Atakujesz przeciwnika ktory ma &4&n%{pvp.hp.%victim%}*2% &r&8 HP" to attacker
  439.  
  440. if {@Anti-pvpout} is true:
  441. if {pvp.%victim%} is false:
  442. if {Anti-pvpout.msg.podczas.%victim%} is true:
  443. if player is attacker:
  444. send "{@prefix}{@Anti-pvpout.msg.podczas}" to victim
  445. set {pvp.%victim%} to true
  446.  
  447. if {pvp.%attacker%} is false:
  448. if {Anti-pvpout.msg.podczas.%attacker%} is true:
  449. send "{@prefix}{@Anti-pvpout.msg.podczas}" to attacker
  450. set {pvp.%attacker%} to true
  451. set {Anti-pvpout.msg.podczas.%attacker%} to false
  452.  
  453. if {pvp.%victim%} is true:
  454. if {Anti-pvpout.msg.po.%victim%} is true:
  455. loop {@Anti-pvpout.czas} times:
  456. wait 1 second
  457. send "{@prefix}{@Anti-pvpout.msg.po}" to victim
  458. set {pvp.%victim%} to false
  459. set {Anti-pvpout.msg.podczas.%victim%} to false
  460.  
  461. if {pvp.%attacker%} is true:
  462. if {Anti-pvpout.msg.po.%attacker%} is true:
  463. loop {@Anti-pvpout.czas} times:
  464. wait 1 second
  465. send "{@prefix}{@Anti-pvpout.msg.po}" to attacker
  466. set {pvp.%attacker%} to false
  467. set {Anti-pvpout.msg.po.%attacker%} to false
  468.  
  469. on quit:
  470. set {Anti-pvpout.ban.czas.%player%} to {@Anti-pvpout.ban.czas}
  471. if {@Anti-pvpout} is true:
  472. if {pvp.%player%} is true:
  473. set {pvp.ban.%player%} to true
  474. wait 1 second
  475. if {pvp.ban.%player%} is true:
  476. if {@Anti-pvpout.eq} is true:
  477. clear player's inventory
  478. set {pvp.%player%} to false
  479. execute console command "ban %player% {@Anti-pvpout.ban.msg} &cZostaniesz odbanowany za {@Anti-pvpout.ban.czas} sekund"
  480. wait {Anti-pvpout.ban.cas}
  481. execute console command "unban %player%"
  482. set {pvp.ban.%player%} to false
  483.  
  484.  
  485. on chat:
  486. if {@klasa.nazwa} is true:
  487. if {pvp.punkty.%player%} is smaller than {@klasa.1}:
  488. set player's displayname to "&f({@klasa.1.nazwa}&f)&r %player's displayname%"
  489. if {pvp.punkty.%player%} is larger than {@klasa.1}-1:
  490. if {pvp.punkty.%player%} is smaller than {@klasa.2}:
  491. set player's displayname to "&f({@klasa.2.nazwa}&f)&r %player's displayname%"
  492. if {pvp.punkty.%player%} is larger than {@klasa.2}-1:
  493. if {pvp.punkty.%player%} is smaller than {@klasa.3}:
  494. set player's displayname to "&f({@klasa.3.nazwa}&f)&r %player's displayname%"
  495. if {pvp.punkty.%player%} is larger than {@klasa.3}-1:
  496. if {pvp.punkty.%player%} is smaller than {@klasa.4}:
  497. set player's displayname to "&f({@klasa.4.nazwa}&f)&r %player's displayname%"
  498. if {pvp.punkty.%player%} is larger than {@klasa.4}-1:
  499. if {pvp.punkty.%player%} is smaller than {@klasa.5}:
  500. set player's displayname to "&f({@klasa.5.nazwa}&f)&r %player's displayname%"
  501. if {pvp.punkty.%player%} is larger than {@klasa.5}-1:
  502. if {pvp.punkty.%player%} is smaller than {@klasa.6}:
  503. set player's displayname to "&f({@klasa.6.nazwa}&f)&r %player's displayname%"
  504. if {pvp.punkty.%player%} is larger than {@klasa.6}-1:
  505. if {pvp.punkty.%player%} is smaller than {@klasa.7}:
  506. set player's displayname to "&f({@klasa.7.nazwa}&f)&r %player's displayname%"
  507. if {pvp.punkty.%player%} is larger than {@klasa.7}-1:
  508. if {pvp.punkty.%player%} is smaller than {@klasa.8}:
  509. set player's displayname to "&f({@klasa.8.nazwa}&f)&r %player's displayname%"
  510. if {pvp.punkty.%player%} is larger than {@klasa.8}-1:
  511. if {pvp.punkty.%player%} is smaller than {@klasa.9}:
  512. set player's displayname to "&f({@klasa.9.nazwa}&f)&r %player's displayname%"
  513. if {pvp.punkty.%player%} is larger than {@klasa.9}-1:
  514. if {pvp.punkty.%player%} is smaller than {@klasa.10}:
  515. set player's displayname to "&f({@klasa.10.nazwa}&f)&r %player's displayname%"
  516. if {pvp.punkty.%player%} is larger than {@klasa.10}-1:
  517. if {pvp.punkty.%player%} is smaller than {@klasa.11}:
  518. set player's displayname to "&f({@klasa.11.nazwa}&f)&r %player's displayname%"
  519. if {pvp.punkty.%player%} is larger than {@klasa.11}-1:
  520. if {pvp.punkty.%player%} is smaller than {@klasa.12}:
  521. set player's displayname to "&f({@klasa.12.nazwa}&f)&r %player's displayname%"
  522. if {pvp.punkty.%player%} is larger than {@klasa.12}-1:
  523. if {pvp.punkty.%player%} is smaller than {@klasa.13}:
  524. set player's displayname to "&f({@klasa.13.nazwa}&f)&r %player's displayname%"
  525. if {pvp.punkty.%player%} is larger than {@klasa.13}-1:
  526. if {pvp.punkty.%player%} is smaller than {@klasa.14}:
  527. set player's displayname to "&f({@klasa.14.nazwa}&f)&r %player's displayname%"
  528. if {pvp.punkty.%player%} is larger than {@klasa.14}-1:
  529. if {pvp.punkty.%player%} is smaller than {@klasa.15}:
  530. set player's displayname to "&f({@klasa.15.nazwa}&f)&r %player's displayname%"
  531. if {pvp.punkty.%player%} is larger than {@klasa.15}-1:
  532. if {pvp.punkty.%player%} is smaller than {@klasa.16}:
  533. set player's displayname to "&f({@klasa.16.nazwa}&f)&r %player's displayname%"
  534. if {pvp.punkty.%player%} is larger than {@klasa.16}-1:
  535. if {pvp.punkty.%player%} is smaller than {@klasa.17}:
  536. set player's displayname to "&f({@klasa.17.nazwa}&f)&r %player's displayname%"
  537. if {pvp.punkty.%player%} is larger than {@klasa.17}-1:
  538. if {pvp.punkty.%player%} is smaller than {@klasa.18}:
  539. set player's displayname to "&f({@klasa.18.nazwa}&f)&r %player's displayname%"
  540. if {pvp.punkty.%player%} is larger than {@klasa.18}-1:
  541. if {pvp.punkty.%player%} is smaller than {@klasa.19}:
  542. set player's displayname to "&f({@klasa.19.nazwa}&f)&r %player's displayname%"
  543. if {pvp.punkty.%player%} is larger than {@klasa.19}-1:
  544. set player's displayname to "&f({@klasa.20.nazwa}&f)&r %player's displayname%"
  545. if {@klasa} is true:
  546. if {pvp.punkty.%player%} is smaller than {@klasa.1}:
  547. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  548. if {pvp.punkty.%player%} is larger than {@klasa.1}-1:
  549. if {pvp.punkty.%player%} is smaller than {@klasa.2}:
  550. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  551. if {pvp.punkty.%player%} is larger than {@klasa.2}-1:
  552. if {pvp.punkty.%player%} is smaller than {@klasa.3}:
  553. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  554. if {pvp.punkty.%player%} is larger than {@klasa.3}-1:
  555. if {pvp.punkty.%player%} is smaller than {@klasa.4}:
  556. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  557. if {pvp.punkty.%player%} is larger than {@klasa.4}-1:
  558. if {pvp.punkty.%player%} is smaller than {@klasa.5}:
  559. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  560. if {pvp.punkty.%player%} is larger than {@klasa.5}-1:
  561. if {pvp.punkty.%player%} is smaller than {@klasa.6}:
  562. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  563. if {pvp.punkty.%player%} is larger than {@klasa.6}-1:
  564. if {pvp.punkty.%player%} is smaller than {@klasa.7}:
  565. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  566. if {pvp.punkty.%player%} is larger than {@klasa.7}-1:
  567. if {pvp.punkty.%player%} is smaller than {@klasa.8}:
  568. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  569. if {pvp.punkty.%player%} is larger than {@klasa.8}-1:
  570. if {pvp.punkty.%player%} is smaller than {@klasa.9}:
  571. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  572. if {pvp.punkty.%player%} is larger than {@klasa.9}-1:
  573. if {pvp.punkty.%player%} is smaller than {@klasa.10}:
  574. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  575. if {pvp.punkty.%player%} is larger than {@klasa.10}-1:
  576. if {pvp.punkty.%player%} is smaller than {@klasa.11}:
  577. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  578. if {pvp.punkty.%player%} is larger than {@klasa.11}-1:
  579. if {pvp.punkty.%player%} is smaller than {@klasa.12}:
  580. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  581. if {pvp.punkty.%player%} is larger than {@klasa.12}-1:
  582. if {pvp.punkty.%player%} is smaller than {@klasa.13}:
  583. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  584. if {pvp.punkty.%player%} is larger than {@klasa.13}-1:
  585. if {pvp.punkty.%player%} is smaller than {@klasa.14}:
  586. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  587. if {pvp.punkty.%player%} is larger than {@klasa.14}-1:
  588. if {pvp.punkty.%player%} is smaller than {@klasa.15}:
  589. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  590. if {pvp.punkty.%player%} is larger than {@klasa.15}-1:
  591. if {pvp.punkty.%player%} is smaller than {@klasa.16}:
  592. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  593. if {pvp.punkty.%player%} is larger than {@klasa.16}-1:
  594. if {pvp.punkty.%player%} is smaller than {@klasa.17}:
  595. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  596. if {pvp.punkty.%player%} is larger than {@klasa.17}-1:
  597. if {pvp.punkty.%player%} is smaller than {@klasa.18}:
  598. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  599. if {pvp.punkty.%player%} is larger than {@klasa.18}-1:
  600. if {pvp.punkty.%player%} is smaller than {@klasa.19}:
  601. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  602. if {pvp.punkty.%player%} is larger than {@klasa.19}-1:
  603. set player's displayname to "&f(&c%{pvp.punkty.%player%}%&f)&r %player's displayname%"
  604. #======
  605. #==== KONIEC CZESC CHRONIONA PRAWEM AUTORSKIM
  606. #======
Advertisement
Add Comment
Please, Sign In to add comment