RekTinio

Untitled

Sep 30th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.83 KB | None | 0 0
  1. variables:
  2. {diamenty.%player%} = 0
  3. {emeraldy.%player%} = 0
  4. {zelazo.%player%} = 0
  5. {zloto.%player%} = 0
  6. {gunpowder.%player%} = 0
  7. {enderpearl.%player%} = 0
  8. {apple.%player%} = 0
  9. {redstone.%player%} = 0
  10. {lapis.%player%} = 0
  11. {wegiel.%player%} = 0
  12. {piasek.%player%} = 0
  13. {monety.%player%} = 0
  14. {wykopanystone.%player%} = 0
  15. {cobblestone.%player%} = true
  16. {cobblestone.%player%} = ON
  17. {drop.%player%.punkty} = 0
  18. {drop.%player%.lvl} = 1
  19.  
  20.  
  21. options:
  22.  
  23. tag: &3&lDrop &4&lZe &3&lStone
  24. czat: &6[&7{LVL}&6] &7{DISPLAY}: &f{MESSAGE}
  25.  
  26. szansa_monety: 30
  27. szansa_diament: 30
  28. szansa_emerald: 50
  29. szansa_zelazo: 100
  30. szansa_zloto: 100
  31. szansa_gunpowder: 90
  32. szansa_apple: 90
  33. szansa_enderpearl: 90
  34. szansa_redstone: 90
  35. szansa_lapis: 90
  36. szansa_wegiel: 90
  37. szansa_piasek: 90
  38. szansa_magicznaskrzynka: 90
  39.  
  40. wysokosc_monety: 25
  41. wysokosc_diament: 25
  42. wysokosc_emerald: 25
  43. wysokosc_zelazo: 65
  44. wysokosc_zloto: 25
  45. wysokosc_gunpowder: 45
  46. wysokosc_apple: 45
  47. wysokosc_enderpearl: 25
  48. wysokosc_redstone: 50
  49. wysokosc_lapis: 50
  50. wysokosc_wegiel: 60
  51. wysokosc_piasek: 60
  52. wysokosc_magicznaskrzynka: 65
  53.  
  54. on break of stone or cobblestone:
  55. if {cobblestone.%player%} is false:
  56. cancel event
  57. set event-block to air
  58.  
  59. on mine of stone:
  60. chance of 100%:
  61. add 1 xp to the player
  62.  
  63. on mine of stone:
  64. chance of {@szansa_magicznaskrzynka}%:
  65. if player's y-coordinate is smaller than {@wysokosc_magicznaskrzynka}:
  66. drop 1 mossy cobblestone named "&2Cobble&7X" with lore "&8Postaw na ziemi!"
  67. send "&aWylecial ci &7&lCobble&f&lX! Gratulacje!"
  68. on mine of stone:
  69. if player's gamemode is survival:
  70. add 1 to {wykopanystone.%player%}
  71.  
  72. chance of {@szansa_diament}%:
  73. if player's y-coordinate is smaller than {@wysokosc_diament}:
  74. drop 1 diamond
  75. add 1 to {diamenty.%player%}
  76. send "&7&lZnalazles: &b&lDiament! &4&l(+3 Pkt)"
  77. add 3 to {drop.%player%.punkty}
  78. chance of {@szansa_monety}%:
  79. if player's y-coordinate is smaller than {@wysokosc_monety}:
  80. drop 1 sunflower named "&c&lMonety"
  81. add 1 to {monety.%player%}
  82. send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
  83. add 3 to {drop.%player%.punkty}
  84. chance of {@szansa_piasek}%:
  85. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  86. drop 1 sand
  87. add 1 to {piasek.%player%}
  88. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  89. add 1 to {drop.%player%.punkty}
  90. chance of {@szansa_emerald}%:
  91. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  92. drop 1 emerald
  93. add 1 to {emeraldy.%player%}
  94. send "&7&lZnalazles: &2&lEmerald! &4&l(+4 Pkt)"
  95. add 4 to {drop.%player%.punkty}
  96.  
  97.  
  98. chance of {@szansa_zelazo}%:
  99. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  100. drop 1 iron ore
  101. add 1 to {zelazo.%player%}
  102. send "&7&lZnalazles: &1&8Zelazo &4&l(+1 Pkt)"
  103. add 1 to {drop.%player%.punkty}
  104.  
  105.  
  106. chance of {@szansa_zloto}%:
  107. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  108. drop 1 gold ore
  109. add 1 to {zloto.%player%}
  110. send "&7&lZnalazles: &6&lZloto &4&l(+2 pkt)"
  111. add 2 to {drop.%player%.punkty}
  112.  
  113.  
  114. chance of {@szansa_gunpowder}%:
  115. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  116. drop 1 gunpowder
  117. add 1 to {gunpowder.%player%}
  118. send "&7&lZnalazles: &9&lProch &4&l(+1 Pkt)"
  119. add 1 to {drop.%player%.punkty}
  120.  
  121.  
  122. chance of {@szansa_enderpearl}%:
  123. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  124. drop 1 ender pearl
  125. add 1 to {enderpearl.%player%}
  126. send "&7&lZnalazles: &1&2Enderperle! &4&l(+4 Pkt)"
  127. add 3 to {drop.%player%.punkty}
  128.  
  129.  
  130. chance of {@szansa_apple}%:
  131. if player's y-coordinate is smaller than {@wysokosc_apple}:
  132. drop 1 apple
  133. add 1 to {apple.%player%}
  134. send "&7&lZnalazles: &4&lJablko! &4&l(+1 Pkt)"
  135. add 1 to {drop.%player%.punkty}
  136.  
  137.  
  138. chance of {@szansa_redstone}%:
  139. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  140. drop a random number between 4 and 1 of redstone
  141. add 1 to {redstone.%player%}
  142. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  143. add 1 to {drop.%player%.punkty}
  144.  
  145.  
  146. chance of {@szansa_lapis}%:
  147. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  148. drop a random number between 4 and 1 of lapis lazuli
  149. add 1 to {lapis.%player%}
  150. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  151. add 1 to {drop.%player%.punkty}
  152.  
  153.  
  154. chance of {@szansa_wegiel}%:
  155. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  156. drop 1 coal
  157. add 1 to {wegiel.%player%}
  158. send "&7&lZnalazles: &0&lWegiel! &4&l(+1 Pkt)"
  159. add 1 to {drop.%player%.punkty}
  160.  
  161.  
  162. if player's tool is a diamond pickaxe of fortune 1:
  163. chance of {@szansa_diament}%:
  164. if player's y-coordinate is smaller than {@wysokosc_diament}:
  165. drop a random number between 3 and 2 of diamond
  166. add 1 to {diamenty.%player%}
  167. send "&7&lZnalazles: &b&lDiamenty! &4&l(+4 Pkt)"
  168. add 4 to {drop.%player%.punkty}
  169. chance of {@szansa_piasek}%:
  170. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  171. drop a random number between 2 and 3 of sand
  172. add 1 to {piasek.%player%}
  173. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  174. add 1 to {drop.%player%.punkty}
  175. chance of {@szansa_monety}%:
  176. if player's y-coordinate is smaller than {@wysokosc_monety}:
  177. drop 1 sunflower named "&c&lMonety"
  178. add 1 to {monety.%player%}
  179. send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
  180. add 3 to {drop.%player%.punkty}
  181.  
  182.  
  183.  
  184. chance of {@szansa_emerald}%:
  185. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  186. drop a random number between 3 and 2 of emerald
  187. add 1 to {emeraldy.%player%}
  188. send "&7&lZnalazles: &2&lEmeraldy! (&4&l+5 Pkt)"
  189. add 5 to {drop.%player%.punkty}
  190.  
  191.  
  192.  
  193. chance of {@szansa_zelazo}%:
  194. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  195. drop a random number between 3 and 2 of iron ore
  196. add 1 to {zelazo.%player%}
  197. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  198. add 2 to {drop.%player%.punkty}
  199.  
  200.  
  201. chance of {@szansa_zloto}%:
  202. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  203. drop a random number between 3 and 2 of emerald
  204. add 1 to {zloto.%player%}
  205. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  206. add 3 to {drop.%player%.punkty}
  207.  
  208.  
  209. chance of {@szansa_gunpowder}%:
  210. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  211. drop a random number between 3 and 2 of gunpowder
  212. add 1 to {gunpowder.%player%}
  213. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  214. add 2 to {drop.%player%.punkty}
  215.  
  216.  
  217. chance of {@szansa_apple}%:
  218. if player's y-coordinate is smaller than {@wysokosc_apple}:
  219. drop a random number between 3 and 2 of apple
  220. add 1 to {apple.%player%}
  221. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  222. add 2 to {drop.%player%.punkty}
  223.  
  224.  
  225. chance of {@szansa_enderpearl}%:
  226. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  227. drop a random number between 3 and 2 of ender pearl
  228. add 1 to {enderpearl.%player%}
  229. send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
  230. add 5 to {drop.%player%.punkty}
  231.  
  232.  
  233. chance of {@szansa_redstone}%:
  234. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  235. drop a random number between 5 and 4 of redstone
  236. add 1 to {redstone.%player%}
  237. send "&7&lZnalazles: &4&lRedstone'a! &4&l(1 Pkt)"
  238. add 1 to {drop.%player%.punkty}
  239.  
  240.  
  241. chance of {@szansa_lapis}%:
  242. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  243. drop a random number between 5 and 4 of lapis lazuli
  244. add 1 to {lapis.%player%}
  245. send "&7&lZnalazles: &1&lLapis! &4&l(1 Pkt)"
  246. add 1 to {drop.%player%.punkty}
  247.  
  248.  
  249. chance of {@szansa_wegiel}%:
  250. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  251. drop a random number between 3 and 2 of coal
  252. add 1 to {wegiel.%player%}
  253. send "&7&lZnalazles: &0&lWegiel! &4&l(1 Pkt)"
  254. add 1 to {drop.%player%.punkty}
  255.  
  256.  
  257. if player's tool is a diamond pickaxe of fortune 2:
  258. chance of {@szansa_diament}%:
  259. if player's y-coordinate is smaller than {@wysokosc_diament}:
  260. drop a random number between 4 and 3 of diamond
  261. add 1 to {diamenty.%player%}
  262. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  263. add 5 to {drop.%player%.punkty}
  264. chance of {@szansa_piasek}%:
  265. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  266. drop a random number between 4 and 3 of sand
  267. add 1 to {piasek.%player%}
  268. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  269. add 1 to {drop.%player%.punkty}
  270. chance of {@szansa_monety}%:
  271. if player's y-coordinate is smaller than {@wysokosc_monety}:
  272. drop 1 sunflower named "&c&lMonety"
  273. add 1 to {monety.%player%}
  274. send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
  275. add 3 to {drop.%player%.punkty}
  276.  
  277.  
  278. chance of {@szansa_emerald}%:
  279. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  280. drop a random number between 4 and 3 of emerald
  281. add 1 to {emeraldy.%player%}
  282. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
  283. add 5 to {drop.%player%.punkty}
  284.  
  285. chance of {@szansa_zelazo}%:
  286. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  287. drop a random number between 4 and 3 of iron ore
  288. add 1 to {zelazo.%player%}
  289. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  290. add 2 to {drop.%player%.punkty}
  291.  
  292.  
  293. chance of {@szansa_zloto}%:
  294. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  295. drop a random number between 4 and 3 of emerald
  296. add 1 to {zloto.%player%}
  297. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  298. add 3 to {drop.%player%.punkty}
  299.  
  300.  
  301. chance of {@szansa_gunpowder}%:
  302. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  303. drop a random number between 4 and 3 of gunpowder
  304. add 1 to {gunpowder.%player%}
  305. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  306. add 2 to {drop.%player%.punkty}
  307.  
  308.  
  309. chance of {@szansa_apple}%:
  310. if player's y-coordinate is smaller than {@wysokosc_apple}:
  311. drop a random number between 4 and 3 of apple
  312. add 1 to {apple.%player%}
  313. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  314. add 2 to {drop.%player%.punkty}
  315.  
  316. chance of {@szansa_enderpearl}%:
  317. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  318. drop a random number between 4 and 3 of ender pearl
  319. add 1 to {enderpearl.%player%}
  320. send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
  321. add 5 to {drop.%player%.punkty}
  322.  
  323.  
  324. chance of {@szansa_redstone}%:
  325. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  326. drop a random number between 6 and 5 of redstone
  327. add 1 to {redstone.%player%}
  328. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
  329. add 2 to {drop.%player%.punkty}
  330.  
  331.  
  332. chance of {@szansa_lapis}%:
  333. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  334. drop a random number between 6 and 5 of lapis lazuli
  335. add 1 to {lapis.%player%}
  336. send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
  337. add 2 to {drop.%player%.punkty}
  338.  
  339.  
  340.  
  341. if player's tool is a diamond pickaxe of fortune 3:
  342. chance of {@szansa_diament}%:
  343. if player's y-coordinate is smaller than {@wysokosc_diament}:
  344. drop a random number between 5 and 4 of diamond
  345. add 1 to {diamenty.%player%}
  346. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  347. add 5 to {drop.%player%.punkty}
  348. chance of {@szansa_monety}%:
  349. if player's y-coordinate is smaller than {@wysokosc_monety}:
  350. drop 1 sunflower named "&c&lMonety"
  351. add 1 to {monety.%player%}
  352. send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
  353. add 3 to {drop.%player%.punkty}
  354.  
  355.  
  356. chance of {@szansa_piasek}%:
  357. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  358. drop a random number between 5 and 4 of sand
  359. add 1 to {piasek.%player%}
  360. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  361. add 1 to {drop.%player%.punkty}
  362.  
  363.  
  364. chance of {@szansa_emerald}%:
  365. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  366. drop a random number between 5 and 4 of emerald
  367. add 1 to {emeraldy.%player%}
  368. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
  369. add 5 to {drop.%player%.punkty}
  370.  
  371.  
  372. chance of {@szansa_zelazo}%:
  373. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  374. drop a random number between 5 and 4 of iron ore
  375. add 1 to {zelazo.%player%}
  376. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  377. add 2 to {drop.%player%.punkty}
  378.  
  379.  
  380. chance of {@szansa_zloto}%:
  381. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  382. drop a random number between 5 and 4 of emerald
  383. add 1 to {zloto.%player%}
  384. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  385. add 3 to {drop.%player%.punkty}
  386.  
  387.  
  388. chance of {@szansa_gunpowder}%:
  389. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  390. drop a random number between 5 and 4 of gunpowder
  391. add 1 to {gunpowder.%player%}
  392. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  393. add 2 to {drop.%player%.punkty}
  394.  
  395.  
  396. chance of {@szansa_apple}%:
  397. if player's y-coordinate is smaller than {@wysokosc_apple}:
  398. drop a random number between 5 and 4 of apple
  399. add 1 to {apple.%player%}
  400. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  401. add 2 to {drop.%player%.punkty}
  402.  
  403. chance of {@szansa_enderpearl}%:
  404. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  405. drop a random number between 5 and 4 of ender pearl
  406. add 1 to {enderpearl.%player%}
  407. send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
  408. add 5 to {drop.%player%.punkty}
  409.  
  410. chance of {@szansa_redstone}%:
  411. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  412. drop a random number between 6 and 5 of redstone
  413. add 1 to {redstone.%player%}
  414. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
  415. add 2 to {drop.%player%.punkty}
  416.  
  417.  
  418. chance of {@szansa_lapis}%:
  419. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  420. drop a random number between 6 and 5 of lapis lazuli
  421. add 1 to {lapis.%player%}
  422. send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
  423. add 2 to {drop.%player%.punkty}
  424.  
  425.  
  426. chance of {@szansa_wegiel}%:
  427. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  428. drop a random number between 5 and 4 of coal
  429. add 1 to {wegiel.%player%}
  430. send "&7&lZnalazles: &0&lWegiel! &4&l(+2 Pkt)"
  431. add 2 to {drop.%player%.punkty}
  432. if {drop.%player%.lvl} is 1:
  433. If {drop.%player%.punkty} is larger than 50:
  434. set {drop.%player%.lvl} to 2
  435. drop 35 xp
  436. execute console command "/playsound random.levelup %player%"
  437. execute console command "/playsound random.levelup %player%"
  438. execute console command "/playsound random.levelup %player%"
  439. send "&6Awansowales na &22 &6poziom kopania!"
  440. set {drop.%player%.punkty} to 0
  441. if {drop.%player%.lvl} is 2:
  442. If {drop.%player%.punkty} is larger than 200:
  443. send "&6Awansowales na &23 &6poziom kopania!"
  444. drop 45 xp
  445. execute console command "/playsound random.levelup %player%"
  446. execute console command "/playsound random.levelup %player%"
  447. execute console command "/playsound random.levelup %player%"
  448. set {drop.%player%.lvl} to 3
  449. set {drop.%player%.punkty} to 0
  450. if {drop.%player%.lvl} is 3:
  451. If {drop.%player%.punkty} is larger than 400:
  452. send "&6Awansowales na &24 &6poziom kopania!"
  453. drop 45 xp
  454. execute console command "/playsound random.levelup %player%"
  455. execute console command "/playsound random.levelup %player%"
  456. execute console command "/playsound random.levelup %player%"
  457. set {drop.%player%.lvl} to 4
  458. set {drop.%player%.punkty} to 0
  459. if {drop.%player%.lvl} is 4:
  460. If {drop.%player%.punkty} is larger than 600:
  461. send "&6Awansowales na &25 &6poziom kopania!"
  462. drop 45 xp
  463. execute console command "/playsound random.levelup %player%"
  464. execute console command "/playsound random.levelup %player%"
  465. execute console command "/playsound random.levelup %player%"
  466. set {drop.%player%.lvl} to 5
  467. set {drop.%player%.punkty} to 0
  468. if {drop.%player%.lvl} is 5:
  469. If {drop.%player%.punkty} is larger than 700:
  470. send "&6Awansowales na &26 &6poziom kopania!"
  471. drop 45 xp
  472. execute console command "/playsound random.levelup %player%"
  473. execute console command "/playsound random.levelup %player%"
  474. execute console command "/playsound random.levelup %player%"
  475. set {drop.%player%.lvl} to 6
  476. set {drop.%player%.punkty} to 0
  477. if {drop.%player%.lvl} is 6:
  478. If {drop.%player%.punkty} is larger than 900:
  479. send "&6Awansowales na &27 &6poziom kopania!"
  480. drop 45 xp
  481. execute console command "/playsound random.levelup %player%"
  482. execute console command "/playsound random.levelup %player%"
  483. execute console command "/playsound random.levelup %player%"
  484. set {drop.%player%.lvl} to 7
  485. if {drop.%player%.lvl} is 7:
  486. If {drop.%player%.punkty} is larger than 1100:
  487. send "&6Awansowales na &28 &6poziom kopania!"
  488. drop 45 xp
  489. execute console command "/playsound random.levelup %player%"
  490. execute console command "/playsound random.levelup %player%"
  491. execute console command "/playsound random.levelup %player%"
  492. set {drop.%player%.lvl} to 8
  493. set {drop.%player%.punkty} to 0
  494. if {drop.%player%.lvl} is 8:
  495. If {drop.%player%.punkty} is larger than 1300:
  496. send "&6Awansowales na &29 &6poziom kopania!"
  497. drop 45 xp
  498. execute console command "/playsound random.levelup %player%"
  499. execute console command "/playsound random.levelup %player%"
  500. execute console command "/playsound random.levelup %player%"
  501. set {drop.%player%.lvl} to 9
  502. set {drop.%player%.punkty} to 0
  503. if {drop.%player%.lvl} is 9:
  504. If {drop.%player%.punkty} is larger than 1500:
  505. send "&6Awansowales na &210 &6poziom kopania!"
  506. drop 45 xp
  507. execute console command "/playsound random.levelup %player%"
  508. execute console command "/playsound random.levelup %player%"
  509. execute console command "/playsound random.levelup %player%"
  510. set {drop.%player%.lvl} to 10
  511. set {drop.%player%.punkty} to 0
  512. if {drop.%player%.lvl} is 10:
  513. If {drop.%player%.punkty} is larger than 1700:
  514. send "&6Awansowales na &211 &6poziom kopania!"
  515. drop 45 xp
  516. execute console command "/playsound random.levelup %player%"
  517. execute console command "/playsound random.levelup %player%"
  518. execute console command "/playsound random.levelup %player%"
  519. set {drop.%player%.lvl} to 11
  520. set {drop.%player%.punkty} to 0
  521. if {drop.%player%.lvl} is 11:
  522. If {drop.%player%.punkty} is larger than 1900:
  523. send "&6Awansowales na &212 &6poziom kopania!"
  524. drop 45 xp
  525. execute console command "/playsound random.levelup %player%"
  526. execute console command "/playsound random.levelup %player%"
  527. execute console command "/playsound random.levelup %player%"
  528. set {drop.%player%.lvl} to 12
  529. set {drop.%player%.punkty} to 0
  530. if {drop.%player%.lvl} is 12:
  531. If {drop.%player%.punkty} is larger than 2100:
  532. send "&6Awansowales na &213 &6poziom kopania!"
  533. drop 45 xp
  534. execute console command "/playsound random.levelup %player%"
  535. execute console command "/playsound random.levelup %player%"
  536. execute console command "/playsound random.levelup %player%"
  537. set {drop.%player%.lvl} to 13
  538. set {drop.%player%.punkty} to 0
  539. if {drop.%player%.lvl} is 13:
  540. If {drop.%player%.punkty} is larger than 2300:
  541. send "&6Awansowales na &214 &6poziom kopania!"
  542. drop 45 xp
  543. execute console command "/playsound random.levelup %player%"
  544. execute console command "/playsound random.levelup %player%"
  545. execute console command "/playsound random.levelup %player%"
  546. set {drop.%player%.lvl} to 14
  547. set {drop.%player%.punkty} to 0
  548. if {drop.%player%.lvl} is 14:
  549. If {drop.%player%.punkty} is larger than 2500:
  550. send "&6Awansowales na &215 &6poziom kopania!"
  551. drop 45 xp
  552. execute console command "/playsound random.levelup %player%"
  553. execute console command "/playsound random.levelup %player%"
  554. execute console command "/playsound random.levelup %player%"
  555. set {drop.%player%.lvl} to 15
  556. set {drop.%player%.punkty} to 0
  557. command /lvlreset [<text>]:
  558. permission: pstone.admin
  559. permission message: &4&lNie masz permisji do uzywania tej komendy!
  560. trigger:
  561. if arg 1 is player:
  562. set {drop.%player%.lvl} to 1
  563. set {drop.%player%.punkty} to 0
  564. send "&4&lLvl Gracza %arg 1% Został Zmieniony na 1!"
  565. if arg 1 is not set:
  566. send "&4&lWpisz Nick Gracza Któremu chcesz zmienić lvl!"
  567.  
  568. on mine of any ore:
  569. cancel event
  570. drop 1 cobblestone
  571. set block to air
  572. send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
  573.  
  574. on mine of emerald ore:
  575. cancel event
  576. drop 1 cobblestone
  577. set block to air
  578. send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
  579. command /cobble:
  580. trigger:
  581. if {cobblestone.%player%} is true:
  582. set {cobblestonee.%player%} to "&c&lOFF"
  583. set {cobblestone.%player%} to false
  584. send "&eDrop cobblestone z drop: &c&l %{cobblestonee.%player%}%!"
  585. else if {cobblestone.%player%} is false:
  586. set {cobblestone.%player%} to true
  587. set {cobblestonee.%player%} to "&a&lON"
  588. send "&eDrop cobblestone z drop: &c&l %{cobblestonee.%player%}%!"
  589. command /punkty:
  590. aliases: pkt, points
  591. trigger:
  592. if {drop.%player%.lvl} is 1:
  593. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&250&7, Aktualnie posiadasz &21 POZIOM&7."
  594. if {drop.%player%.lvl} is 2:
  595. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2200&7, posiadasz &22 POZIOM&7."
  596. if {drop.%player%.lvl} is 3:
  597. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2400&7, posiadasz &23 POZIOM&7."
  598. if {drop.%player%.lvl} is 4:
  599. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2600&7, posiadasz &24 POZIOM&7."
  600. if {drop.%player%.lvl} is 5:
  601. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2700&7, posiadasz &25 POZIOM&7."
  602. if {drop.%player%.lvl} is 6:
  603. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2900&7, posiadasz &26 POZIOM&7."
  604. if {drop.%player%.lvl} is 7:
  605. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21100&7, posiadasz &27 POZIOM&7."
  606. if {drop.%player%.lvl} is 8:
  607. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21300&7, posiadasz &28 POZIOM&7."
  608. if {drop.%player%.lvl} is 9:
  609. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21500&7, posiadasz &29 POZIOM&7."
  610. if {drop.%player%.lvl} is 10:
  611. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21700&7, posiadasz &210 POZIOM&7."
  612. if {drop.%player%.lvl} is 11:
  613. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21900&7, posiadasz &211 POZIOM&7."
  614. if {drop.%player%.lvl} is 12:
  615. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22100&7, posiadasz &212 POZIOM&7."
  616. if {drop.%player%.lvl} is 13:
  617. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22300&7, posiadasz &213 POZIOM&7."
  618. if {drop.%player%.lvl} is 14:
  619. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22500&7, posiadasz &214 POZIOM&7."
  620. if {drop.%player%.lvl} is 15:
  621. send "&7Twoja ilosc punktow to: &2MAX&7/&2MAX&7, posiadasz MAXYMALNY &215 POZIOM&7."
  622. else:
  623. stop
  624. on chat:
  625. set {_chat} to "{@czat}"
  626. replace all "{LVL}" with "%{drop.%player%.lvl}%" in {_chat}
  627. replace all "{PLAYER}" with "%player%" in {_chat}
  628. replace all "{DISPLAY}" with "%display name of player%" in {_chat}
  629. replace all "{MESSAGE}" with "%message%" in {_chat}
  630. send "%{_chat}%" to all players
  631. cancel event
  632. command /stone:
  633. aliases: kamien, drop
  634. trigger:
  635. if player has permission "pstone.gracz":
  636. open chest with 5 rows named "&f&lRekt&9&lStone" to player
  637. wait 1 tick
  638. format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Szansa:&7 {@szansa_diament}%%||&4» &6Poziom:&7 {@wysokosc_diament}" to be unstealable
  639. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Szansa:&7 {@szansa_emerald}%%||&4» &6Poziom:&7 {@wysokosc_emerald}" to be unstealable
  640. format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Szansa:&7 {@szansa_enderpearl}%%||&4» &6Poziom:&7 {@wysokosc_enderpearl}" to be unstealable
  641. format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Szansa:&7 {@szansa_zloto}%%||&4» &6Poziom:&7 {@wysokosc_zloto}" to be unstealable
  642. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Szansa:&7 {@szansa_zelazo}%%||&4» &6Poziom:&7 {@wysokosc_zelazo}" to be unstealable
  643. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Szansa:&7 {@szansa_wegiel}%%||&4» &6Poziom:&7 {@wysokosc_wegiel}" to be unstealable
  644. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Szansa:&7 {@szansa_redstone}%%||&4» &6Poziom:&7 {@wysokosc_redstone}" to be unstealable
  645. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Szansa:&7 {@szansa_lapis}%%||&4» &6Poziom:&7 {@wysokosc_lapis}" to be unstealable
  646. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Szansa:&7 {@szansa_apple}%%||&4» &6Poziom:&7 {@wysokosc_apple}" to be unstealable
  647. format slot 9 of player with 1 of gunpowder named "&7Gunpowder" with lore "&4» &6Szansa:&7 {@szansa_gunpowder}%%||&4» &6Poziom:&7 {@wysokosc_gunpowder}" to be unstealable
  648. format slot 10 of player with 1 of sand named "&ePiasek" with lore "&4» &6Szansa:&7 {@szansa_piasek}%%||&4» &6Poziom:&7 {@wysokosc_piasek}" to be unstealable
  649. format slot 11 of player with 1 of mossy cobblestone named "&7&lCobble&f&lX" with lore "&4» &6Szansa:&7 {@szansa_magicznaskrzynka}%%||&4» &6Poziom:&7 {@wysokosc_magicznaskrzynka}" to be unstealable
  650. format slot 12 of player with 1 of sunflower named "&cMonety" with lore "&4» &6Szansa:&7 {@szansa_monety}%%||&4» &6Poziom:&7 {@wysokosc_monety}" to be unstealable
  651. format slot 43 of player with 1 of stone named "&eDrop z cobblestone: %{cobblestonee.%player%}%" to close then run [make player execute command "/cobble"]
  652. format slot 44 of player with 1 of red wool named "&4&lZamknij" with lore "&cNacisnij LPM aby zamknac" to close
  653. command /statystyki:
  654. aliases: staty, stats
  655. trigger:
  656. if player has permission "pstone.gracz":
  657. open chest with 2 rows named "Statystyki %player%" to player
  658. wait 1 tick
  659. format slot 3 of player with 1 of diamond named "&bDiamenty" with lore "&&4» &6Wykopane Diamenty:&7 %{diamenty.%arg 1%}%" to be unstealable
  660. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Wykopane Szmaragdy:&7 %{emeraldy.%arg 1%}%" to be unstealable
  661. format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Wykopane Perelki:&7 %{enderpearl.%arg 1%}%" to be unstealable format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Wykopane Zloto:&7 %{zloto.%arg 1%}%" to be unstealable
  662. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Wykopane Zelazo:&7 %{zelazo.%arg 1%}%" to be unstealable
  663. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Wykopany Wegiel:&7 %{wegiel.%arg 1%}%" to be unstealable
  664. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Wykopany RedStone:&7 %{redstone.%arg 1%}%" to be unstealable
  665. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Wykopany Lapis :&7 %{lapis.%arg 1%}%" to be unstealable
  666. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Wykopane Jablka:&7 %{apple.%arg 1%}%" to be unstealable
  667. format slot 9 of player with 1 of gunpowder named "&7Stone" with lore "&4» &6Wykopany Proch:&7 %{gunpowder.%arg 1%}%" to be unstealable
  668. format slot 10 of player with 1 of sand named "&6Sand" with lore "&4» &6Wykopany Piasek:&7 %{piasek.%arg 1%}%" to be unstealable
  669. format slot 10 of player with 1 of sunflower named "&cMonety" with lore "&6» &6Wykopane Monety:&7 %{monety.%arg 1%}%" to be unstealable
  670. format slot 12 of player with 1 of stone named "&7Stone" with lore "&4» &6Wykopany Stone:&7 %{wykopanystone.%arg 1%}%" to be unstealable
  671. else:
  672. stop
Advertisement
Add Comment
Please, Sign In to add comment