Guest User

VconPL - TariDrop

a guest
Apr 15th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.83 KB | None | 0 0
  1. #|------------------------------------------------|
  2. #| Skrypt napisany przez: VconPL |
  3. #| Gdzie mnie znajdziesz: |
  4. #| YT: https://www.youtube.com/user/poland1901 |
  5. #| Skype: poland1901 |
  6. #| GG: 49023714 |-----|
  7. #| MPC: http://www.mpcforum.pl/user/872083-poland190/ |
  8. #| ZABRANIAM: 1.Zmieniania autora |-----|
  9. #| 2. Zarabiania na pliku |
  10. #| 3. Udostepnianie go |
  11. #| pod swoim nickiem badz innej osoby |
  12. #| ZEZWALAM NA: |
  13. #| 1. Edycje pliku na potrzebe |
  14. #| 2. Wykorzystywanie go w serwerach publicznych |
  15. #| lub prywatnych |
  16. #|------------------------------------------------|
  17. variables:
  18. {lvl.%player%} = 1
  19. {pkt.%player%} = 0
  20. {event.drop} = false # Wkrótce!
  21. {event.exp} = false # Wkrótce!
  22. {event.pkt} = false # Wkrótce!
  23. {cobble.drop} = false
  24. options:
  25. tag:&4[VconPL] #Napis przed tekstem
  26. prefix: &4»&6
  27. pkt: 1 #Ilość pkt za wykopanie.
  28. lvl1: 100 #Pkt za 1 lvl.
  29. lvl2: 200 #Pkt za 2 lvl.
  30. lvl3: 350 #Pkt za 3 lvl.
  31. lvl4: 550 #Pkt za 4 lvl.
  32. lvl5: 800 #Pkt za 5 lvl.
  33. lvl6: 1100 #Pkt za 6 lvl.
  34. lvl7: 1750 #Pkt za 7 lvl.
  35. lvl8: 2100 #Pkt za 8 lvl.
  36. lvl9: 2700 #Pkt za 9 lvl.
  37. lvl10: 3500 #Pkt za 10 lvl.
  38. #konfig. dropu bez fortuny:
  39. diax: 0.9% #Drop diax
  40. zloto: 2.5% #drop złota
  41. zelazo: 2.4% #Drop zelaza
  42. emerald: 1.1% #Drop emeraldu
  43. redstone: 1.3% #Drop redstone
  44. on mine of stone:
  45. chance of {@zelazo}:
  46. drop 1 iron ore
  47. add 2 to {pkt.%player%}
  48. send " &8Znalazles rude zelaza &7+2"
  49. chance of {@zloto}:
  50. drop 1 gold ore
  51. add 4 to {pkt.%player%}
  52. send " &6Znalazles rude zlota &7+4"
  53. chance of {@emerald}:
  54. drop 1 emerald
  55. add 6 to {pkt.%player%}
  56. send " &2Znalazles szmaragd &7+6"
  57. chance of {@diax}%:
  58. drop 1 diamond
  59. add 12 to {pkt.%player%}
  60. send " &bZnalazles diament &7+12"
  61. chance of {@redstone%:
  62. drop 4 redstone
  63. add 8 to {pkt.%player%}
  64. send " &4Znalazles redstone &7+8"
  65. stop
  66. on mine of stone:
  67. if tool of the player is enchanted with fortune:
  68. chance of 2.5%:
  69. drop 1 iron ore
  70. add 3 to {pkt.%player%}
  71. send " &8Znalazles rude zelaza &7+3"
  72. chance of 1.6%:
  73. drop 1 gold ore
  74. add 5 to {pkt.%player%}
  75. send " &6Znalazles rude zlota &7+5"
  76. chance of 1.3%:
  77. drop 1 emerald
  78. add 8 to {pkt.%player%}
  79. send " &2Znalazles szmaragd &7+8"
  80. chance of 1.1%:
  81. drop 1 diamond
  82. add 14 to {pkt.%player%}
  83. send " &bZnalazles diament &7+14"
  84. chance of 1.5%:
  85. drop 4 redstone
  86. add 10 to {pkt.%player%}
  87. send " &4Znalazles redstone &7+10"
  88. on mine of stone:
  89. if tool of the player is enchanted with fortune 2:
  90. chance of 2.7%:
  91. drop 1 iron ore
  92. add to {pkt.%player%}
  93. send " &8Znalazles rude zelaza &7+6"
  94. chance of 1.8%:
  95. drop 1 gold ore
  96. add to {pkt.%player%}
  97. send " &6Znalazles rude zlota &7+6"
  98. chance of 1.5%:
  99. drop 1 emerald
  100. add to {pkt.%player%}
  101. send " &2Znalazles szmaragd &7+8"
  102. chance of 1.3%:
  103. drop 1 diamond
  104. add to {pkt.%player%}
  105. send " &bZnalazles diament &7+18"
  106. chance of 1.7%:
  107. drop 4 redstone
  108. add to {pkt.%player%}
  109. send " &4Znalazles redstone &7+9"
  110. on mine of stone:
  111. if tool of the player is enchanted with fortune 3:
  112. chance of 2.8%:
  113. drop 1 iron ore
  114. add 10 to {pkt.%player%}
  115. send " &8Znalazles rude zelaza &7+10"
  116. chance of 2.0%:
  117. drop 1 gold ore
  118. add 13 to {pkt.%player%}
  119. send " &6Znalazles rude zlota &7+13"
  120. chance of 1.7%:
  121. drop 1 emerald
  122. add 19 to {pkt.%player%}
  123. send " &2Znalazles szmaragd &7+19"
  124. chance of 1.5%:
  125. drop 1 diamond
  126. add 23 to {pkt.%player%}
  127. send " &bZnalazles diament &7+23"
  128. chance of 1.9%:
  129. drop 4 redstone
  130. add 16 to {pkt.%player%}
  131. send " &4Znalazles redstone &7+16"
  132. stop
  133. if {pkt.%player%} is greater than {@lvl2}:
  134. if {lvl.%player%} is less than 2:
  135. set {lvl.%player%} to 2
  136. send "{@tag} {@prefix} Osiagnales &62 &9poziom!"
  137. stop
  138. if {pkt.%player%} is greater than {@lvl3}:
  139. if {lvl.%player%} is less than 3:
  140. set {lvl.%player%} to 3
  141. send "{@tag} {@prefix}&9 Osiagnales &63 &9poziom!"
  142. stop
  143. if {pkt.%player%} is greater than {@lvl4}:
  144. if {lvl.%player%} is less than 4:
  145. set {lvl.%player%} to 4
  146. send "{@tag} {@prefix}&9Osiagnales &64 &9poziom!"
  147. stop
  148. if {pkt.%player%} is equal than {@lvl5}:
  149. if {lvl.%player%} is less than 5:
  150. set {lvl.%player%} to 5
  151. send "{@tag} {@prefix}&9Osiagnales &65 &9poziom!"
  152. stop
  153. if {pkt.%player%} is equal than {@lvl6}:
  154. if {lvl.%player%} is less than 6:
  155. set {lvl.%player%} to 6
  156. send "{@tag} {@prefix}&9Osiagnales &66 &9poziom!"
  157. stop
  158. if {pkt.%player%} is equal than {@lvl7}:
  159. if {lvl.%player%} is less than 7:
  160. set {lvl.%player%} to 7
  161. broadcast "{@tag} {@prefix} &9%player% Osiagnal &67 &9poziom!"
  162. stop
  163. if {pkt.%player%} is equal than {@lvl8}:
  164. if {lvl.%player%} is less than 8:
  165. set {lvl.%player%} to 8
  166. broadcast "{@tag} {@prefix} &9%player% Osiagnal &68 &9poziom!"
  167. stop
  168. if {pkt.%player%} is equal than {@lvl9}:
  169. if {lvl.%player%} is less than 9:
  170. set {lvl.%player%} to 9
  171. broadcast "{@tag} {@prefix} &9%player% Osiagnal &69 &9poziom!"
  172. stop
  173. if {pkt.%player%} is equal than {@lvl10}:
  174. if {lvl.%player%} is less than 10:
  175. set {lvl.%player%} to 10
  176. broadcast "{@tag} {@prefix} &9%player% Osiagnal &610 &9poziom!"
  177. stop
  178. on right click with pickaxe on player:
  179. send "&7Poziom %clicked player%: &e%{lvl.%clicked player%}%"
  180. on chat:
  181. set player's display name to "&7[&6%{lvl.%player%}%&7] &7%player%"
  182. set the player's tablist name to "%name of player%"
  183. command /stone [<text>] [<player>]:
  184. trigger:
  185. if arg 1 is not set:
  186. send " {@tag} {@prefix} Komendy dla dropu:"
  187. send " {@tag} {@prefix} /stone lvl: Pokazuje statystyki w kopaniu"
  188. send " {@tag} {@prefix} /stone cobble: Wylacza drop cobblestone #&4NIEDZIALA"
  189. send " {@tag} {@prefix} /stone pkt: Pokazuje punkty za poziomy"
  190. send " {@tag} {@prefix} /stone resetuj: Resetuje statystyki"
  191. send " {@tag} {@prefix} /stone drop: Aktualny drop ze stone"
  192. send " {@tag} {@prefix} /stone lvl <gracz>: Statystyki kopalniane gracza"
  193. send " {@tag} {@prefix} /stone admin: Komendy administratora"
  194. stop
  195. if arg 1 is "pkt":
  196. send " {@tag} {@prefix} Poziom 1: {@lvl1}"
  197. send " {@tag} {@prefix} Poziom 1: {@lvl2}"
  198. send " {@tag} {@prefix} Poziom 3: {@lvl3}"
  199. send " {@tag} {@prefix} Poziom 4: {@lvl4}"
  200. send " {@tag} {@prefix} Poziom 5: {@lvl5}"
  201. send " {@tag} {@prefix} Poziom 6: {@lvl6}"
  202. send " {@tag} {@prefix} Poziom 7: {@lvl7}"
  203. send " {@tag} {@prefix} Poziom 8: {@lvl8}"
  204. send " {@tag} {@prefix} Poziom 9: {@lvl9}"
  205. send " {@tag} {@prefix} Poziom 10: {@lvl10}"
  206. send " {@tag} {@prefix} Wiecej poziomow w krotce!"
  207. if arg 2 is set:
  208. send " {@tag} {@prefix} Statystyki kopalniane gracza %arg 2%:"
  209. send " {@tag} {@prefix} Poziom: %{lvl.%arg 2%}%"
  210. send " {@tag} {@prefix} Punkty: %{pkt.%arg 2%}%"
  211. if arg 1 is "lvl":
  212. send " {@tag} {@prefix} Punkty: &6%{pkt.%player%}%"
  213. send " {@tag} {@prefix} Poziom: &6%{lvl.%player%}%"
  214. stop
  215. if arg 1 is "resetuj":
  216. set {lvl.%player%} to 1
  217. set {pkt.%player%} to 0
  218. send " {@tag} {@prefix} Zresetowales statystyki!"
  219. stop
  220. if arg 1 is "drop":
  221. send " {@tag} {@prefix} Drop z kamienia"
  222. send " {@tag} {@prefix}&b Diament:&7 0.9"
  223. send " {@tag} {@prefix}&2 Szmaragd:&7 1.1"
  224. send " {@tag} {@prefix}&6 Zloto:&7 1.4"
  225. send " {@tag} {@prefix}&8 Zelazo:&7 2.6"
  226. send " {@tag} {@prefix}&0 Wegiel:&7 3.6"
  227. send " {@tag} {@prefix}&4 Redstone:&7 2.3"
  228. send " {@tag} {@prefix}&1 Lapis:&7 2.4"
  229. send " {@tag} {@prefix}&6 |Zaklecia z fortune|"
  230. send " {@tag} {@prefix} Fortune I: 0.2% do droup"
  231. send " {@tag} {@prefix} Fortune II: 0.4% do dropu"
  232. send " {@tag} {@prefix} Fortune III: 0.6% do dropu"
  233. if arg 1 is "admin":
  234. player has permissions "drop.admin"
  235. send " {@tag} {@prefix} /awansuj <gracz>: awansuje gracza na poziom"
  236. send " {@tag} {@prefix} /resetuj <gracz>: resetuje statystyki gracza"
  237. stop
  238. command /awansuj [<player>]:
  239. trigger:
  240. arg 1 is set:
  241. player has permission "drop.admin":
  242. add 1 to {lvl.%arg 1%}
  243. broadcast "{@tag} {@prefix} %player% awansowal gracza %arg 1%!"
  244. arg 1 is not set:
  245. send "{@tag} {@prefix} Poprawne uzycie: /awansuj <gracz>!"
  246. stop
  247. command /resetuj [<player>]:
  248. trigger:
  249. arg 1 is set:
  250. player has permission "drop.admin":
  251. set {lvl.%arg 1%} to 1
  252. set {pkt.%arg 1%} to 0
  253. broadcast "{@tag} {@prefix} %player% zresetowal statystyki %arg 1%!"
  254. arg 1 is not set:
  255. send "{@tag} {@prefix} Poprawne uzycie: /resetuj <gracz>!"
  256. stop
Advertisement
Add Comment
Please, Sign In to add comment