Guest User

pStone v5.0.sk

a guest
Aug 4th, 2015
4,267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.74 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. {wykopanystone.%player%} = 0
  14. {cobblestone.%player%} = true
  15. {drop.%player%.punkty} = 0
  16. {drop.%player%.lvl} = 1
  17.  
  18.  
  19. options:
  20.  
  21. tag: &3&lDrop &4&lZe &3&lStone
  22. czat: &6[&7{LVL}&6] &7{DISPLAY}-> &f{MESSAGE}
  23.  
  24.  
  25. szansa_diament: 3
  26. szansa_emerald: 0.50
  27. szansa_zelazo: 1.50
  28. szansa_zloto: 0.25
  29. szansa_gunpowder: 0.90
  30. szansa_apple: 0.75
  31. szansa_enderpearl: 0.50
  32. szansa_redstone: 1.25
  33. szansa_lapis: 1.00
  34. szansa_wegiel: 1.00
  35. szansa_piasek: 1.50
  36. szansa_magicznaskrzynka: 0.001
  37.  
  38. szansa_diamentvip: 0.75
  39. szansa_emeraldvip: 0.50
  40. szansa_zelazovip: 1.50
  41. szansa_zlotovip: 0.25
  42. szansa_gunpowdervip: 2.50
  43. szansa_applevip: 0.75
  44. szansa_enderpearlvip: 0.50
  45. szansa_redstonevip: 1.25
  46. szansa_lapisvip: 1.25
  47. szansa_wegielvip: 1.50
  48. szansa_piasekvip: 2.50
  49. szansa_magicznaskrzynkavip: 0.001
  50.  
  51. wysokosc_diament: 25
  52. wysokosc_emerald: 25
  53. wysokosc_zelazo: 65
  54. wysokosc_zloto: 25
  55. wysokosc_gunpowder: 45
  56. wysokosc_apple: 45
  57. wysokosc_enderpearl: 25
  58. wysokosc_redstone: 50
  59. wysokosc_lapis: 50
  60. wysokosc_wegiel: 60
  61. wysokosc_piasek: 60
  62. wysokosc_magicznaskrzynka: 65
  63.  
  64. on break of stone or cobblestone:
  65. if {cobblestone.%player%} is false:
  66. cancel event
  67. set event-block to air
  68.  
  69. on mine of stone:
  70. chance of 100%:
  71. add 1 xp to the player
  72.  
  73. on mine of stone:
  74. chance of {@szansa_magicznaskrzynka}%:
  75. if player's y-coordinate is smaller than {@wysokosc_magicznaskrzynka}:
  76. drop 1 chest named "&3&lMagiczna Skrzynka"
  77. send "&a&lUdalo ci sie wykopac magiczna skrzynke! Gratulacje!"
  78. broadcast "&4&lGraczowi %player% udalo sie wykopac &3&lMAGICZNA SKRZYNKE!"
  79.  
  80. on place of chest:
  81. if name of the player's tool is "&3&lMagiczna Skrzynka":
  82. send "&7Postawiles: &3&lMagiczna skrzynke"
  83. wait 2 seconds
  84. drop 322 or 322:2 or enderpearl or stone or dirt or apple or diamond
  85. set block to air
  86.  
  87.  
  88.  
  89.  
  90. on mine of stone:
  91. if player's gamemode is survival:
  92. add 1 to {wykopanystone.%player%}
  93.  
  94. chance of {@szansa_diament}%:
  95. if player's y-coordinate is smaller than {@wysokosc_diament}:
  96. drop 1 diamond
  97. add 1 to {diamenty.%player%}
  98. send "&7&lZnalazles: &b&lDiament! &4&l(+3 Pkt)"
  99. add 3 to {drop.%player%.punkty}
  100.  
  101.  
  102. chance of {@szansa_emerald}%:
  103. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  104. drop 1 emerald
  105. add 1 to {emeraldy.%player%}
  106. send "&7&lZnalazles: &2&lEmerald! &4&l(+4 Pkt)"
  107. add 4 to {drop.%player%.punkty}
  108.  
  109.  
  110. chance of {@szansa_zelazo}%:
  111. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  112. drop 1 iron ore
  113. add 1 to {zelazo.%player%}
  114. send "&7&lZnalazles: &1&8Zelazo &4&l(+1 Pkt)"
  115. add 1 to {drop.%player%.punkty}
  116.  
  117.  
  118. chance of {@szansa_zloto}%:
  119. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  120. drop 1 gold ore
  121. add 1 to {zloto.%player%}
  122. send "&7&lZnalazles: &6&lZloto &4&l(+2 pkt)"
  123. add 2 to {drop.%player%.punkty}
  124.  
  125.  
  126. chance of {@szansa_gunpowder}%:
  127. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  128. drop 1 gunpowder
  129. add 1 to {gunpowder.%player%}
  130. send "&7&lZnalazles: &9&lProch &4&l(+1 Pkt)"
  131. add 1 to {drop.%player%.punkty}
  132.  
  133.  
  134. chance of {@szansa_enderpearl}%:
  135. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  136. drop 1 ender pearl
  137. add 1 to {enderpearl.%player%}
  138. send "&7&lZnalazles: &1&2Enderperle! &4&l(+4 Pkt)"
  139. add 3 to {drop.%player%.punkty}
  140.  
  141.  
  142. chance of {@szansa_apple}%:
  143. if player's y-coordinate is smaller than {@wysokosc_apple}:
  144. drop 1 apple
  145. add 1 to {apple.%player%}
  146. send "&7&lZnalazles: &4&lJablko! &4&l(+1 Pkt)"
  147. add 1 to {drop.%player%.punkty}
  148.  
  149.  
  150. chance of {@szansa_redstone}%:
  151. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  152. drop a random number between 4 and 1 of redstone
  153. add 1 to {redstone.%player%}
  154. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  155. add 1 to {drop.%player%.punkty}
  156.  
  157.  
  158. chance of {@szansa_lapis}%:
  159. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  160. drop a random number between 4 and 1 of lapis lazuli
  161. add 1 to {lapis.%player%}
  162. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  163. add 1 to {drop.%player%.punkty}
  164.  
  165.  
  166. chance of {@szansa_wegiel}%:
  167. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  168. drop 1 coal
  169. add 1 to {wegiel.%player%}
  170. send "&7&lZnalazles: &0&lWegiel! &4&l(+1 Pkt)"
  171. add 1 to {drop.%player%.punkty}
  172.  
  173.  
  174. if player's tool is a diamond pickaxe of fortune 1:
  175. chance of {@szansa_diament}%:
  176. if player's y-coordinate is smaller than {@wysokosc_diament}:
  177. drop a random number between 3 and 2 of diamond
  178. add 1 to {diamenty.%player%}
  179. send "&7&lZnalazles: &b&lDiamenty! &4&l(+4 Pkt)"
  180. add 4 to {drop.%player%.punkty}
  181.  
  182.  
  183.  
  184.  
  185. chance of {@szansa_emerald}%:
  186. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  187. drop a random number between 3 and 2 of emerald
  188. add 1 to {emeraldy.%player%}
  189. send "&7&lZnalazles: &2&lEmeraldy! (&4&l+5 Pkt)"
  190. add 5 to {drop.%player%.punkty}
  191.  
  192.  
  193.  
  194. chance of {@szansa_zelazo}%:
  195. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  196. drop a random number between 3 and 2 of iron ore
  197. add 1 to {zelazo.%player%}
  198. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  199. add 2 to {drop.%player%.punkty}
  200.  
  201.  
  202. chance of {@szansa_zloto}%:
  203. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  204. drop a random number between 3 and 2 of emerald
  205. add 1 to {zloto.%player%}
  206. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  207. add 3 to {drop.%player%.punkty}
  208.  
  209.  
  210. chance of {@szansa_gunpowder}%:
  211. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  212. drop a random number between 3 and 2 of gunpowder
  213. add 1 to {gunpowder.%player%}
  214. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  215. add 2 to {drop.%player%.punkty}
  216.  
  217.  
  218. chance of {@szansa_apple}%:
  219. if player's y-coordinate is smaller than {@wysokosc_apple}:
  220. drop a random number between 3 and 2 of apple
  221. add 1 to {apple.%player%}
  222. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  223. add 2 to {drop.%player%.punkty}
  224.  
  225.  
  226. chance of {@szansa_enderpearl}%:
  227. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  228. drop a random number between 3 and 2 of ender pearl
  229. add 1 to {enderpearl.%player%}
  230. send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
  231. add 5 to {drop.%player%.punkty}
  232.  
  233.  
  234. chance of {@szansa_redstone}%:
  235. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  236. drop a random number between 5 and 4 of redstone
  237. add 1 to {redstone.%player%}
  238. send "&7&lZnalazles: &4&lRedstone'a! &4&l(1 Pkt)"
  239. add 1 to {drop.%player%.punkty}
  240.  
  241.  
  242. chance of {@szansa_lapis}%:
  243. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  244. drop a random number between 5 and 4 of lapis lazuli
  245. add 1 to {lapis.%player%}
  246. send "&7&lZnalazles: &1&lLapis! &4&l(1 Pkt)"
  247. add 1 to {drop.%player%.punkty}
  248.  
  249.  
  250. chance of {@szansa_wegiel}%:
  251. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  252. drop a random number between 3 and 2 of coal
  253. add 1 to {wegiel.%player%}
  254. send "&7&lZnalazles: &0&lWegiel! &4&l(1 Pkt)"
  255. add 1 to {drop.%player%.punkty}
  256.  
  257.  
  258. if player's tool is a diamond pickaxe of fortune 2:
  259. chance of {@szansa_diament}%:
  260. if player's y-coordinate is smaller than {@wysokosc_diament}:
  261. drop a random number between 4 and 3 of diamond
  262. add 1 to {diamenty.%player%}
  263. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  264. add 5 to {drop.%player%.punkty}
  265.  
  266.  
  267. chance of {@szansa_emerald}%:
  268. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  269. drop a random number between 4 and 3 of emerald
  270. add 1 to {emeraldy.%player%}
  271. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
  272. add 5 to {drop.%player%.punkty}
  273.  
  274. chance of {@szansa_zelazo}%:
  275. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  276. drop a random number between 4 and 3 of iron ore
  277. add 1 to {zelazo.%player%}
  278. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  279. add 2 to {drop.%player%.punkty}
  280.  
  281.  
  282. chance of {@szansa_zloto}%:
  283. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  284. drop a random number between 4 and 3 of emerald
  285. add 1 to {zloto.%player%}
  286. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  287. add 3 to {drop.%player%.punkty}
  288.  
  289.  
  290. chance of {@szansa_gunpowder}%:
  291. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  292. drop a random number between 4 and 3 of gunpowder
  293. add 1 to {gunpowder.%player%}
  294. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  295. add 2 to {drop.%player%.punkty}
  296.  
  297.  
  298. chance of {@szansa_apple}%:
  299. if player's y-coordinate is smaller than {@wysokosc_apple}:
  300. drop a random number between 4 and 3 of apple
  301. add 1 to {apple.%player%}
  302. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  303. add 2 to {drop.%player%.punkty}
  304.  
  305. chance of {@szansa_enderpearl}%:
  306. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  307. drop a random number between 4 and 3 of ender pearl
  308. add 1 to {enderpearl.%player%}
  309. send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
  310. add 5 to {drop.%player%.punkty}
  311.  
  312.  
  313. chance of {@szansa_redstone}%:
  314. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  315. drop a random number between 6 and 5 of redstone
  316. add 1 to {redstone.%player%}
  317. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
  318. add 2 to {drop.%player%.punkty}
  319.  
  320.  
  321. chance of {@szansa_lapis}%:
  322. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  323. drop a random number between 6 and 5 of lapis lazuli
  324. add 1 to {lapis.%player%}
  325. send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
  326. add 2 to {drop.%player%.punkty}
  327.  
  328.  
  329.  
  330. if player's tool is a diamond pickaxe of fortune 3:
  331. chance of {@szansa_diament}%:
  332. if player's y-coordinate is smaller than {@wysokosc_diament}:
  333. drop a random number between 5 and 4 of diamond
  334. add 1 to {diamenty.%player%}
  335. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  336. add 5 to {drop.%player%.punkty}
  337.  
  338.  
  339. chance of {@szansa_piasek}%:
  340. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  341. drop a random number between 5 and 4 of sand
  342. add 1 to {piasek.%player%}
  343. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  344. add 1 to {drop.%player%.punkty}
  345.  
  346.  
  347. chance of {@szansa_emerald}%:
  348. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  349. drop a random number between 5 and 4 of emerald
  350. add 1 to {emeraldy.%player%}
  351. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
  352. add 5 to {drop.%player%.punkty}
  353.  
  354.  
  355. chance of {@szansa_zelazo}%:
  356. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  357. drop a random number between 5 and 4 of iron ore
  358. add 1 to {zelazo.%player%}
  359. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  360. add 2 to {drop.%player%.punkty}
  361.  
  362.  
  363. chance of {@szansa_zloto}%:
  364. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  365. drop a random number between 5 and 4 of emerald
  366. add 1 to {zloto.%player%}
  367. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  368. add 3 to {drop.%player%.punkty}
  369.  
  370.  
  371. chance of {@szansa_gunpowder}%:
  372. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  373. drop a random number between 5 and 4 of gunpowder
  374. add 1 to {gunpowder.%player%}
  375. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  376. add 2 to {drop.%player%.punkty}
  377.  
  378.  
  379. chance of {@szansa_apple}%:
  380. if player's y-coordinate is smaller than {@wysokosc_apple}:
  381. drop a random number between 5 and 4 of apple
  382. add 1 to {apple.%player%}
  383. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  384. add 2 to {drop.%player%.punkty}
  385.  
  386. chance of {@szansa_enderpearl}%:
  387. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  388. drop a random number between 5 and 4 of ender pearl
  389. add 1 to {enderpearl.%player%}
  390. send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
  391. add 5 to {drop.%player%.punkty}
  392.  
  393. chance of {@szansa_redstone}%:
  394. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  395. drop a random number between 6 and 5 of redstone
  396. add 1 to {redstone.%player%}
  397. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
  398. add 2 to {drop.%player%.punkty}
  399.  
  400.  
  401. chance of {@szansa_lapis}%:
  402. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  403. drop a random number between 6 and 5 of lapis lazuli
  404. add 1 to {lapis.%player%}
  405. send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
  406. add 2 to {drop.%player%.punkty}
  407.  
  408.  
  409. chance of {@szansa_wegiel}%:
  410. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  411. drop a random number between 5 and 4 of coal
  412. add 1 to {wegiel.%player%}
  413. send "&7&lZnalazles: &0&lWegiel! &4&l(+2 Pkt)"
  414. add 2 to {drop.%player%.punkty}
  415.  
  416. #<Drop Dla VIPA>#
  417.  
  418. on mine of stone:
  419. if player has permission "pstone.vip":
  420. add 1 to {wykopanystone.%player%}
  421.  
  422. chance of {@szansa_diamentvip}%:
  423. if player's y-coordinate is smaller than {@wysokosc_diament}:
  424. drop 1 diamond
  425. add 1 to {diamenty.%player%}
  426. send "&7&lZnalazles: &b&lDiament! &4&l(+5 Pkt)"
  427. add 5 to {drop.%player%.punkty}
  428.  
  429. chance of {@szansa_emeraldvip}%:
  430. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  431. drop 1 emerald
  432. add 1 to {emeraldy.%player%}
  433. send "&7&lZnalazles: &2&lEmerald! &4&l(+6 Pkt)"
  434. add 6 to {drop.%player%.punkty}
  435.  
  436. chance of {@szansa_zelazovip}%:
  437. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  438. drop 1 iron ore
  439. add 1 to {zelazo.%player%}
  440. send "&7&lZnalazles: &1&8Zelazo &4&l(+2 Pkt)"
  441. add 2 to {drop.%player%.punkty}
  442.  
  443. chance of {@szansa_zlotovip}%:
  444. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  445. drop 1 gold ore
  446. add 1 to {zloto.%player%}
  447. send "&7&lZnalazles: &6&lZloto &4&l(+3 Pkt)"
  448. add 3 to {drop.%player%.punkty}
  449.  
  450. chance of {@szansa_gunpowdervip}%:
  451. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  452. drop 1 gunpowder
  453. add 1 to {gunpowder.%player%}
  454. send "&7&lZnalazles: &9&lProch &4&l(+1 Pkt)"
  455. add 1 to {drop.%player%.punkty}
  456.  
  457. chance of {@szansa_enderpearlvip}%:
  458. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  459. drop 1 ender pearl
  460. add 1 to {enderpearl.%player%}
  461. send "&7&lZnalazles: &1&2Enderperle! &4&l(+5 Pkt)"
  462. add 5 to {drop.%player%.punkty}
  463.  
  464. chance of {@szansa_applevip}%:
  465. if player's y-coordinate is smaller than {@wysokosc_apple}:
  466. drop 1 apple
  467. add 1 to {apple.%player%}
  468. send "&7&lZnalazles: &4&lJablko! &4&l(+2 Pkt)"
  469. add 2 to {drop.%player%.punkty}
  470.  
  471. chance of {@szansa_redstonevip}%:
  472. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  473. drop a random number between 4 and 1 of redstone
  474. add 1 to {redstone.%player%}
  475. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  476. add 1 to {drop.%player%.punkty}
  477.  
  478. chance of {@szansa_lapisvip}%:
  479. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  480. drop a random number between 4 and 1 of lapis lazuli
  481. add 1 to {lapis.%player%}
  482. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  483. add 1 to {drop.%player%.punkty}
  484.  
  485. chance of {@szansa_wegielvip}%:
  486. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  487. drop 1 coal
  488. add 1 to {wegiel.%player%}
  489. send "&7&lZnalazles: &0&lWegiel! &4&l(+1 Pkt)"
  490. add 1 to {drop.%player%.punkty}
  491.  
  492. if player has permission "pstone.vip":
  493. if player's tool is a diamond pickaxe of fortune 1:
  494. chance of {@szansa_diamentvip}%:
  495. if player's y-coordinate is smaller than {@wysokosc_diament}:
  496. drop a random number between 3 and 2 of diamond
  497. add 1 to {diamenty.%player%}
  498. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  499. add 5 to {drop.%player%.punkty}
  500.  
  501.  
  502. chance of {@szansa_emeraldvip}%:
  503. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  504. drop a random number between 3 and 2 of emerald
  505. add 1 to {emeraldy.%player%}
  506. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+6 Pkt)"
  507. add 6 to {drop.%player%.punkty}
  508.  
  509. chance of {@szansa_zelazovip}%:
  510. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  511. drop a random number between 3 and 2 of iron ore
  512. add 1 to {zelazo.%player%}
  513. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  514. add 2 to {drop.%player%.punkty}
  515.  
  516. chance of {@szansa_zlotovip}%:
  517. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  518. drop a random number between 3 and 2 of emerald
  519. add 1 to {zloto.%player%}
  520. send "&7&lZnalazles: &6&lZloto! &4&l(+4 Pkt)"
  521. add 4 to {drop.%player%.punkty}
  522.  
  523. chance of {@szansa_gunpowdervip}%:
  524. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  525. drop a random number between 3 and 2 of gunpowder
  526. add 1 to {gunpowder.%player%}
  527. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  528. add 2 to {drop.%player%.punkty}
  529.  
  530. chance of {@szansa_applevip}%:
  531. if player's y-coordinate is smaller than {@wysokosc_apple}:
  532. drop a random number between 3 and 2 of apple
  533. add 1 to {apple.%player%}
  534. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  535. add 2 to {drop.%player%.punkty}
  536.  
  537. chance of {@szansa_enderpearlvip}%:
  538. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  539. drop a random number between 3 and 2 of ender pearl
  540. add 1 to {enderpearl.%player%}
  541. send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
  542. add 6 to {drop.%player%.punkty}
  543.  
  544. chance of {@szansa_redstonevip}%:
  545. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  546. drop a random number between 5 and 4 of redstone
  547. add 1 to {redstone.%player%}
  548. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  549. add 1 to {drop.%player%.punkty}
  550.  
  551. chance of {@szansa_lapisvip}%:
  552. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  553. drop a random number between 5 and 4 of lapis lazuli
  554. add 1 to {lapis.%player%}
  555. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  556. add 1 to {drop.%player%.punkty}
  557.  
  558. chance of {@szansa_wegielvip}%:
  559. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  560. drop a random number between 3 and 2 of coal
  561. add 1 to {wegiel.%player%}
  562. send "&7&lZnalazles: &0&lWegiel! &4&l(+2 Pkt)"
  563. add 1 to {drop.%player%.punkty}
  564.  
  565. if player has permission "pstone.vip":
  566. if player's tool is a diamond pickaxe of fortune 2:
  567. chance of {@szansa_diamentvip}%:
  568. if player's y-coordinate is smaller than {@wysokosc_diament}:
  569. drop a random number between 4 and 3 of diamond
  570. add 1 to {diamenty.%player%}
  571. send "&7&lZnalazles: &b&lDiamenty! &4&l(+6 Pkt)"
  572. add 6 to {drop.%player%.punkty}
  573.  
  574. chance of {@szansa_emeraldvip}%:
  575. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  576. drop a random number between 4 and 3 of emerald
  577. add 1 to {emeraldy.%player%}
  578. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+6 Pkt)"
  579. add 6 to {drop.%player%.punkty}
  580.  
  581. chance of {@szansa_zelazovip}%:
  582. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  583. drop a random number between 4 and 3 of iron ore
  584. add 1 to {zelazo.%player%}
  585. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  586. add 2 to {drop.%player%.punkty}
  587.  
  588. chance of {@szansa_zlotovip}%:
  589. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  590. drop a random number between 4 and 3 of emerald
  591. add 1 to {zloto.%player%}
  592. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  593. add 3 to {drop.%player%.punkty}
  594.  
  595. chance of {@szansa_gunpowdervip}%:
  596. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  597. drop a random number between 4 and 3 of gunpowder
  598. add 1 to {gunpowder.%player%}
  599. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  600. add 2 to {drop.%player%.punkty}
  601.  
  602. chance of {@szansa_applevip}%:
  603. if player's y-coordinate is smaller than {@wysokosc_apple}:
  604. drop a random number between 4 and 3 of apple
  605. add 1 to {apple.%player%}
  606. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  607. add 2 to {drop.%player%.punkty}
  608.  
  609. chance of {@szansa_enderpearlvip}%:
  610. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  611. drop a random number between 4 and 3 of ender pearl
  612. add 1 to {enderpearl.%player%}
  613. send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
  614. add 6 to {drop.%player%.punkty}
  615.  
  616. chance of {@szansa_redstonevip}%:
  617. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  618. drop a random number between 6 and 5 of redstone
  619. add 1 to {redstone.%player%}
  620. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  621. add 1 to {drop.%player%.punkty}
  622.  
  623. chance of {@szansa_lapisvip}%:
  624. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  625. drop a random number between 6 and 5 of lapis lazuli
  626. add 1 to {lapis.%player%}
  627. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  628. add 1 to {drop.%player%.punkty}
  629.  
  630. if player has permission "pstone.vip":
  631. if player's tool is a diamond pickaxe of fortune 3:
  632. chance of {@szansa_diamentvip}%:
  633. if player's y-coordinate is smaller than {@wysokosc_diament}:
  634. drop a random number between 5 and 4 of diamond
  635. add 1 to {diamenty.%player%}
  636. send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
  637. add 5 to {drop.%player%.punkty}
  638.  
  639. chance of {@szansa_piasekvip}%:
  640. if player's y-coordinate is smaller than {@wysokosc_piasek}:
  641. drop a random number between 5 and 4 of sand
  642. add 1 to {piasek.%player%}
  643. send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
  644. add 1 to {drop.%player%.punkty}
  645.  
  646. chance of {@szansa_emeraldvip}%:
  647. if player's y-coordinate is smaller than {@wysokosc_emerald}:
  648. drop a random number between 5 and 4 of emerald
  649. add 1 to {emeraldy.%player%}
  650. send "&7&lZnalazles: &2&lEmeraldy! &4&l(+6 Pkt)"
  651. add 6 to {drop.%player%.punkty}
  652.  
  653. chance of {@szansa_zelazovip}%:
  654. if player's y-coordinate is smaller than {@wysokosc_zelazo}:
  655. drop a random number between 5 and 4 of iron ore
  656. add 1 to {zelazo.%player%}
  657. send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
  658. add 2 to {drop.%player%.punkty}
  659.  
  660. chance of {@szansa_zlotovip}%:
  661. if player's y-coordinate is smaller than {@wysokosc_zloto}:
  662. drop a random number between 5 and 4 of emerald
  663. add 1 to {zloto.%player%}
  664. send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
  665. add 3 to {drop.%player%.punkty}
  666.  
  667. chance of {@szansa_gunpowdervip}%:
  668. if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
  669. drop a random number between 5 and 4 of gunpowder
  670. add 1 to {gunpowder.%player%}
  671. send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
  672. add 2 to {drop.%player%.punkty}
  673.  
  674. chance of {@szansa_applevip}%:
  675. if player's y-coordinate is smaller than {@wysokosc_apple}:
  676. drop a random number between 5 and 4 of apple
  677. add 1 to {apple.%player%}
  678. send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
  679. add 2 to {drop.%player%.punkty}
  680.  
  681. chance of {@szansa_enderpearlvip}%:
  682. if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
  683. drop a random number between 5 and 4 of ender pearl
  684. add 1 to {enderpearl.%player%}
  685. send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
  686. add 6 to {drop.%player%.punkty}
  687.  
  688. chance of {@szansa_redstonevip}%:
  689. if player's y-coordinate is smaller than {@wysokosc_redstone}:
  690. drop a random number between 6 and 5 of redstone
  691. add 1 to {redstone.%player%}
  692. send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
  693. add 1 to {drop.%player%.punkty}
  694.  
  695. chance of {@szansa_lapisvip}%:
  696. if player's y-coordinate is smaller than {@wysokosc_lapis}:
  697. drop a random number between 6 and 5 of lapis lazuli
  698. add 1 to {lapis.%player%}
  699. send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
  700. add 1 to {drop.%player%.punkty}
  701.  
  702. chance of {@szansa_wegielvip}%:
  703. if player's y-coordinate is smaller than {@wysokosc_wegiel}:
  704. drop a random number between 5 and 4 of coal
  705. add 1 to {wegiel.%player%}
  706. send "&7&lZnalazles: &0&lWegiel! &4&l(+1 Pkt)"
  707. add 1 to {drop.%player%.punkty}
  708.  
  709.  
  710. if {drop.%player%.lvl} is 1:
  711. If {drop.%player%.punkty} is larger than 50:
  712. set {drop.%player%.lvl} to 2
  713. drop 35 xp
  714. execute console command "/playsound random.levelup %player%"
  715. execute console command "/playsound random.levelup %player%"
  716. execute console command "/playsound random.levelup %player%"
  717. send "&6Awansowales na &22 &6poziom kopania!"
  718. set {drop.%player%.punkty} to 0
  719. if {drop.%player%.lvl} is 2:
  720. If {drop.%player%.punkty} is larger than 200:
  721. send "&6Awansowales na &23 &6poziom kopania!"
  722. drop 45 xp
  723. execute console command "/playsound random.levelup %player%"
  724. execute console command "/playsound random.levelup %player%"
  725. execute console command "/playsound random.levelup %player%"
  726. set {drop.%player%.lvl} to 3
  727. set {drop.%player%.punkty} to 0
  728. if {drop.%player%.lvl} is 3:
  729. If {drop.%player%.punkty} is larger than 400:
  730. send "&6Awansowales na &24 &6poziom kopania!"
  731. drop 45 xp
  732. execute console command "/playsound random.levelup %player%"
  733. execute console command "/playsound random.levelup %player%"
  734. execute console command "/playsound random.levelup %player%"
  735. set {drop.%player%.lvl} to 4
  736. set {drop.%player%.punkty} to 0
  737. if {drop.%player%.lvl} is 4:
  738. If {drop.%player%.punkty} is larger than 600:
  739. send "&6Awansowales na &25 &6poziom kopania!"
  740. drop 45 xp
  741. execute console command "/playsound random.levelup %player%"
  742. execute console command "/playsound random.levelup %player%"
  743. execute console command "/playsound random.levelup %player%"
  744. set {drop.%player%.lvl} to 5
  745. set {drop.%player%.punkty} to 0
  746. if {drop.%player%.lvl} is 5:
  747. If {drop.%player%.punkty} is larger than 700:
  748. send "&6Awansowales na &26 &6poziom kopania!"
  749. drop 45 xp
  750. execute console command "/playsound random.levelup %player%"
  751. execute console command "/playsound random.levelup %player%"
  752. execute console command "/playsound random.levelup %player%"
  753. set {drop.%player%.lvl} to 6
  754. set {drop.%player%.punkty} to 0
  755. if {drop.%player%.lvl} is 6:
  756. If {drop.%player%.punkty} is larger than 900:
  757. send "&6Awansowales na &27 &6poziom kopania!"
  758. drop 45 xp
  759. execute console command "/playsound random.levelup %player%"
  760. execute console command "/playsound random.levelup %player%"
  761. execute console command "/playsound random.levelup %player%"
  762. set {drop.%player%.lvl} to 7
  763. if {drop.%player%.lvl} is 7:
  764. If {drop.%player%.punkty} is larger than 1100:
  765. send "&6Awansowales na &28 &6poziom kopania!"
  766. drop 45 xp
  767. execute console command "/playsound random.levelup %player%"
  768. execute console command "/playsound random.levelup %player%"
  769. execute console command "/playsound random.levelup %player%"
  770. set {drop.%player%.lvl} to 8
  771. set {drop.%player%.punkty} to 0
  772. if {drop.%player%.lvl} is 8:
  773. If {drop.%player%.punkty} is larger than 1300:
  774. send "&6Awansowales na &29 &6poziom kopania!"
  775. drop 45 xp
  776. execute console command "/playsound random.levelup %player%"
  777. execute console command "/playsound random.levelup %player%"
  778. execute console command "/playsound random.levelup %player%"
  779. set {drop.%player%.lvl} to 9
  780. set {drop.%player%.punkty} to 0
  781. if {drop.%player%.lvl} is 9:
  782. If {drop.%player%.punkty} is larger than 1500:
  783. send "&6Awansowales na &210 &6poziom kopania!"
  784. drop 45 xp
  785. execute console command "/playsound random.levelup %player%"
  786. execute console command "/playsound random.levelup %player%"
  787. execute console command "/playsound random.levelup %player%"
  788. set {drop.%player%.lvl} to 10
  789. set {drop.%player%.punkty} to 0
  790. if {drop.%player%.lvl} is 10:
  791. If {drop.%player%.punkty} is larger than 1700:
  792. send "&6Awansowales na &211 &6poziom kopania!"
  793. drop 45 xp
  794. execute console command "/playsound random.levelup %player%"
  795. execute console command "/playsound random.levelup %player%"
  796. execute console command "/playsound random.levelup %player%"
  797. set {drop.%player%.lvl} to 11
  798. set {drop.%player%.punkty} to 0
  799. if {drop.%player%.lvl} is 11:
  800. If {drop.%player%.punkty} is larger than 1900:
  801. send "&6Awansowales na &212 &6poziom kopania!"
  802. drop 45 xp
  803. execute console command "/playsound random.levelup %player%"
  804. execute console command "/playsound random.levelup %player%"
  805. execute console command "/playsound random.levelup %player%"
  806. set {drop.%player%.lvl} to 12
  807. set {drop.%player%.punkty} to 0
  808. if {drop.%player%.lvl} is 12:
  809. If {drop.%player%.punkty} is larger than 2100:
  810. send "&6Awansowales na &213 &6poziom kopania!"
  811. drop 45 xp
  812. execute console command "/playsound random.levelup %player%"
  813. execute console command "/playsound random.levelup %player%"
  814. execute console command "/playsound random.levelup %player%"
  815. set {drop.%player%.lvl} to 13
  816. set {drop.%player%.punkty} to 0
  817. if {drop.%player%.lvl} is 13:
  818. If {drop.%player%.punkty} is larger than 2300:
  819. send "&6Awansowales na &214 &6poziom kopania!"
  820. drop 45 xp
  821. execute console command "/playsound random.levelup %player%"
  822. execute console command "/playsound random.levelup %player%"
  823. execute console command "/playsound random.levelup %player%"
  824. set {drop.%player%.lvl} to 14
  825. set {drop.%player%.punkty} to 0
  826. if {drop.%player%.lvl} is 14:
  827. If {drop.%player%.punkty} is larger than 2500:
  828. send "&6Awansowales na &215 &6poziom kopania!"
  829. drop 45 xp
  830. execute console command "/playsound random.levelup %player%"
  831. execute console command "/playsound random.levelup %player%"
  832. execute console command "/playsound random.levelup %player%"
  833. set {drop.%player%.lvl} to 15
  834. set {drop.%player%.punkty} to 0
  835.  
  836. command /lvlreset [<text>]:
  837. permission: pstone.admin
  838. permission message: &4&lNie masz permisji do uzywania tej komendy!
  839. trigger:
  840. if arg 1 is player:
  841. set {drop.%player%.lvl} to 1
  842. set {drop.%player%.punkty} to 0
  843. send "&4&lLvl Gracza %arg 1% Został Zmieniony na 1!"
  844. if arg 1 is not set:
  845. send "&4&lWpisz Nick Gracza Któremu chcesz zmienić lvl!"
  846.  
  847. on mine of any ore:
  848. cancel event
  849. drop 1 cobblestone
  850. set block to air
  851. send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
  852.  
  853. on mine of emerald ore:
  854. cancel event
  855. drop 1 cobblestone
  856. set block to air
  857. send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
  858.  
  859.  
  860.  
  861.  
  862. command /cobble:
  863. trigger:
  864. if {cobblestone.%player%} is true:
  865. set {cobblestone.%player%} to false
  866. send "&cWylaczono wypadanie cobblestone!"
  867. else if {cobblestone.%player%} is false:
  868. set {cobblestone.%player%} to true
  869. send "&aWlaczono wypadanie cobblestone!"
  870.  
  871.  
  872.  
  873. command /punkty:
  874. aliases: pkt, points
  875. trigger:
  876. if {drop.%player%.lvl} is 1:
  877. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&250&7, Aktualnie posiadasz &21 POZIOM&7."
  878. if {drop.%player%.lvl} is 2:
  879. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2200&7, posiadasz &22 POZIOM&7."
  880. if {drop.%player%.lvl} is 3:
  881. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2400&7, posiadasz &23 POZIOM&7."
  882. if {drop.%player%.lvl} is 4:
  883. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2600&7, posiadasz &24 POZIOM&7."
  884. if {drop.%player%.lvl} is 5:
  885. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2700&7, posiadasz &25 POZIOM&7."
  886. if {drop.%player%.lvl} is 6:
  887. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2900&7, posiadasz &26 POZIOM&7."
  888. if {drop.%player%.lvl} is 7:
  889. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21100&7, posiadasz &27 POZIOM&7."
  890. if {drop.%player%.lvl} is 8:
  891. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21300&7, posiadasz &28 POZIOM&7."
  892. if {drop.%player%.lvl} is 9:
  893. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21500&7, posiadasz &29 POZIOM&7."
  894. if {drop.%player%.lvl} is 10:
  895. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21700&7, posiadasz &210 POZIOM&7."
  896. if {drop.%player%.lvl} is 11:
  897. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21900&7, posiadasz &211 POZIOM&7."
  898. if {drop.%player%.lvl} is 12:
  899. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22100&7, posiadasz &212 POZIOM&7."
  900. if {drop.%player%.lvl} is 13:
  901. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22300&7, posiadasz &213 POZIOM&7."
  902. if {drop.%player%.lvl} is 14:
  903. send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22500&7, posiadasz &214 POZIOM&7."
  904. if {drop.%player%.lvl} is 15:
  905. send "&7Twoja ilosc punktow to: &2MAX&7/&2MAX&7, posiadasz MAXYMALNY &215 POZIOM&7."
  906.  
  907.  
  908. on chat:
  909. set {_chat} to "{@czat}"
  910. replace all "{LVL}" with "%{drop.%player%.lvl}%" in {_chat}
  911. replace all "{PLAYER}" with "%player%" in {_chat}
  912. replace all "{DISPLAY}" with "%display name of player%" in {_chat}
  913. replace all "{MESSAGE}" with "%message%" in {_chat}
  914. send "%{_chat}%" to all players
  915. cancel event
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922. command /stone [<text>]:
  923. aliases: kamien, drop
  924. trigger:
  925. if arg 1 is not set:
  926. send "&eUzycie: /stone gracz/vip" to player
  927. stop
  928. if arg 1 is "gracz":
  929. if player has permission "pstone.gracz":
  930. open chest with 1 rows named "Drop dla gracza" to player
  931. wait 1 tick
  932. format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Szansa:&7 {@szansa_diament}%%" to be unstealable
  933. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Szansa:&7 {@szansa_emerald}%%" to be unstealable
  934. format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Szansa:&7 {@szansa_enderpearl}%%" to be unstealable
  935. format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Szansa:&7 {@szansa_zloto}%%" to be unstealable
  936. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Szansa:&7 {@szansa_zelazo}%%" to be unstealable
  937. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Szansa:&7 {@szansa_wegiel}%%" to be unstealable
  938. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Szansa:&7 {@szansa_redstone}%%" to be unstealable
  939. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Szansa:&7 {@szansa_lapis}%%" to be unstealable
  940. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Szansa:&7 {@szansa_apple}%%" to be unstealable
  941. if arg 1 is "vip":
  942. if player has permission "pstone.vip":
  943. open chest with 1 rows named "Drop dla vipa" to player
  944. wait 1 tick
  945. format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Szansa:&7 {@szansa_diamentvip}%%" to be unstealable
  946. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Szansa:&7 {@szansa_emeraldvip}%%" to be unstealable
  947. format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Szansa:&7 {@szansa_enderpearlvip}%%" to be unstealable
  948. format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Szansa:&7 {@szansa_zlotovip}%%" to be unstealable
  949. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Szansa:&7 {@szansa_zelazovip}%%" to be unstealable
  950. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Szansa:&7 {@szansa_wegielvip}%%" to be unstealable
  951. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Szansa:&7 {@szansa_redstonevip}%%" to be unstealable
  952. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Szansa:&7 {@szansa_lapisvip}%%" to be unstealable
  953. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Szansa:&7 {@szansa_applevip}%%" to be unstealable
  954.  
  955.  
  956.  
  957.  
  958. command /statystyki [<text>]:
  959. aliases: staty
  960. trigger:
  961. if arg 1 is not set:
  962. send "&eUzycie: /statystyki nazwa gracza/all" to player
  963. stop
  964. if arg 1 is "all":
  965. if player has permission "pstone.gracz":
  966. open chest with 2 rows named "Statystyki Wszystkich" to player
  967. wait 1 tick
  968. format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Wykopane Diamenty:&7 %{diamenty.%player%}%" to be unstealable
  969. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Wykopane Szmaragdy:&7 %{emeraldy.%player%}%" to be unstealable
  970. format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Wykopane Perelki:&7 %{enderpearl.%player%}%" to be unstealable
  971. format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Wykopane Zloto:&7 %{zloto.%player%}%" to be unstealable
  972. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Wykopane Zelazo:&7 %{zelazo.%player%}%" to be unstealable
  973. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Wykopany Wegiel:&7 %{wegiel.%player%}%" to be unstealable
  974. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Wykopany RedStone:&7 %{redstone.%player%}%" to be unstealable
  975. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Wykopany Lapis :&7 %{lapis.%player%}%" to be unstealable
  976. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Wykopane Jablka:&7 %{apple.%player%}%" to be unstealable
  977. format slot 9 of player with 1 of gunpowder named "&7Stone" with lore "&4» &6Wykopany Proch:&7 %{gunpowder.%player%}%" to be unstealable
  978. format slot 10 of player with 1 of sand named "&6Sand" with lore "&4» &6Wykopany Piasek:&7 %{piasek.%player%}%" to be unstealable
  979. format slot 11 of player with 1 of stone named "&7Stone" with lore "&4» &6Wykopany Stone:&7 %{wykopanystone.%player%}%" to be unstealable
  980. if arg 1 is player:
  981. if player has permission "pstone.gracz":
  982. open chest with 2 rows named "Statystyki Wszystkich" to player
  983. wait 1 tick
  984. format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Wykopane Diamenty:&7 %{diamenty.%arg 1%}%" to be unstealable
  985. format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Wykopane Szmaragdy:&7 %{emeraldy.%arg 1%}%" to be unstealable
  986. 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
  987. format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Wykopane Zloto:&7 %{zloto.%arg 1%}%" to be unstealable
  988. format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Wykopane Zelazo:&7 %{zelazo.%arg 1%}%" to be unstealable
  989. format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Wykopany Wegiel:&7 %{wegiel.%arg 1%}%" to be unstealable
  990. format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Wykopany RedStone:&7 %{redstone.%arg 1%}%" to be unstealable
  991. format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Wykopany Lapis :&7 %{lapis.%arg 1%}%" to be unstealable
  992. format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Wykopane Jablka:&7 %{apple.%arg 1%}%" to be unstealable
  993. format slot 9 of player with 1 of gunpowder named "&7Stone" with lore "&4» &6Wykopany Proch:&7 %{gunpowder.%arg 1%}%" to be unstealable
  994. format slot 10 of player with 1 of sand named "&6Sand" with lore "&4» &6Wykopany Piasek:&7 %{piasek.%arg 1%}%" to be unstealable
  995. format slot 11 of player with 1 of stone named "&7Stone" with lore "&4» &6Wykopany Stone:&7 %{wykopanystone.%arg 1%}%" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment