Guest User

Untitled

a guest
May 3rd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.64 KB | None | 0 0
  1. variables:
  2. {drop.%player%.punkty} = 0
  3. {drop.%player%.lvl} = 1
  4. {diamond.%player%} = 0
  5. {emerald.%player%} = 0
  6. {zelazo.%player%} = 0
  7. {zloto.%player%} = 0
  8. {lapis.%player%} = 0
  9. {redstone.%player%} = 0
  10. {wegiel.%player%} = 0
  11. {kamien.%player%} = 0
  12.  
  13. options:
  14. heightdiax: 30
  15. procentdiax: 0.8
  16. heightemerald: 45
  17. procentemerald: 0.9
  18. heightzloto: 50
  19. procentzloto: 1.3
  20. procentzelazo: 2.1
  21. heightredstone: 25
  22. procentredstone: 1.0
  23. heightwegiel: 200
  24. procentwegiel: 1.2
  25. heightlapis: 25
  26. procentlapis: 0.7
  27. # D R O P V I P A #
  28. on break of stone:
  29. player has permissions "drop.vip":
  30. chance of {@procentdiax} + 0.3%:
  31. if block's y-coordinate is smaller than {@heightdiax}:
  32. drop diamond
  33. add 1 to {diamond.%player%}
  34. add 3 to {drop.%player%.punkty}
  35. message "&6Trafiles na: &bDiament &7+3 pkt"
  36. execute console command "/playsound random.successful_hit %player%"
  37. chance of {@procentzloto} + 0.3%:
  38. if block's y-coordinate is smaller than {@heightzloto}:
  39. drop gold ingot
  40. add 1 to {drop.%player%.punkty}
  41. add 1 to {zloto.%player%}
  42. message "&6Trafiles na: &eZloto &7+1 pkt"
  43. execute console command "/playsound random.successful_hit %player%"
  44. chance of {@procentzelazo} + 0.3%:
  45. drop iron ingot
  46. add 1 to {drop.%player%.punkty}
  47. add 1 to {zelazo.%player%}
  48. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  49. execute console command "/playsound random.successful_hit %player%"
  50. chance of {@procentemerald} + 0.3%:
  51. if block's y-coordinate is smaller than {@heightemerald}:
  52. drop emerald
  53. add 2 to {drop.%player%.punkty}
  54. add 1 to {emerald.%player%}
  55. message "&6Trafiles na: &2Emerald &7+2 pkt"
  56. execute console command "/playsound random.successful_hit %player%"
  57. chance of {@procentredstone} + 0.3%:
  58. if block's y-coordinate is smaller than {@heightredstone}:
  59. drop 3 redstone
  60. add 2 to {drop.%player%.punkty}
  61. add 3 to {redstone.%player%}
  62. message "&6Trafiles na: &cRedstone [3] &7+2 pkt"
  63. execute console command "/playsound random.successful_hit %player%"
  64. chance of {@procentwegiel} + 0.3%:
  65. if block's y-coordinate is smaller than {@heightwegiel}:
  66. drop 1 coal
  67. add 1 to {drop.%player%.punkty}
  68. add 1 to {wegiel.%player%}
  69. message "&6Trafiles na: &0Wegiel &7+1 pkt"
  70. execute console command "/playsound random.successful_hit %player%"
  71. chance of {@procentlapis} + 0.3%:
  72. if block's y-coordinate is smaller than {@heightlapis}:
  73. drop 5 lapis
  74. add 2 to {drop.%player%.punkty}
  75. add 5 to {lapis.%player%}
  76. message "&6Trafiles na: &3Lapis [5] &7+2 pkt"
  77. execute console command "/playsound random.successful_hit %player%"
  78. player has permissions "drop.vip":
  79. if player's tool is a diamond pickaxe of fortune 1:
  80. chance of {@procentdiax} + 0.3%:
  81. if block's y-coordinate is smaller than {@heightdiax}:
  82. chance of 50%:
  83. drop 2 diamond
  84. add 2 to {diamond.%player%}
  85. add 4 to {drop.%player%.punkty}
  86. message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
  87. execute console command "/playsound random.successful_hit %player%"
  88. else:
  89. add 3 to {drop.%player%.punkty}
  90. add 3 to {diamond.%player%}
  91. message "&6Trafiles na: &bDiament &7+2 pkt"
  92. drop diamond
  93. execute console command "/playsound random.successful_hit %player%"
  94. chance of {@procentzloto} + 0.3%:
  95. if block's y-coordinate is smaller than {@heightzloto}:
  96. chance of 50%:
  97. drop 2 gold ingot
  98. add 2 to {zloto.%player%}
  99. add 2 to {drop.%player%.punkty}
  100. message "&6Trafiles na: &eZloto [2] &7+2 pkt"
  101. execute console command "/playsound random.successful_hit %player%"
  102. else:
  103. drop gold ingot
  104. add 1 to {zloto.%player%}
  105. add 1 to {drop.%player%.punkty}
  106. message "&6Trafiles na: &eZloto &7+2 pkt"
  107. execute console command "/playsound random.successful_hit %player%"
  108. chance of {@procentzelazo} + 0.3%:
  109. chance of 50%:
  110. drop 2 iron ingot
  111. add 2 to {zelazo.%player%}
  112. add 2 to {drop.%player%.punkty}
  113. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  114. execute console command "/playsound random.successful_hit %player%"
  115. else:
  116. drop iron ingot
  117. add 1 to {zelazo.%player%}
  118. add 1 to {drop.%player%.punkty}
  119. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  120. execute console command "/playsound random.successful_hit %player%"
  121. chance of {@procentemerald} + 0.3%:
  122. if block's y-coordinate is smaller than {@heightemerald}:
  123. chance of 50%:
  124. drop 2 emerald
  125. add 2 to {emerald.%player%}
  126. add 3 to {drop.%player%.punkty}
  127. message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
  128. execute console command "/playsound random.successful_hit %player%"
  129. else:
  130. drop emerald
  131. add 1 to {emerald.%player%}
  132. add 2 to {drop.%player%.punkty}
  133. message "&6Trafiles na: &2Emerald &7+2 pkt"
  134. execute console command "/playsound random.successful_hit %player%"
  135. player has permissions "drop.vip":
  136. if tool of player is a 278 of fortune 2:
  137. chance of {@procentdiax} + 0.3%:
  138. if block's y-coordinate is smaller than {@heightdiax}:
  139. chance of 33%:
  140. drop 3 diamond
  141. add 3 to {diamond.%player%}
  142. add 5 to {drop.%player%.punkty}
  143. message "&6Trafiles na: &bDiamenty [3] &7+5 pkt"
  144. execute console command "/playsound random.successful_hit %player%"
  145. else:
  146. chance of 33%:
  147. message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
  148. add 4 to {drop.%player%.punkty}
  149. add 2 to {diamond.%player%}
  150. drop 2 diamond
  151. execute console command "/playsound random.successful_hit %player%"
  152. else:
  153. chance of 33%:
  154. message "&6Trafiles na: &bDiament &7+3 pkt"
  155. add 3 to {drop.%player%.punkty}
  156. add 1 to {diamond.%player%}
  157. drop diamond
  158. execute console command "/playsound random.successful_hit %player%"
  159. chance of {@procentzloto} + 0.3%:
  160. if block's y-coordinate is smaller than {@heightzloto}:
  161. chance of 33%:
  162. drop 3 gold ingot
  163. add 3 to {drop.%player%.punkty}
  164. add 3 to {zloto.%player%}
  165. message "&6Trafiles na: &6Zloto [3] &7+3 pkt"
  166. execute console command "/playsound random.successful_hit %player%"
  167. else:
  168. chance of 33%:
  169. drop 2 gold ingot
  170. add 2 to {drop.%player%.punkty}
  171. add 2 to {zloto.%player%}
  172. message "&6Trafiles na: &6Zloto [2] &7+2 pkt"
  173. execute console command "/playsound random.successful_hit %player%"
  174. else:
  175. chance of 33%:
  176. message "&6Trafiles na: &6Zloto &7+1 pkt"
  177. add 1 to {drop.%player%.punkty}
  178. add 1 to {zloto.%player%}
  179. drop gold ingot
  180. execute console command "/playsound random.successful_hit %player%"
  181. chance of {@procentzelazo} + 0.3%:
  182. chance of 33%:
  183. message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
  184. add 3 to {drop.%player%.punkty}
  185. drop 3 iron ingot
  186. add 3 to {zelazo.%player%}
  187. execute console command "/playsound random.successful_hit %player%"
  188. else:
  189. chance of 33%:
  190. drop 2 iron ingot
  191. add 2 to {drop.%player%.punkty}
  192. add 2 to {zelazo.%player%}
  193. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  194. execute console command "/playsound random.successful_hit %player%"
  195. else:
  196. chance of 33%:
  197. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  198. drop iron ingot
  199. add 1 to {zelazo.%player%}
  200. add 1 to {drop.%player%.punkty}
  201. execute console command "/playsound random.successful_hit %player%"
  202. chance of {@procentemerald} + 0.3%:
  203. if block's y-coordinate is smaller than {@heightemerald}:
  204. chance of 33%:
  205. drop 3 emerald
  206. add 4 to {drop.%player%.punkty}
  207. add 3 to {emerald.%player%}
  208. message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
  209. execute console command "/playsound random.successful_hit %player%"
  210. else:
  211. chance of 33%:
  212. message "&6Trafiles na: &2Emerald [2] &7+3 pkt"
  213. drop 2 emerald
  214. add 2 to {emerald.%player%}
  215. add 3 to {drop.%player%.punkty}
  216. execute console command "/playsound random.successful_hit %player%"
  217. else:
  218. chance of 33%:
  219. message "&6Trafiles na: &2Emerald &7+2 pkt"
  220. drop emerald
  221. add 2 to {drop.%player%.punkty}
  222. add 1 to {emerald.%player%}
  223. execute console command "/playsound random.successful_hit %player%"
  224. player has permissions "drop.vip":
  225. if tool of player is a 278 of fortune 3:
  226. chance of {@procentdiax} + 0.3%:
  227. if block's y-coordinate is smaller than {@heightdiax}:
  228. chance of 25%:
  229. message "&6Trafiles na: &2Diamenty [4] &7+6 pkt"
  230. add 6 to {drop.%player%.punkty}
  231. drop 4 diamond
  232. add 4 to {diamond.%player%}
  233. execute console command "/playsound random.successful_hit %player%"
  234. else:
  235. chance of 25%:
  236. message "&6Trafiles na: &2Diamenty [3] &7+5 pkt"
  237. add 5 to {drop.%player%.punkty}
  238. drop 3 diamond
  239. add 3 to {diamond.%player%}
  240. execute console command "/playsound random.successful_hit %player%"
  241. else:
  242. chance of 25%:
  243. message "&6Trafiles na: &2Diamenty [2] &7+4 pkt"
  244. add 4 to {drop.%player%.punkty}
  245. drop 2 diamond
  246. add 2 to {diamond.%player%}
  247. execute console command "/playsound random.successful_hit %player%"
  248. else:
  249. chance of 25%:
  250. message "&6Trafiles na: &2Diamenty &7+3 pkt"
  251. add 3 to {drop.%player%.punkty}
  252. add 1 to {diamond.%player%}
  253. drop diamond
  254. execute console command "/playsound random.successful_hit %player%"
  255. chance of {@procentzloto} + 0.3%:
  256. if block's y-coordinate is smaller than {@heightzloto}:
  257. chance of 25%:
  258. drop 4 gold ingot
  259. add 4 to {drop.%player%.punkty}
  260. add 4 to {zloto.%player%}
  261. message "&6Trafiles na: &eZloto [4] &7+4 pkt"
  262. execute console command "/playsound random.successful_hit %player%"
  263. else:
  264. chance of 25%:
  265. drop 3 gold ingot
  266. add 3 to {drop.%player%.punkty}
  267. add 3 to {zloto.%player%}
  268. message "&6Trafiles na: &eZloto [3] &7+3 pkt"
  269. execute console command "/playsound random.successful_hit %player%"
  270. else:
  271. chance of 25%:
  272. drop 2 gold ingot
  273. add 2 to {drop.%player%.punkty}
  274. add 2 to {zloto.%player%}
  275. message "&6Trafiles na: &eZloto [2] &7+2 pkt"
  276. execute console command "/playsound random.successful_hit %player%"
  277. else:
  278. chance of 25%:
  279. drop gold ingot
  280. add 1 to {drop.%player%.punkty}
  281. add 1 to {zloto.%player%}
  282. message "&6Trafiles na: &eZloto &7+1 pkt"
  283. execute console command "/playsound random.successful_hit %player%"
  284. chance of {@procentzelazo} + 0.3%:
  285. chance of 25%:
  286. drop 4 iron ingot
  287. add 4 to {drop.%player%.punkty}
  288. add 4 to {zelazo.%player%}
  289. message "&6Trafiles na: &8Zelazo [4] &7+4 pkt"
  290. execute console command "/playsound random.successful_hit %player%"
  291. else:
  292. chance of 25%:
  293. drop 3 iron ingot
  294. add 3 to {drop.%player%.punkty}
  295. add 3 to {zloto.%player%}
  296. message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
  297. execute console command "/playsound random.successful_hit %player%"
  298. else:
  299. chance of 25%:
  300. drop 2 iron ingot
  301. add 2 to {drop.%player%.punkty}
  302. add 2 to {zloto.%player%}
  303. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  304. execute console command "/playsound random.successful_hit %player%"
  305. else:
  306. chance of 25%:
  307. drop iron ingot
  308. add 2 to {drop.%player%.punkty}
  309. add 1 to {zloto.%player%}
  310. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  311. execute console command "/playsound random.successful_hit %player%"
  312. chance of {@procentemerald} + 0.3%:
  313. if block's y-coordinate is smaller than {@heightemerald}:
  314. chance of 25%:
  315. drop 4 emerald
  316. add 5 to {drop.%player%.punkty}
  317. add 4 to {emerald.%player%}
  318. message "&6Trafiles na: &2Emerald [4] &7+5 pkt"
  319. execute console command "/playsound random.successful_hit %player%"
  320. else:
  321. chance of 25%:
  322. drop 3 emerald
  323. add 4 to {drop.%player%.punkty}
  324. add 3 to {emerald.%player%}
  325. message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
  326. execute console command "/playsound random.successful_hit %player%"
  327. else:
  328. chance of 25%:
  329. drop 2 emerald
  330. add 3 to {drop.%player%.punkty}
  331. add 2 to {emerald.%player%}
  332. message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
  333. execute console command "/playsound random.successful_hit %player%"
  334. else:
  335. chance of 25%:
  336. drop emerald
  337. add 2 to {drop.%player%.punkty}
  338. add 1 to {emerald.%player%}
  339. message "&6Trafiles na: &2Emeraldy &7+2 pkt"
  340. execute console command "/playsound random.successful_hit %player%"
  341.  
  342.  
  343.  
  344. # D R O P G R A C Z A
  345. player has permissions "drop.gracz":
  346. chance of {@procentdiax}%:
  347. if block's y-coordinate is smaller than {@heightdiax}:
  348. drop diamond
  349. add 1 to {diamond.%player%}
  350. add 3 to {drop.%player%.punkty}
  351. message "&6Trafiles na: &bDiament &7+3 pkt"
  352. execute console command "/playsound random.successful_hit %player%"
  353. chance of {@procentzloto}%:
  354. if block's y-coordinate is smaller than {@heightzloto}:
  355. drop gold ingot
  356. add 1 to {drop.%player%.punkty}
  357. add 1 to {zloto.%player%}
  358. message "&6Trafiles na: &eZloto &7+1 pkt"
  359. execute console command "/playsound random.successful_hit %player%"
  360. chance of {@procentzelazo}%:
  361. drop iron ingot
  362. add 1 to {drop.%player%.punkty}
  363. add 1 to {zelazo.%player%}
  364. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  365. execute console command "/playsound random.successful_hit %player%"
  366. chance of {@procentemerald}%:
  367. if block's y-coordinate is smaller than {@heightemerald}:
  368. drop emerald
  369. add 2 to {drop.%player%.punkty}
  370. add 1 to {emerald.%player%}
  371. message "&6Trafiles na: &2Emerald &7+2 pkt"
  372. execute console command "/playsound random.successful_hit %player%"
  373. chance of {@procentredstone}%:
  374. if block's y-coordinate is smaller than {@heightredstone}:
  375. drop 3 redstone
  376. add 2 to {drop.%player%.punkty}
  377. add 3 to {redstone.%player%}
  378. message "&6Trafiles na: &cRedstone [3] &7+2 pkt"
  379. execute console command "/playsound random.successful_hit %player%"
  380. chance of {@procentwegiel}%:
  381. if block's y-coordinate is smaller than {@heightwegiel}:
  382. drop 1 coal
  383. add 1 to {drop.%player%.punkty}
  384. add 1 to {wegiel.%player%}
  385. message "&6Trafiles na: &0Wegiel &7+1 pkt"
  386. execute console command "/playsound random.successful_hit %player%"
  387. chance of {@procentlapis}%:
  388. if block's y-coordinate is smaller than {@heightlapis}:
  389. drop 5 lapis
  390. add 2 to {drop.%player%.punkty}
  391. add 5 to {lapis.%player%}
  392. message "&6Trafiles na: &3Lapis [5] &7+2 pkt"
  393. execute console command "/playsound random.successful_hit %player%"
  394. player has permissions "drop.gracz":
  395. if player's tool is a diamond pickaxe of fortune 1:
  396. chance of {@procentdiax}%:
  397. if block's y-coordinate is smaller than {@heightdiax}:
  398. chance of 50%:
  399. drop 2 diamond
  400. add 2 to {diamond.%player%}
  401. add 4 to {drop.%player%.punkty}
  402. message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
  403. execute console command "/playsound random.successful_hit %player%"
  404. else:
  405. add 3 to {drop.%player%.punkty}
  406. add 3 to {diamond.%player%}
  407. message "&6Trafiles na: &bDiament &7+2 pkt"
  408. drop diamond
  409. execute console command "/playsound random.successful_hit %player%"
  410. chance of {@procentzloto}%:
  411. if block's y-coordinate is smaller than {@heightzloto}:
  412. chance of 50%:
  413. drop 2 gold ingot
  414. add 2 to {zloto.%player%}
  415. add 2 to {drop.%player%.punkty}
  416. message "&6Trafiles na: &eZloto [2] &7+2 pkt"
  417. execute console command "/playsound random.successful_hit %player%"
  418. else:
  419. drop gold ingot
  420. add 1 to {zloto.%player%}
  421. add 1 to {drop.%player%.punkty}
  422. message "&6Trafiles na: &eZloto &7+2 pkt"
  423. execute console command "/playsound random.successful_hit %player%"
  424. chance of {@procentzelazo}%:
  425. chance of 50%:
  426. drop 2 iron ingot
  427. add 2 to {zelazo.%player%}
  428. add 2 to {drop.%player%.punkty}
  429. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  430. execute console command "/playsound random.successful_hit %player%"
  431. else:
  432. drop iron ingot
  433. add 1 to {zelazo.%player%}
  434. add 1 to {drop.%player%.punkty}
  435. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  436. execute console command "/playsound random.successful_hit %player%"
  437. chance of {@procentemerald}%:
  438. if block's y-coordinate is smaller than {@heightemerald}:
  439. chance of 50%:
  440. drop 2 emerald
  441. add 2 to {emerald.%player%}
  442. add 3 to {drop.%player%.punkty}
  443. message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
  444. execute console command "/playsound random.successful_hit %player%"
  445. else:
  446. drop emerald
  447. add 1 to {emerald.%player%}
  448. add 2 to {drop.%player%.punkty}
  449. message "&6Trafiles na: &2Emerald &7+2 pkt"
  450. execute console command "/playsound random.successful_hit %player%"
  451. player has permissions "drop.gracz":
  452. if tool of player is a 278 of fortune 2:
  453. chance of {@procentdiax}%:
  454. if block's y-coordinate is smaller than {@heightdiax}:
  455. chance of 33%:
  456. drop 3 diamond
  457. add 3 to {diamond.%player%}
  458. add 5 to {drop.%player%.punkty}
  459. message "&6Trafiles na: &bDiamenty [3] &7+5 pkt"
  460. execute console command "/playsound random.successful_hit %player%"
  461. else:
  462. chance of 33%:
  463. message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
  464. add 4 to {drop.%player%.punkty}
  465. add 2 to {diamond.%player%}
  466. drop 2 diamond
  467. execute console command "/playsound random.successful_hit %player%"
  468. else:
  469. chance of 33%:
  470. message "&6Trafiles na: &bDiament &7+3 pkt"
  471. add 3 to {drop.%player%.punkty}
  472. add 1 to {diamond.%player%}
  473. drop diamond
  474. execute console command "/playsound random.successful_hit %player%"
  475. chance of {@procentzloto}%:
  476. if block's y-coordinate is smaller than {@heightzloto}:
  477. chance of 33%:
  478. drop 3 gold ingot
  479. add 3 to {drop.%player%.punkty}
  480. add 3 to {zloto.%player%}
  481. message "&6Trafiles na: &6Zloto [3] &7+3 pkt"
  482. execute console command "/playsound random.successful_hit %player%"
  483. else:
  484. chance of 33%:
  485. drop 2 gold ingot
  486. add 2 to {drop.%player%.punkty}
  487. add 2 to {zloto.%player%}
  488. message "&6Trafiles na: &6Zloto [2] &7+2 pkt"
  489. execute console command "/playsound random.successful_hit %player%"
  490. else:
  491. chance of 33%:
  492. message "&6Trafiles na: &6Zloto &7+1 pkt"
  493. add 1 to {drop.%player%.punkty}
  494. add 1 to {zloto.%player%}
  495. drop gold ingot
  496. execute console command "/playsound random.successful_hit %player%"
  497. chance of {@procentzelazo}%:
  498. chance of 33%:
  499. message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
  500. add 3 to {drop.%player%.punkty}
  501. drop 3 iron ingot
  502. add 3 to {zelazo.%player%}
  503. execute console command "/playsound random.successful_hit %player%"
  504. else:
  505. chance of 33%:
  506. drop 2 iron ingot
  507. add 2 to {drop.%player%.punkty}
  508. add 2 to {zelazo.%player%}
  509. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  510. execute console command "/playsound random.successful_hit %player%"
  511. else:
  512. chance of 33%:
  513. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  514. drop iron ingot
  515. add 1 to {zelazo.%player%}
  516. add 1 to {drop.%player%.punkty}
  517. execute console command "/playsound random.successful_hit %player%"
  518. chance of {@procentemerald}%:
  519. if block's y-coordinate is smaller than {@heightemerald}:
  520. chance of 33%:
  521. drop 3 emerald
  522. add 4 to {drop.%player%.punkty}
  523. add 3 to {emerald.%player%}
  524. message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
  525. execute console command "/playsound random.successful_hit %player%"
  526. else:
  527. chance of 33%:
  528. message "&6Trafiles na: &2Emerald [2] &7+3 pkt"
  529. drop 2 emerald
  530. add 2 to {emerald.%player%}
  531. add 3 to {drop.%player%.punkty}
  532. execute console command "/playsound random.successful_hit %player%"
  533. else:
  534. chance of 33%:
  535. message "&6Trafiles na: &2Emerald &7+2 pkt"
  536. drop emerald
  537. add 2 to {drop.%player%.punkty}
  538. add 1 to {emerald.%player%}
  539. execute console command "/playsound random.successful_hit %player%"
  540. player has permissions "drop.gracz":
  541. if tool of player is a 278 of fortune 3:
  542. chance of {@procentdiax}%:
  543. if block's y-coordinate is smaller than {@heightdiax}:
  544. chance of 25%:
  545. message "&6Trafiles na: &2Diamenty [4] &7+6 pkt"
  546. add 6 to {drop.%player%.punkty}
  547. drop 4 diamond
  548. add 4 to {diamond.%player%}
  549. execute console command "/playsound random.successful_hit %player%"
  550. else:
  551. chance of 25%:
  552. message "&6Trafiles na: &2Diamenty [3] &7+5 pkt"
  553. add 5 to {drop.%player%.punkty}
  554. drop 3 diamond
  555. add 3 to {diamond.%player%}
  556. execute console command "/playsound random.successful_hit %player%"
  557. else:
  558. chance of 25%:
  559. message "&6Trafiles na: &2Diamenty [2] &7+4 pkt"
  560. add 4 to {drop.%player%.punkty}
  561. drop 2 diamond
  562. add 2 to {diamond.%player%}
  563. execute console command "/playsound random.successful_hit %player%"
  564. else:
  565. chance of 25%:
  566. message "&6Trafiles na: &2Diamenty &7+3 pkt"
  567. add 3 to {drop.%player%.punkty}
  568. add 1 to {diamond.%player%}
  569. drop diamond
  570. execute console command "/playsound random.successful_hit %player%"
  571. chance of {@procentzloto}%:
  572. if block's y-coordinate is smaller than {@heightzloto}:
  573. chance of 25%:
  574. drop 4 gold ingot
  575. add 4 to {drop.%player%.punkty}
  576. add 4 to {zloto.%player%}
  577. message "&6Trafiles na: &eZloto [4] &7+4 pkt"
  578. execute console command "/playsound random.successful_hit %player%"
  579. else:
  580. chance of 25%:
  581. drop 3 gold ingot
  582. add 3 to {drop.%player%.punkty}
  583. add 3 to {zloto.%player%}
  584. message "&6Trafiles na: &eZloto [3] &7+3 pkt"
  585. execute console command "/playsound random.successful_hit %player%"
  586. else:
  587. chance of 25%:
  588. drop 2 gold ingot
  589. add 2 to {drop.%player%.punkty}
  590. add 2 to {zloto.%player%}
  591. message "&6Trafiles na: &eZloto [2] &7+2 pkt"
  592. execute console command "/playsound random.successful_hit %player%"
  593. else:
  594. chance of 25%:
  595. drop gold ingot
  596. add 1 to {drop.%player%.punkty}
  597. add 1 to {zloto.%player%}
  598. message "&6Trafiles na: &eZloto &7+1 pkt"
  599. execute console command "/playsound random.successful_hit %player%"
  600. chance of {@procentzelazo}%:
  601. chance of 25%:
  602. drop 4 iron ingot
  603. add 4 to {drop.%player%.punkty}
  604. add 4 to {zelazo.%player%}
  605. message "&6Trafiles na: &8Zelazo [4] &7+4 pkt"
  606. execute console command "/playsound random.successful_hit %player%"
  607. else:
  608. chance of 25%:
  609. drop 3 iron ingot
  610. add 3 to {drop.%player%.punkty}
  611. add 3 to {zloto.%player%}
  612. message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
  613. execute console command "/playsound random.successful_hit %player%"
  614. else:
  615. chance of 25%:
  616. drop 2 iron ingot
  617. add 2 to {drop.%player%.punkty}
  618. add 2 to {zloto.%player%}
  619. message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
  620. execute console command "/playsound random.successful_hit %player%"
  621. else:
  622. chance of 25%:
  623. drop iron ingot
  624. add 2 to {drop.%player%.punkty}
  625. add 1 to {zloto.%player%}
  626. message "&6Trafiles na: &8Zelazo &7+1 pkt"
  627. execute console command "/playsound random.successful_hit %player%"
  628. chance of {@procentemerald} + 0.3%:
  629. if block's y-coordinate is smaller than {@heightemerald}:
  630. chance of 25%:
  631. drop 4 emerald
  632. add 5 to {drop.%player%.punkty}
  633. add 4 to {emerald.%player%}
  634. message "&6Trafiles na: &2Emerald [4] &7+5 pkt"
  635. execute console command "/playsound random.successful_hit %player%"
  636. else:
  637. chance of 25%:
  638. drop 3 emerald
  639. add 4 to {drop.%player%.punkty}
  640. add 3 to {emerald.%player%}
  641. message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
  642. execute console command "/playsound random.successful_hit %player%"
  643. else:
  644. chance of 25%:
  645. drop 2 emerald
  646. add 3 to {drop.%player%.punkty}
  647. add 2 to {emerald.%player%}
  648. message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
  649. execute console command "/playsound random.successful_hit %player%"
  650. else:
  651. chance of 25%:
  652. drop emerald
  653. add 2 to {drop.%player%.punkty}
  654. add 1 to {emerald.%player%}
  655. message "&6Trafiles na: &2Emeraldy &7+2 pkt"
  656. execute console command "/playsound random.successful_hit %player%"
  657. if {drop.%player%.lvl} is 1:
  658. If {drop.%player%.punkty} is greater than 15:
  659. set {drop.%player%.lvl} to 2
  660. drop 35 xp
  661. execute console command "/playsound random.levelup %player%"
  662. execute console command "/playsound random.levelup %player%"
  663. execute console command "/playsound random.levelup %player%"
  664. send "&7Awansowales na &92 &7poziom kopania!"
  665. if {drop.%player%.lvl} is 2:
  666. If {drop.%player%.punkty} is greater than 50:
  667. broadcast "&7Gracz &9%player% &7awansowal na &93 &7poziom kopania!"
  668. send "&7Nagroda: &9Diamentowy Kilof"
  669. drop 1 diamond pickaxe
  670. drop 45 xp
  671. execute console command "/playsound random.levelup %player%"
  672. execute console command "/playsound random.levelup %player%"
  673. execute console command "/playsound random.levelup %player%"
  674. set {drop.%player%.lvl} to 3
  675. if {drop.%player%.lvl} is 3:
  676. If {drop.%player%.punkty} is greater than 125:
  677. send "&7Awansowales na &94 &7poziom kopania!"
  678. drop 55 xp
  679. execute console command "/playsound random.levelup %player%"
  680. execute console command "/playsound random.levelup %player%"
  681. execute console command "/playsound random.levelup %player%"
  682. set {drop.%player%.lvl} to 4
  683. if {drop.%player%.lvl} is 4:
  684. If {drop.%player%.punkty} is greater than 250:
  685. send "&7Awansowales na &95 &7poziom kopania!"
  686. execute console command "/playsound random.levelup %player%"
  687. execute console command "/playsound random.levelup %player%"
  688. execute console command "/playsound random.levelup %player%"
  689. drop 65 xp
  690. set {drop.%player%.lvl} to 5
  691. if {drop.%player%.lvl} is 5:
  692. If {drop.%player%.punkty} is greater than 450:
  693. send "&7Awansowales na &96 &7poziom kopania!"
  694. execute console command "/playsound random.levelup %player%"
  695. execute console command "/playsound random.levelup %player%"
  696. execute console command "/playsound random.levelup %player%"
  697. drop 75 xp
  698. broadcast "&7Gracz &9%player% &7awansowal na &96 &7poziom kopania!"
  699. send "&7Nagroda: &9Diamentowy Kilof z wydajnoscia 3!"
  700. drop 1 278 of efficiency 3
  701. set {drop.%player%.lvl} to 6
  702. if {drop.%player%.lvl} is 6:
  703. If {drop.%player%.punkty} is greater than 650:
  704. send "&7Awansowales na &97 &7poziom kopania!"
  705. drop 85 xp
  706. execute console command "/playsound random.levelup %player%"
  707. execute console command "/playsound random.levelup %player%"
  708. execute console command "/playsound random.levelup %player%"
  709. set {drop.%player%.lvl} to 7
  710. if {drop.%player%.lvl} is 7:
  711. If {drop.%player%.punkty} is greater than 800:
  712. send "&7Awansowales na &98 &7poziom kopania!"
  713. drop 95 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. set {drop.%player%.lvl} to 8
  718. if {drop.%player%.lvl} is 8:
  719. If {drop.%player%.punkty} is greater than 1050:
  720. broadcast "&7Gracz &9%player% &7awansowal na &99 &7poziom kopania!"
  721. send "&7Awansowales na &99 &7poziom kopania!"
  722. execute console command "/playsound random.levelup %player%"
  723. execute console command "/playsound random.levelup %player%"
  724. execute console command "/playsound random.levelup %player%"
  725. drop 105 xp
  726. send "&7Nagroda: &9Diamentowy Kilof z wydajnoscia 4 i szczesciem 2!"
  727. drop 1 278 of efficiency 4 and fortune 2
  728. set {drop.%player%.lvl} to 9
  729. if {drop.%player%.lvl} is 9:
  730. If {drop.%player%.punkty} is greater than 1250:
  731. send "&7Awansowales na &910 &7poziom kopania!"
  732. drop 1 278 of fortune 1
  733. execute console command "/playsound random.levelup %player%"
  734. execute console command "/playsound random.levelup %player%"
  735. execute console command "/playsound random.levelup %player%"
  736. drop 115 xp
  737. set {drop.%player%.lvl} to 10
  738. if {drop.%player%.lvl} is 10:
  739. If {drop.%player%.punkty} is greater than 1500:
  740. drop 125 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. send "&7Awansowales na &911 &7poziom kopania!"
  745. set {drop.%player%.lvl} to 11
  746. if {drop.%player%.lvl} is 11:
  747. If {drop.%player%.punkty} is greater than 1650:
  748. set {drop.%player%.lvl} to 12
  749. drop 135 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. broadcast "&7Gracz &9%player% &7awansowal na &912 &7poziom kopania!"
  754. send "&7Awansowales na &912 &7poziom kopania!"
  755. send "&7Nagroda: &9Diamentowy Kilof z wydajnoscia 4 i szczesciem 3!"
  756. drop 1 278 of efficiency 4 and fortune 3
  757. if {drop.%player%.lvl} is 12:
  758. If {drop.%player%.punkty} is greater than 1800:
  759. send "&7Awansowales na &913 &7poziom kopania!"
  760. drop 145 xp
  761. execute console command "/playsound random.levelup %player%"
  762. execute console command "/playsound random.levelup %player%"
  763. execute console command "/playsound random.levelup %player%"
  764. set {drop.%player%.lvl} to 13
  765. if {drop.%player%.lvl} is 13:
  766. If {drop.%player%.punkty} is greater than 2100:
  767. send "&7Awansowales na &914 &7poziom kopania!"
  768. drop 155 xp
  769. execute console command "/playsound random.levelup %player%"
  770. execute console command "/playsound random.levelup %player%"
  771. execute console command "/playsound random.levelup %player%"
  772. set {drop.%player%.lvl} to 14
  773. if {drop.%player%.lvl} is 14:
  774. If {drop.%player%.punkty} is greater than 2200:
  775. send "&7Awansowales na &915 &7poziom kopania!"
  776. broadcast "&7Gracz &9%player% &7awansowal na &915 &7poziom kopania!"
  777. drop 165 xp
  778. execute console command "/playsound random.levelup %player%"
  779. execute console command "/playsound random.levelup %player%"
  780. execute console command "/playsound random.levelup %player%"
  781. send "&7Gracz &9%player% &7awansowal na &915 &7poziom kopania!"
  782. send "&7Awansowales na &915 &7poziom kopania!"
  783. send "&7Nagroda: &9Diamentowy Kilof z wydajnoscia 5 i szczesciem 3!"
  784. drop 1 278 of efficiency 5 and fortune 3
  785. set {drop.%player%.lvl} to 15
  786. if {drop.%player%.lvl} is 15:
  787. If {drop.%player%.punkty} is greater than 2500:
  788. send "&7Awansowales na &916 &7poziom kopania!"
  789. drop 175 xp
  790. execute console command "/playsound random.levelup %player%"
  791. execute console command "/playsound random.levelup %player%"
  792. execute console command "/playsound random.levelup %player%"
  793. set {drop.%player%.lvl} to 16
  794. if {drop.%player%.lvl} is 16:
  795. If {drop.%player%.punkty} is greater than 2800:
  796. send "&7Awansowales na &917 &7poziom kopania!"
  797. drop 185 xp
  798. execute console command "/playsound random.levelup %player%"
  799. execute console command "/playsound random.levelup %player%"
  800. execute console command "/playsound random.levelup %player%"
  801. set {drop.%player%.lvl} to 17
  802. if {drop.%player%.lvl} is 17:
  803. If {drop.%player%.punkty} is greater than 3000:
  804. drop 195 xp
  805. execute console command "/playsound random.levelup %player%"
  806. execute console command "/playsound random.levelup %player%"
  807. execute console command "/playsound random.levelup %player%"
  808. set {drop.%player%.lvl} to 18
  809. broadcast "&7Gracz &9%player% &7awansowal na &918 &7poziom kopania!"
  810. send "&7Awansowales na &918 &7poziom kopania!"
  811. send "&7Nagroda: &9Diamentowa Zbroja, buty ochrona 4!"
  812. drop 1 311 of protection 4
  813. drop 1 313 of protection 4
  814. if {drop.%player%.lvl} is 18:
  815. If {drop.%player%.punkty} is greater than 3250:
  816. send "&7Awansowales na &919 &7poziom kopania!"
  817. drop 205 xp
  818. execute console command "/playsound random.levelup %player%"
  819. execute console command "/playsound random.levelup %player%"
  820. execute console command "/playsound random.levelup %player%"
  821. set {drop.%player%.lvl} to 19
  822. if {drop.%player%.lvl} is 19:
  823. If {drop.%player%.punkty} is greater than 3500:
  824. send "&7Awansowales na &920 &7poziom kopania!"
  825. execute console command "/playsound random.levelup %player%"
  826. execute console command "/playsound random.levelup %player%"
  827. execute console command "/playsound random.levelup %player%"
  828. drop 215 xp
  829. set {drop.%player%.lvl} to 20
  830. if {drop.%player%.lvl} is 20:
  831. If {drop.%player%.punkty} is greater than 3700:
  832. drop 225 xp
  833. execute console command "/playsound random.levelup %player%"
  834. execute console command "/playsound random.levelup %player%"
  835. execute console command "/playsound random.levelup %player%"
  836. set {drop.%player%.lvl} to 21
  837. broadcast "&7Gracz &9%player% &7awansowal na &921 &7poziom kopania!"
  838. send "&7Awansowales na &921 &7poziom kopania!"
  839. send "&7Nagroda: &9Diamentowa Zbroja, buty ochrona 4!"
  840. drop 1 312 of protection 4
  841. drop 1 310 of protection 4
  842. if {drop.%player%.lvl} is 21:
  843. If {drop.%player%.punkty} is greater than 4000:
  844. set {drop.%player%.lvl} to 22
  845. drop 235 xp
  846. execute console command "/playsound random.levelup %player%"
  847. execute console command "/playsound random.levelup %player%"
  848. execute console command "/playsound random.levelup %player%"
  849. send "&7Awansowales na &922 &7poziom kopania!"
  850. if {drop.%player%.lvl} is 22:
  851. If {drop.%player%.punkty} is greater than 4500:
  852. send "&7Awansowales na &923 &7poziom kopania!"
  853. drop 245 xp
  854. execute console command "/playsound random.levelup %player%"
  855. execute console command "/playsound random.levelup %player%"
  856. execute console command "/playsound random.levelup %player%"
  857. set {drop.%player%.lvl} to 23
  858. if {drop.%player%.lvl} is 23:
  859. If {drop.%player%.punkty} is greater than 5000:
  860. drop 255 xp
  861. execute console command "/playsound random.levelup %player%"
  862. execute console command "/playsound random.levelup %player%"
  863. execute console command "/playsound random.levelup %player%"
  864. set {drop.%player%.lvl} to 24
  865. broadcast "&7Gracz &9%player% &7awansowal na &921 &7poziom kopania!"
  866. send "&7Awansowales na &921 &7poziom kopania!"
  867. send "&7Nagroda: &92 KOXY!"
  868. drop 2 enchanted golden apple
  869. if {drop.%player%.lvl} is 24:
  870. If {drop.%player%.punkty} is greater than 5700:
  871. send "&7Awansowales na &925 &7poziom kopania!"
  872. drop 265 xp
  873. execute console command "/playsound random.levelup %player%"
  874. execute console command "/playsound random.levelup %player%"
  875. execute console command "/playsound random.levelup %player%"
  876. set {drop.%player%.lvl} to 25
  877. if {drop.%player%.lvl} is 25:
  878. If {drop.%player%.punkty} is greater than 6400:
  879. send "&7Awansowales na &926 &7poziom kopania!"
  880. drop 275 xp
  881. execute console command "/playsound random.levelup %player%"
  882. execute console command "/playsound random.levelup %player%"
  883. execute console command "/playsound random.levelup %player%"
  884. set {drop.%player%.lvl} to 26
  885. if {drop.%player%.lvl} is 26:
  886. If {drop.%player%.punkty} is greater than 7000:
  887. drop 285 xp
  888. execute console command "/playsound random.levelup %player%"
  889. execute console command "/playsound random.levelup %player%"
  890. execute console command "/playsound random.levelup %player%"
  891. set {drop.%player%.lvl} to 27
  892. broadcast "&7Gracz &9%player% &7awansowal na &927 &7poziom kopania!"
  893. send "&7Awansowales na &927 &7poziom kopania!"
  894. send "&7Nagroda: &94 KOXY!"
  895. drop 4 enchanted golden apple
  896. if {drop.%player%.lvl} is 27:
  897. If {drop.%player%.punkty} is greater than 8000:
  898. send "&7Awansowales na &928 &7poziom kopania!"
  899. drop 295 xp
  900. execute console command "/playsound random.levelup %player%"
  901. execute console command "/playsound random.levelup %player%"
  902. execute console command "/playsound random.levelup %player%"
  903. set {drop.%player%.lvl} to 28
  904. if {drop.%player%.lvl} is 28:
  905. If {drop.%player%.punkty} is greater than 9000:
  906. send "&7Awansowales na &929 &7poziom kopania!"
  907. drop 305 xp
  908. execute console command "/playsound random.levelup %player%"
  909. execute console command "/playsound random.levelup %player%"
  910. execute console command "/playsound random.levelup %player%"
  911. set {drop.%player%.lvl} to 29
  912. if {drop.%player%.lvl} is 29:
  913. If {drop.%player%.punkty} is greater than 10000:
  914. drop 315 xp
  915. execute console command "/playsound random.levelup %player%"
  916. execute console command "/playsound random.levelup %player%"
  917. execute console command "/playsound random.levelup %player%"
  918. set {drop.%player%.lvl} to 30
  919. broadcast "&7Gracz &9%player% &7awansowal na &930 [Max] &7poziom kopania!"
  920. send "&7Awansowales na &921 &7poziom kopania!"
  921. # Z A M I A N A R O D #
  922. on mine gold ore:
  923. cancel event
  924. set block to stone
  925. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  926. on mine iron ore:
  927. cancel event
  928. set block to stone
  929. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  930. on mine coal ore:
  931. cancel event
  932. set block to stone
  933. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  934. on mine lapis lazuli ore:
  935. cancel event
  936. set block to stone
  937. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  938. on mine diamond ore:
  939. cancel event
  940. set block to stone
  941. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  942. on mine inactive redstone ore:
  943. cancel event
  944. set block to stone
  945. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  946. on mine active redstone ore:
  947. cancel event
  948. set block to stone
  949. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  950. on mine emerald ore:
  951. cancel event
  952. set block to stone
  953. send "&7Wszystko wydobedziesz z kamiena &9&l/kamien"
  954. # K O M E N D A /DAJPOZIOM #
  955. command /dajpoziom:
  956. trigger:
  957. if player has permission "svguns.admin":
  958. set {drop.%player%.lvl} to 30
  959. set {drop.%player%.punkty} to 10001
  960. broadcast "&7Gracz &9%player% &7awansowal na &930 [Max] &7poziom kopania!"
  961. stop
  962. # K O M E N D A /KAMIEN #
  963.  
  964. command /kamien [<text>]:
  965. trigger:
  966. send "&9&l»&9&l&m-----&r&9&l« &7D R O P &9&l»&9&l&m-----&r&9&l«"
  967. send "&e&o >> &9Diament: &70.60%% &6+ &70.20%% &8| &6Vip +0.30%%"
  968. send "&e&o >> &9Szmaragd: &70.70%% &6+ &70.20%% &8| &6Vip +0.30%%"
  969. send "&e&o >> &9Zloto: &71.10%% &6+ &70.20%% &8| &6Vip +0.30%%"
  970. send "&e&o >> &9Zelazo: &71.90%% &6+ &70.20%% &8| &6Vip +0.30%%"
  971. send "&e&o >> &9Redstone: &70.80%% &6+ &70.20%% &8| &6Vip +0.30%%"
  972. send "&e&o >> &9Wegiel: &71.00%% &6+ &70.20%% &8| &6Vip +0.30%%"
  973. send "&e&o >> &9Lapis: &70.5%% &6+ &70.20%% &8| &6Vip +0.30%%"
  974. send "&e&o >> &9Proch: &71.00%% &6+ &70.20%%"
  975. send "&e&o >> &9Perla Endermana: &70.003%% &8| &6Vip +0.004%%"
  976. send "&9&l»&9&l&m-----&r&9&l« &7D R O P &9&l»&9&l&m-----&r&9&l«"
  977.  
  978. # K O M E N D A /PUNKTY #
  979.  
  980. command /punkty:
  981. trigger:
  982. if {drop.%player%.lvl} is not set:
  983. set {drop.%player%.lvl} to 1
  984. stop
  985. if {drop.%player%.lvl} is equal to 1:
  986. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&925&7, posiadasz &91 POZIOM&7."
  987. stop
  988. if {drop.%player%.lvl} is equal to 2:
  989. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&950&7, posiadasz &92 POZIOM&7."
  990. stop
  991. if {drop.%player%.lvl} is equal to 3:
  992. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&9150&7, posiadasz &93 POZIOM&7."
  993. stop
  994. if {drop.%player%.lvl} is equal to 4:
  995. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&9250&7, posiadasz &94 POZIOM&7."
  996. stop
  997. if {drop.%player%.lvl} is equal to 5:
  998. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&9450&7, posiadasz &95 POZIOM&7."
  999. stop
  1000. if {drop.%player%.lvl} is equal to 6:
  1001. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&9650&7, posiadasz &96 POZIOM&7."
  1002. stop
  1003. if {drop.%player%.lvl} is equal to 7:
  1004. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&9800&7, posiadasz &97 POZIOM&7."
  1005. stop
  1006. if {drop.%player%.lvl} is equal to 8:
  1007. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&91050&7, posiadasz &98 POZIOM&7."
  1008. stop
  1009. if {drop.%player%.lvl} is equal to 9:
  1010. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&91250&7, posiadasz &99 POZIOM&7."
  1011. stop
  1012. if {drop.%player%.lvl} is equal to 10:
  1013. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&91500&7, posiadasz &910 POZIOM&7."
  1014. stop
  1015. if {drop.%player%.lvl} is equal to 11:
  1016. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&91650&7, posiadasz &911 POZIOM&7."
  1017. stop
  1018. if {drop.%player%.lvl} is equal to 12:
  1019. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&91800&7, posiadasz &912 POZIOM&7."
  1020. stop
  1021. if {drop.%player%.lvl} is equal to 13:
  1022. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&92100&7, posiadasz &913 POZIOM&7."
  1023. stop
  1024. if {drop.%player%.lvl} is equal to 14:
  1025. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&92200&7, posiadasz &914 POZIOM&7."
  1026. stop
  1027. if {drop.%player%.lvl} is equal to 15:
  1028. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&92500&7, posiadasz &915 POZIOM&7."
  1029. stop
  1030. if {drop.%player%.lvl} is equal to 16:
  1031. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&92800&7, posiadasz &916 POZIOM&7."
  1032. stop
  1033. if {drop.%player%.lvl} is equal to 17:
  1034. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&93000&7, posiadasz &917 POZIOM&7."
  1035. stop
  1036. if {drop.%player%.lvl} is equal to 18:
  1037. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&93250&7, posiadasz &918 POZIOM&7."
  1038. stop
  1039. if {drop.%player%.lvl} is equal to 19:
  1040. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&93500&7, posiadasz &919 POZIOM&7."
  1041. stop
  1042. if {drop.%player%.lvl} is equal to 20:
  1043. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&93700&7, posiadasz &920 POZIOM&7."
  1044. stop
  1045. if {drop.%player%.lvl} is equal to 21:
  1046. send "&7Twoja ilosc punktow to: &9%{drop.%player%.punkty}%&7/&94000&7, posiadasz &921 POZIOM&7."
  1047. stop
  1048. if {drop.%player%.lvl} is equal to 22:
  1049.  
  1050.  
  1051. on mine stone:
  1052. chance of 1%:
  1053. chance of 25%:
  1054. drop 4 gunpowder
  1055. message "&6Trafiles na: &8Proch [4]"
  1056. else:
  1057. chance of 25%:
  1058. drop 3 gunpowder
  1059. message "&6Trafiles na: &8Proch [3]"
  1060. else:
  1061. chance of 25%:
  1062. drop 2 gunpowder
  1063. message "&6Trafiles na: &8Proch [2]"
  1064. else:
  1065. chance of 25%:
  1066. drop gunpowder
  1067. message "&6Trafiles na: &8Proch"
  1068. on mine stone:
  1069. chance of 0.001%:
  1070. chance of 25%:
  1071. drop 2 ender pearl
  1072. message "&6Trafiles na: &5Perle Endermana [2]"
  1073. else:
  1074. chance of 0.003%:
  1075. drop 1 ender pearl
  1076. message "&6Trafiles na: &5Perle Endermana"
  1077. on mine stone:
  1078. chance of 100%:
  1079. drop 3 xp
  1080. add 1 to {kamien.%player%}
  1081.  
  1082. command /statystyki [<offlineplayer>]:
  1083. trigger:
  1084. if arg-1 is set:
  1085. send "&9&l»&9&l&m-----&r&9&l« &7STATYSTYKI &9&l»&9&l&m-----&r&9&l«"
  1086. send "&e&o >> &7Gracz: &9%arg 1%"
  1087. send "&e&o >> &7Poziom (kopania): &9%{drop.%arg-1%.lvl}%"
  1088. send "&e&o >> &7Poziom (pasek): &9%level of arg-1%"
  1089. send "&e&o >> &7Wykopal diamentow: &9%{diamond.%arg-1%}%"
  1090. send "&e&o >> &7Wykopal szmaragdy: &9%{emerald.%arg-1%}%"
  1091. send "&e&o >> &7Wykopal zelaza: &9%{zelazo.%arg-1%}%"
  1092. send "&e&o >> &7Wykopal zlota: &9%{zloto.%arg-1%}%"
  1093. send "&e&o >> &7Wykopal Lapizu: &9%{lapis.%arg-1%}%"
  1094. send "&e&o >> &7Wykopal proszku redstone: &9%{redstone.%arg-1%}%"
  1095. send "&e&o >> &7Wykopal wegla: &9%{wegiel.%arg-1%}%"
  1096. send "&e&o >> &7Wykopany &8KAMIEN&7: &9%{kamien.%arg-1%}%"
  1097. send "&9&l»&9&l&m-----&r&9&l« &7STATYSTYKI &9&l»&9&l&m-----&r&9&l«"
  1098. stop
  1099. else:
  1100. send "&9&l»&9&l&m-----&r&9&l« &7STATYSTYKI &9&l»&9&l&m-----&r&9&l«"
  1101. send "&e&o >> &7Gracz: &9%player%"
  1102. send "&e&o >> &7Poziom (kopania): &9%{drop.%player%.lvl}%"
  1103. send "&e&o >> &7Poziom (pasek): &9%level of player%"
  1104. send "&e&o >> &7Wykopal diamentow: &9%{diamond.%player%}%"
  1105. send "&e&o >> &7Wykopal szmaragdy: &9%{emerald.%player%}%"
  1106. send "&e&o >> &7Wykopal zelaza: &9%{zelazo.%player%}%"
  1107. send "&e&o >> &7Wykopal zlota: &9%{zloto.%player%}%"
  1108. send "&e&o >> &7Wykopal Lapizu: &9%{lapis.%arg-1%}%"
  1109. send "&e&o >> &7Wykopal proszku redstone: &9%{redstone.%player%}%"
  1110. send "&e&o >> &7Wykopal wegla: &9%{wegiel.%player%}%"
  1111. send "&e&o >> &7Wykopany &8KAMIEN&7: &9%{kamien.%player%}%"
  1112. send "&9&l»&9&l&m-----&r&9&l« &7STATYSTYKI &9&l»&9&l&m-----&r&9&l«"
  1113. stop
  1114.  
  1115. command /resetuj:
  1116. trigger:
  1117. if player has permission "svguns.reset":
  1118. loop all players:
  1119. set {drop.%loop-player%.lvl} to 0
  1120. send "&7Levele zostaly zresetowane!"
  1121. stop
  1122. else:
  1123. send " &8» &7Nie masz permissji do &9(svguns.reset)"
Advertisement
Add Comment
Please, Sign In to add comment