Guest User

hcDrops - by ChecKxPL

a guest
Nov 29th, 2013
3,288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.24 KB | None | 0 0
  1. # Autor: ChecKxPL
  2. # Wersja: 1.3.3
  3. # Typ: U-PREMIUM
  4.  
  5. variables:
  6. {lvl.%player%} = 1
  7. {pkt.%player%} = 0
  8. {cb.%player%} = true
  9. command /punkty:
  10. aliases: pkt, poziom, lvl
  11. trigger:
  12. send " &7##&6=============&7## &6PUNKTY &7##&6=============&7##"
  13. send " &6» &7Posiadasz: &6%{pkt.%player%}% &7pkt"
  14. send " &6» &7Posiadasz: &6%{lvl.%player%}% &7poziom"
  15. send " &7##&6=============&7## &6PUNKTY &7##&6=============&7##"
  16. stop
  17. command /cobblestone:
  18. trigger:
  19. if {cb.%player%} is true:
  20. set {cb.%player%} to false
  21. send " &6» &7Wylaczyles drop cobblestone!"
  22. stop
  23. if {cb.%player%} is false:
  24. set {cb.%player%} to true
  25. send " &6» &7Wlaczyles drop cobblestone!"
  26. stop
  27. options:
  28. yd: 25
  29. dc: 1.0
  30. ec: 1.3
  31. gc: 1.6
  32. ic: 2.45
  33. epc: 0.1
  34. command /drop [<text>]:
  35. trigger:
  36. if arg 1 is not set:
  37. send " &7##&6=============&7## &6DROP &7##&6=============&7##"
  38. send " &6» Diamenty:"
  39. send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
  40. send " &7+ Od poziomu: &6Y:<25"
  41. send " &7+ Szansa: &6{@dc}%"
  42. send " &6» Emeraldy:"
  43. send " &7+ Wykopac mozesz: &6diamentowym, zelaznym i kamiennym kilofem"
  44. send " &7+ Biom: &6EXTREME_HILLS"
  45. send " &7+ Szansa: &6{@ec}%"
  46. send " &6» Ruda Zlota:"
  47. send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
  48. send " &7+ Szansa: &6{@gc}%"
  49. send " &6» Ruda Zelaza:"
  50. send " &7+ Wykopac mozesz: &6diamentowym, zelaznym i kamiennym kilofem"
  51. send " &7+ Szansa: &6{@ic}%"
  52. send " &6» Perla Endermana:"
  53. send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
  54. send " &7+ Szansa: &6{@epc}%"
  55. send " &7##&6=============&7## &6DROP &7##&6=============&7##"
  56. if arg 1 is "autor":
  57. send " &7##&6=============&7## &6DROP &7##&6=============&7##"
  58. send " &6» &7AUTOR: &6ChecKxPL"
  59. send " &6» &7WERSJA: &6v1.3.3"
  60. send " &7##&6=============&7## &6DROP &7##&6=============&7##"
  61. stop
  62. on mine of diamond ore:
  63. cancel event
  64. set block to air
  65. send " &6» &7Drop z tej rudy jest wylaczony!"
  66. send " &6» &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  67. stop
  68. on mine of emerald ore:
  69. cancel event
  70. set block to air
  71. send " &6» &7Drop z tej rudy jest wylaczony!"
  72. send " &6» &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  73. stop
  74. on mine of gold ore:
  75. cancel event
  76. set block to air
  77. send " &6» &7Drop z tej rudy jest wylaczony!"
  78. send " &6» &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  79. stop
  80. on mine of iron ore:
  81. cancel event
  82. set block to air
  83. send " &6» &7Drop z tej rudy jest wylaczony!"
  84. send " &6» &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
  85. stop
  86. on chat:
  87. set the player's display name to "&7(&6%{lvl.%player%}%&7) &7%display name of player%"
  88. on mine of stone:
  89. cancel event
  90. set block to air
  91. damage player's tool by 1
  92. if {cb.%player%} is true:
  93. drop 1 cobblestone
  94. give 2 xp to the player
  95. if chance of 100%:
  96. if chance of {@epc}%:
  97. if player is holding diamond pickaxe or iron pickaxe:
  98. drop 1 ender pearl
  99. give 25 xp to the player
  100. add 26 to {pkt.%player%}
  101. send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
  102. stop
  103. if chance of {@ic}%:
  104. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  105. drop 1 iron ore
  106. give 2 xp to the player
  107. add 3 to {pkt.%player%}
  108. send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
  109. stop
  110. if chance of {@gc}%:
  111. if player is holding diamond pickaxe or iron pickaxe:
  112. drop 1 gold ore
  113. give 5 xp to the player
  114. add 6 to {pkt.%player%}
  115. send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
  116. stop
  117. if chance of {@ec}%:
  118. if player's biome is extreme hills:
  119. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  120. drop 1 emerald
  121. give 4 xp to the player
  122. add 5 to {pkt.%player%}
  123. send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
  124. stop
  125. if chance of {@dc}%:
  126. if player's y-coordinate is less than {@yd}:
  127. if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
  128. chance of 30%:
  129. drop 2 diamond
  130. give 12 xp to the player
  131. add 13 to {pkt.%player%}
  132. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  133. stop
  134. chance of 20%:
  135. drop 3 diamond
  136. give 17 xp to the player
  137. add 18 to {pkt.%player%}
  138. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  139. stop
  140. chance of 10%:
  141. drop 4 diamond
  142. give 26 xp to the player
  143. add 27 to {pkt.%player%}
  144. send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
  145. stop
  146. else:
  147. drop 1 diamond
  148. give 6 xp to the player
  149. add 7 to {pkt.%player%}
  150. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  151. stop
  152. if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
  153. chance of 30%:
  154. drop 2 diamond
  155. give 12 xp to the player
  156. add 13 to {pkt.%player%}
  157. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  158. stop
  159. chance of 20%:
  160. drop 3 diamond
  161. give 17 xp to the player
  162. add 18 to {pkt.%player%}
  163. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  164. stop
  165. else:
  166. drop 1 diamond
  167. give 6 xp to the player
  168. add 7 to {pkt.%player%}
  169. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  170. stop
  171. if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
  172. chance of 30%:
  173. drop 2 diamond
  174. give 12 xp to the player
  175. add 13 to {pkt.%player%}
  176. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  177. stop
  178. else:
  179. drop 1 diamond
  180. give 6 xp to the player
  181. add 7 to {pkt.%player%}
  182. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  183. stop
  184. if player is holding diamond pickaxe or iron pickaxe:
  185. drop 1 diamond
  186. give 6 xp to the player
  187. add 7 to {pkt.%player%}
  188. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  189. stop
  190. if {cb.%player%} is false:
  191. give 2 xp to the player
  192. if chance of 100%:
  193. if chance of {@epc}%:
  194. if player is holding diamond pickaxe or iron pickaxe:
  195. drop 1 ender pearl
  196. give 25 xp to the player
  197. add 26 to {pkt.%player%}
  198. send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
  199. stop
  200. if chance of {@ic}%:
  201. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  202. drop 1 iron ore
  203. give 2 xp to the player
  204. add 3 to {pkt.%player%}
  205. send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
  206. stop
  207. if chance of {@gc}%:
  208. if player is holding diamond pickaxe or iron pickaxe:
  209. drop 1 gold ore
  210. give 5 xp to the player
  211. add 6 to {pkt.%player%}
  212. send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
  213. stop
  214. if chance of {@ec}%:
  215. if player's biome is extreme hills:
  216. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  217. drop 1 emerald
  218. give 4 xp to the player
  219. add 5 to {pkt.%player%}
  220. send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
  221. stop
  222. if chance of {@dc}%:
  223. if player's y-coordinate is less than {@yd}:
  224. if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
  225. chance of 30%:
  226. drop 2 diamond
  227. give 12 xp to the player
  228. add 13 to {pkt.%player%}
  229. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  230. stop
  231. chance of 20%:
  232. drop 3 diamond
  233. give 17 xp to the player
  234. add 18 to {pkt.%player%}
  235. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  236. stop
  237. chance of 10%:
  238. drop 4 diamond
  239. give 26 xp to the player
  240. add 27 to {pkt.%player%}
  241. send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
  242. stop
  243. else:
  244. drop 1 diamond
  245. give 6 xp to the player
  246. add 7 to {pkt.%player%}
  247. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  248. stop
  249. if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
  250. chance of 30%:
  251. drop 2 diamond
  252. give 12 xp to the player
  253. add 13 to {pkt.%player%}
  254. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  255. stop
  256. chance of 20%:
  257. drop 3 diamond
  258. give 17 xp to the player
  259. add 18 to {pkt.%player%}
  260. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  261. stop
  262. else:
  263. drop 1 diamond
  264. give 6 xp to the player
  265. add 7 to {pkt.%player%}
  266. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  267. stop
  268. if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
  269. chance of 30%:
  270. drop 2 diamond
  271. give 12 xp to the player
  272. add 13 to {pkt.%player%}
  273. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  274. stop
  275. else:
  276. drop 1 diamond
  277. give 6 xp to the player
  278. add 7 to {pkt.%player%}
  279. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  280. stop
  281. if player is holding diamond pickaxe or iron pickaxe:
  282. drop 1 diamond
  283. give 6 xp to the player
  284. add 7 to {pkt.%player%}
  285. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  286. stop
  287. if {pkt.%player%} is larger than 60:
  288. if {lvl.%player%} is less than 2:
  289. set {lvl.%player%} to 2
  290. send " &6» &7Awansowales na: &62 Poziom&7!"
  291. stop
  292. if {pkt.%player%} is larger than 120:
  293. if {lvl.%player%} is less than 3:
  294. set {lvl.%player%} to 3
  295. send " &6» &7Awansowales na: &63 Poziom&7!"
  296. stop
  297. if {pkt.%player%} is larger than 180:
  298. if {lvl.%player%} is less than 4:
  299. set {lvl.%player%} to 4
  300. send " &6» &7Awansowales na: &64 Poziom&7!"
  301. stop
  302. if {pkt.%player%} is larger than 240:
  303. if {lvl.%player%} is less than 5:
  304. set {lvl.%player%} to 5
  305. send " &6» &7Awansowales na: &65 Poziom&7!"
  306. stop
  307. if {pkt.%player%} is larger than 320:
  308. if {lvl.%player%} is less than 6:
  309. set {lvl.%player%} to 6
  310. send " &6» &7Awansowales na: &66 Poziom&7!"
  311. stop
  312. if {pkt.%player%} is larger than 460:
  313. if {lvl.%player%} is less than 7:
  314. set {lvl.%player%} to 7
  315. send " &6» &7Awansowales na: &67 Poziom&7!"
  316. stop
  317. if {pkt.%player%} is larger than 580:
  318. if {lvl.%player%} is less than 8:
  319. set {lvl.%player%} to 8
  320. send " &6» &7Awansowales na: &68 Poziom&7!"
  321. stop
  322. if {pkt.%player%} is larger than 760:
  323. if {lvl.%player%} is less than 9:
  324. set {lvl.%player%} to 9
  325. send " &6» &7Awansowales na: &69 Poziom&7!"
  326. stop
  327. if {pkt.%player%} is larger than 960:
  328. if {lvl.%player%} is less than 10:
  329. set {lvl.%player%} to 10
  330. send " &6» &7Awansowales na: &610 Poziom&7!"
  331. stop
  332. if {pkt.%player%} is larger than 1140:
  333. if {lvl.%player%} is less than 11:
  334. set {lvl.%player%} to 11
  335. send " &6» &7Awansowales na: &611 Poziom&7!"
  336. stop
  337. if {pkt.%player%} is larger than 1320:
  338. if {lvl.%player%} is less than 12:
  339. set {lvl.%player%} to 12
  340. send " &6» &7Awansowales na: &612 Poziom&7!"
  341. stop
  342. if {pkt.%player%} is larger than 1540:
  343. if {lvl.%player%} is less than 13:
  344. set {lvl.%player%} to 13
  345. send " &6» &7Awansowales na: &613 Poziom&7!"
  346. stop
  347. if {pkt.%player%} is larger than 1760:
  348. if {lvl.%player%} is less than 14:
  349. set {lvl.%player%} to 14
  350. send " &6» &7Awansowales na: &614 Poziom&7!"
  351. stop
  352. if {pkt.%player%} is larger than 1980:
  353. if {lvl.%player%} is less than 15:
  354. set {lvl.%player%} to 15
  355. send " &6» &7Awansowales na: &615 Poziom&7!"
  356. broadcast "&7Gracz &6%player% &7awansowal na &615 poziom&7!"
  357. stop
  358. if {pkt.%player%} is larger than 2180:
  359. if {lvl.%player%} is less than 16:
  360. set {lvl.%player%} to 16
  361. send " &6» &7Awansowales na: &616 Poziom&7!"
  362. stop
  363. if {pkt.%player%} is larger than 2300:
  364. if {lvl.%player%} is less than 17:
  365. set {lvl.%player%} to 17
  366. send " &6» &7Awansowales na: &617 Poziom&7!"
  367. stop
  368. if {pkt.%player%} is larger than 2520:
  369. if {lvl.%player%} is less than 18:
  370. set {lvl.%player%} to 18
  371. send " &6» &7Awansowales na: &618 Poziom&7!"
  372. stop
  373. if {pkt.%player%} is larger than 2740:
  374. if {lvl.%player%} is less than 19:
  375. set {lvl.%player%} to 19
  376. send " &6» &7Awansowales na: &619 Poziom&7!"
  377. stop
  378. if {pkt.%player%} is larger than 2960:
  379. if {lvl.%player%} is less than 20:
  380. set {lvl.%player%} to 20
  381. send " &6» &7Awansowales na: &620 Poziom&7!"
  382. stop
  383. if {pkt.%player%} is larger than 3180:
  384. if {lvl.%player%} is less than 21:
  385. set {lvl.%player%} to 21
  386. send " &6» &7Awansowales na: &621 Poziom&7!"
  387. stop
  388. if {pkt.%player%} is larger than 3400:
  389. if {lvl.%player%} is less than 22:
  390. set {lvl.%player%} to 22
  391. send " &6» &7Awansowales na: &622 Poziom&7!"
  392. stop
  393. if {pkt.%player%} is larger than 3620:
  394. if {lvl.%player%} is less than 23:
  395. set {lvl.%player%} to 23
  396. send " &6» &7Awansowales na: &623 Poziom&7!"
  397. stop
  398. if {pkt.%player%} is larger than 3840:
  399. if {lvl.%player%} is less than 24:
  400. set {lvl.%player%} to 24
  401. send " &6» &7Awansowales na: &624 Poziom&7!"
  402. stop
  403. if {pkt.%player%} is larger than 4060:
  404. if {lvl.%player%} is less than 25:
  405. set {lvl.%player%} to 25
  406. send " &6» &7Awansowales na: &625 Poziom&7!"
  407. stop
  408. if {pkt.%player%} is larger than 4280:
  409. if {lvl.%player%} is less than 26:
  410. set {lvl.%player%} to 26
  411. send " &6» &7Awansowales na: &626 Poziom&7!"
  412. stop
  413. if {pkt.%player%} is larger than 4500:
  414. if {lvl.%player%} is less than 27:
  415. set {lvl.%player%} to 27
  416. send " &6» &7Awansowales na: &627 Poziom&7!"
  417. stop
  418. if {pkt.%player%} is larger than 4720:
  419. if {lvl.%player%} is less than 28:
  420. set {lvl.%player%} to 28
  421. send " &6» &7Awansowales na: &628 Poziom&7!"
  422. stop
  423. if {pkt.%player%} is larger than 4940:
  424. if {lvl.%player%} is less than 29:
  425. set {lvl.%player%} to 29
  426. send " &6» &7Awansowales na: &629 Poziom&7!"
  427. stop
  428. if {pkt.%player%} is larger than 5160:
  429. if {lvl.%player%} is less than 30:
  430. set {lvl.%player%} to 30
  431. send " &6» &7Awansowales na: &630 Poziom&7!"
  432. broadcast "&7Gracz &6%player% &7awansowal na &630 poziom&7!"
  433. stop
Advertisement
Add Comment
Please, Sign In to add comment