Guest User

Drop [NuseGame]

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