DJ_CITROX

Untitled

Aug 27th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.60 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 chance of 0.3%:
  191. if player is holding diamond pickaxe or iron pickaxe:
  192. drop 1 Redstone
  193. give 5 xp to the player
  194. add 6 to {pkt.%player%}
  195. send " &6» &7Trafiles na: &6Redstone'a &7(&6+6 pkt&7)"
  196. stop
  197. if chance of 1%:
  198. if player is holding diamond pickaxe or iron pickaxe:
  199. drop 1 263
  200. give 5 xp to the player
  201. add 6 to {pkt.%player%}
  202. send " &6» &7Trafiles na: &6Wegiel &7(&6+6 pkt&7)"
  203. stop
  204. if chance of 2%:
  205. if player is holding diamond pickaxe or iron pickaxe:
  206. drop 1 Golden Apple
  207. give 5 xp to the player
  208. add 6 to {pkt.%player%}
  209. send " &6» &7Trafiles na: &6Zlote Jablko &7(&6+6 pkt&7)"
  210. stop
  211. if chance of 0.5%:
  212. if player is holding diamond pickaxe or iron pickaxe:
  213. drop 1 TnT
  214. give 5 xp to the player
  215. add 6 to {pkt.%player%}
  216. send " &6» &7Trafiles na: &6TnT &7(&6+6 pkt&7)"
  217. stop
  218. if chance of 1%:
  219. if player is holding diamond pickaxe or iron pickaxe:
  220. drop 1 351:4
  221. give 5 xp to the player
  222. add 6 to {pkt.%player%}
  223. send " &6» &7Trafiles na: &6Zlote Jablko &7(&6+6 pkt&7)"
  224. stop
  225. if chance of 3%:
  226. if player is holding diamond pickaxe or iron pickaxe:
  227. drop 1 384
  228. give 5 xp to the player
  229. add 6 to {pkt.%player%}
  230. send " &6» &7Trafiles na: &6Zlote Jablko &7(&6+6 pkt&7)"
  231. stop
  232. if {cb.%player%} is false:
  233. give 2 xp to the player
  234. if chance of 100%:
  235. if chance of {@epc}%:
  236. if player is holding diamond pickaxe or iron pickaxe:
  237. drop 1 ender pearl
  238. give 25 xp to the player
  239. add 26 to {pkt.%player%}
  240. send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
  241. stop
  242. if chance of {@ic}%:
  243. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  244. drop 1 iron ore
  245. give 2 xp to the player
  246. add 3 to {pkt.%player%}
  247. send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
  248. stop
  249. if chance of {@gc}%:
  250. if player is holding diamond pickaxe or iron pickaxe:
  251. drop 1 gold ore
  252. give 5 xp to the player
  253. add 6 to {pkt.%player%}
  254. send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
  255. stop
  256. if chance of {@ec}%:
  257. if player's biome is extreme hills:
  258. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  259. drop 1 emerald
  260. give 4 xp to the player
  261. add 5 to {pkt.%player%}
  262. send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
  263. stop
  264. if chance of {@dc}%:
  265. if player's y-coordinate is less than {@yd}:
  266. if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
  267. chance of 30%:
  268. drop 2 diamond
  269. give 12 xp to the player
  270. add 13 to {pkt.%player%}
  271. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  272. stop
  273. chance of 20%:
  274. drop 3 diamond
  275. give 17 xp to the player
  276. add 18 to {pkt.%player%}
  277. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  278. stop
  279. chance of 10%:
  280. drop 4 diamond
  281. give 26 xp to the player
  282. add 27 to {pkt.%player%}
  283. send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
  284. stop
  285. else:
  286. drop 1 diamond
  287. give 6 xp to the player
  288. add 7 to {pkt.%player%}
  289. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  290. stop
  291. if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
  292. chance of 30%:
  293. drop 2 diamond
  294. give 12 xp to the player
  295. add 13 to {pkt.%player%}
  296. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  297. stop
  298. chance of 20%:
  299. drop 3 diamond
  300. give 17 xp to the player
  301. add 18 to {pkt.%player%}
  302. send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
  303. stop
  304. else:
  305. drop 1 diamond
  306. give 6 xp to the player
  307. add 7 to {pkt.%player%}
  308. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  309. stop
  310. if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
  311. chance of 30%:
  312. drop 2 diamond
  313. give 12 xp to the player
  314. add 13 to {pkt.%player%}
  315. send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
  316. stop
  317. else:
  318. drop 1 diamond
  319. give 6 xp to the player
  320. add 7 to {pkt.%player%}
  321. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  322. stop
  323. if player is holding diamond pickaxe or iron pickaxe:
  324. drop 1 diamond
  325. give 6 xp to the player
  326. add 7 to {pkt.%player%}
  327. send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
  328. stop
  329. if {pkt.%player%} is larger than 60:
  330. if {lvl.%player%} is less than 2:
  331. set {lvl.%player%} to 2
  332. send " &6» &7Awansowales na: &62 Poziom&7!"
  333. stop
  334. if {pkt.%player%} is larger than 120:
  335. if {lvl.%player%} is less than 3:
  336. set {lvl.%player%} to 3
  337. send " &6» &7Awansowales na: &63 Poziom&7!"
  338. stop
  339. if {pkt.%player%} is larger than 180:
  340. if {lvl.%player%} is less than 4:
  341. set {lvl.%player%} to 4
  342. send " &6» &7Awansowales na: &64 Poziom&7!"
  343. stop
  344. if {pkt.%player%} is larger than 240:
  345. if {lvl.%player%} is less than 5:
  346. set {lvl.%player%} to 5
  347. send " &6» &7Awansowales na: &65 Poziom&7!"
  348. stop
  349. if {pkt.%player%} is larger than 320:
  350. if {lvl.%player%} is less than 6:
  351. set {lvl.%player%} to 6
  352. send " &6» &7Awansowales na: &66 Poziom&7!"
  353. stop
  354. if {pkt.%player%} is larger than 460:
  355. if {lvl.%player%} is less than 7:
  356. set {lvl.%player%} to 7
  357. send " &6» &7Awansowales na: &67 Poziom&7!"
  358. stop
  359. if {pkt.%player%} is larger than 580:
  360. if {lvl.%player%} is less than 8:
  361. set {lvl.%player%} to 8
  362. send " &6» &7Awansowales na: &68 Poziom&7!"
  363. stop
  364. if {pkt.%player%} is larger than 760:
  365. if {lvl.%player%} is less than 9:
  366. set {lvl.%player%} to 9
  367. send " &6» &7Awansowales na: &69 Poziom&7!"
  368. stop
  369. if {pkt.%player%} is larger than 960:
  370. if {lvl.%player%} is less than 10:
  371. set {lvl.%player%} to 10
  372. send " &6» &7Awansowales na: &610 Poziom&7!"
  373. stop
  374. if {pkt.%player%} is larger than 1140:
  375. if {lvl.%player%} is less than 11:
  376. set {lvl.%player%} to 11
  377. send " &6» &7Awansowales na: &611 Poziom&7!"
  378. stop
  379. if {pkt.%player%} is larger than 1320:
  380. if {lvl.%player%} is less than 12:
  381. set {lvl.%player%} to 12
  382. send " &6» &7Awansowales na: &612 Poziom&7!"
  383. stop
  384. if {pkt.%player%} is larger than 1540:
  385. if {lvl.%player%} is less than 13:
  386. set {lvl.%player%} to 13
  387. send " &6» &7Awansowales na: &613 Poziom&7!"
  388. stop
  389. if {pkt.%player%} is larger than 1760:
  390. if {lvl.%player%} is less than 14:
  391. set {lvl.%player%} to 14
  392. send " &6» &7Awansowales na: &614 Poziom&7!"
  393. stop
  394. if {pkt.%player%} is larger than 1980:
  395. if {lvl.%player%} is less than 15:
  396. set {lvl.%player%} to 15
  397. send " &6» &7Awansowales na: &615 Poziom&7!"
  398. broadcast "&7Gracz &6%player% &7awansowal na &615 poziom&7!"
  399. stop
  400. if {pkt.%player%} is larger than 2180:
  401. if {lvl.%player%} is less than 16:
  402. set {lvl.%player%} to 16
  403. send " &6» &7Awansowales na: &616 Poziom&7!"
  404. stop
  405. if {pkt.%player%} is larger than 2300:
  406. if {lvl.%player%} is less than 17:
  407. set {lvl.%player%} to 17
  408. send " &6» &7Awansowales na: &617 Poziom&7!"
  409. stop
  410. if {pkt.%player%} is larger than 2520:
  411. if {lvl.%player%} is less than 18:
  412. set {lvl.%player%} to 18
  413. send " &6» &7Awansowales na: &618 Poziom&7!"
  414. stop
  415. if {pkt.%player%} is larger than 2740:
  416. if {lvl.%player%} is less than 19:
  417. set {lvl.%player%} to 19
  418. send " &6» &7Awansowales na: &619 Poziom&7!"
  419. stop
  420. if {pkt.%player%} is larger than 2960:
  421. if {lvl.%player%} is less than 20:
  422. set {lvl.%player%} to 20
  423. send " &6» &7Awansowales na: &620 Poziom&7!"
  424. stop
  425. if {pkt.%player%} is larger than 3180:
  426. if {lvl.%player%} is less than 21:
  427. set {lvl.%player%} to 21
  428. send " &6» &7Awansowales na: &621 Poziom&7!"
  429. stop
  430. if {pkt.%player%} is larger than 3400:
  431. if {lvl.%player%} is less than 22:
  432. set {lvl.%player%} to 22
  433. send " &6» &7Awansowales na: &622 Poziom&7!"
  434. stop
  435. if {pkt.%player%} is larger than 3620:
  436. if {lvl.%player%} is less than 23:
  437. set {lvl.%player%} to 23
  438. send " &6» &7Awansowales na: &623 Poziom&7!"
  439. stop
  440. if {pkt.%player%} is larger than 3840:
  441. if {lvl.%player%} is less than 24:
  442. set {lvl.%player%} to 24
  443. send " &6» &7Awansowales na: &624 Poziom&7!"
  444. stop
  445. if {pkt.%player%} is larger than 4060:
  446. if {lvl.%player%} is less than 25:
  447. set {lvl.%player%} to 25
  448. send " &6» &7Awansowales na: &625 Poziom&7!"
  449. stop
  450. if {pkt.%player%} is larger than 4280:
  451. if {lvl.%player%} is less than 26:
  452. set {lvl.%player%} to 26
  453. send " &6» &7Awansowales na: &626 Poziom&7!"
  454. stop
  455. if {pkt.%player%} is larger than 4500:
  456. if {lvl.%player%} is less than 27:
  457. set {lvl.%player%} to 27
  458. send " &6» &7Awansowales na: &627 Poziom&7!"
  459. stop
  460. if {pkt.%player%} is larger than 4720:
  461. if {lvl.%player%} is less than 28:
  462. set {lvl.%player%} to 28
  463. send " &6» &7Awansowales na: &628 Poziom&7!"
  464. stop
  465. if {pkt.%player%} is larger than 4940:
  466. if {lvl.%player%} is less than 29:
  467. set {lvl.%player%} to 29
  468. send " &6» &7Awansowales na: &629 Poziom&7!"
  469. stop
  470. if {pkt.%player%} is larger than 5160:
  471. if {lvl.%player%} is less than 30:
  472. set {lvl.%player%} to 30
  473. send " &6» &7Awansowales na: &630 Poziom&7!"
  474. broadcast "&7Gracz &6%player% &7awansowal na &630 poziom&7!"
  475. stop
Advertisement
Add Comment
Please, Sign In to add comment