Guest User

Drop ze Stona

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