Guest User

Untitled

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