Guest User

Untitled

a guest
May 10th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.90 KB | None | 0 0
  1. #================================#
  2. # Script by Dzikoysk #
  3. # Name: SafeOre #
  4. # Version: 1.4 Release #
  5. # Skript: Beta 10 #
  6. #================================#
  7.  
  8. #================================#
  9. # Licencja | SafeOre #
  10. # by Dzikoysk #
  11. #--------------------------------#
  12. # ~ Nie zezwalam na: #
  13. # - Zarabianie na skrypcie #
  14. # - Przerabianie/modyfikowanie #
  15. # zmienianie tresci dla grona #
  16. # publicznego #
  17. # - Wykorzystywanie kodu skryptu #
  18. # w swoich skryptach #
  19. # - Udostepnianiu skryptu innym* #
  20. # - Usuwanie tresci #
  21. # zawierajacych autora #
  22. # - Podszywaniu sie pod autora #
  23. # * - Tylko za zgoda autora #
  24. #--------------------------------#
  25. # Mylnie odczytana licencja nie #
  26. # zwalnia z przestrzegania jej #
  27. #================================#
  28.  
  29. #---------------------------------------------------------------#
  30. # #
  31. # #
  32. # #
  33. # Config #
  34. # #
  35. # #
  36. # #
  37. #---------------------------------------------------------------#
  38.  
  39. #------#
  40. # Info #
  41. #------#
  42.  
  43. # Skrypt z obecnymi ustawieniami dziala w pelni poprawnie. Dlatego umiejetnie posluguj sie konfiguracja, a wszystko bedzie dobrze.
  44. # Krótkie wyjasnienie/wstep: W wielu wiadmosciach widoczne sa rzeczy typu: {@tekst}. Sa to zmienne.
  45. # Pozwalaja one wlasnie na latwa konfiguracje róznych wartosci, oraz na wyswietlanie ustawionych tekstów.
  46. # Dlatego zmieniajac tekst zrozum do czego sluza, bedzie Ci prosciej dopasowac np. tekst do swoich potrzeb.
  47. # Skrypt jest w pelni do konfiguracji i prawie wszystko da sie zmienic za pomoa ustawien!
  48. # Powodzenia! ;)
  49.  
  50.  
  51. #---------#
  52. # General #
  53. #---------#
  54.  
  55. # Options - Config / Ustawienia skryptu
  56. options:
  57. # Tag skryptu
  58. tag: &6**
  59.  
  60. # Ruda diamentu
  61. diamondore: diamond ore
  62. # Ruda emeraldu
  63. emeraldore: emerald ore
  64. # Ruda zelaza
  65. ironore: iron ore
  66. # Ruda zlota
  67. goldore: gold ore
  68. # Ruda redstona
  69. redstoneore: redstone ore
  70. # Ruda Lapisu
  71. lapisore: lapis lazuli ore
  72.  
  73. # Na co ma sie zminic ruda, która ktos próbuje wykopac, domyslnie stone. Aby ruda znikala wpisz: air
  74. set: air
  75.  
  76. # Przedmity wpadajace z poszczegolnych rud:
  77. # Diament
  78. item1: diamond
  79. # Emerald
  80. item2: emerald
  81. # Zelazo
  82. item3: iron ingot
  83. # Zloto
  84. item4: gold ingot
  85. # Redstone:
  86. item5: 5 redstone
  87. # Lapis:
  88. item6: 6 lapis lazuli
  89.  
  90.  
  91.  
  92. # =====================================
  93. # Procentowe szanse dla zwyklych graczy
  94. # =====================================
  95. #Procenty - Nie mozna pisac wartosci typu o.4, 1.5.
  96. #Aby takowe uzyskac wpisz 4 dla o.4, 15 dla 1.5 itd.
  97. # ---------------------
  98. # Procentowa szana
  99. # Wyswietlany procent
  100. #----------------------
  101. # Diament:
  102. szansa: 7
  103. procent: 0.7
  104. # Emerald:
  105. szansa1: 1
  106. procent1: 1
  107. # Zelazo:
  108. szansa2: 25
  109. procent2: 2.5
  110. # Zloto
  111. szansa3: 14
  112. procent3: 1.4
  113. # Redstone
  114. szansa4: 20
  115. procent4: 2
  116. # Lapis
  117. szansa5: 9
  118. procent5: 0.9
  119. # ==========================================================
  120. # Procentowe szanse dla grupy VIP. (Odpowiednie permissions)
  121. # ==========================================================
  122. # ---------------------
  123. # Procentowa szana
  124. # Wyswietlany procent
  125. #----------------------
  126. # Diament:
  127. vipszansa: 14
  128. vipprocent: 1.4
  129. # Emerald:
  130. vipszansa1: 2
  131. vipprocent1: 2
  132. # Zelazo:
  133. vipszansa2: 50
  134. vipprocent2: 5
  135. # Zloto:
  136. vipszansa3: 28
  137. vipprocent3: 2.8
  138. # Redstone:
  139. vipszansa4: 30
  140. vipprocent4: 3
  141. # Lapis:
  142. vipszansa5: 15
  143. vipprocent5: 1.5
  144.  
  145.  
  146.  
  147. # Wysokosci wydobycia:
  148. # Diament
  149. yDiamond: 30
  150. # Emerald
  151. yEmerald: 250
  152. # Zelazo
  153. yIron: 250
  154. # Zloto
  155. yGold: 250
  156. # Redstone
  157. yRedstone: 50
  158. #Lapis
  159. yLapis: 50
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. #------------------------------------------#
  169. # Bezsensowna, ale możlwia konfiguracja <: #
  170. #------------------------------------------#
  171.  
  172.  
  173. # Wiadmosc, która pokaze sie po zniszczeniu rudy diamentu
  174. message5: &bDiamenty &7wypadaja tylko ze stone. Masz na to
  175. msg1: {@procent}
  176. msg2: &6procent &7szans
  177. # Wiadmosc, która pokaze sie po zniszczeniu rudy emeraldu
  178. message6: &aEmeraldy &7wypadaja tylko ze stone. Masz na to
  179. msg3: {@procent1}
  180. msg4: &6procent &7szans
  181. # Wiadmosc, która pokaze sie po zniszczeniu rudy zelaza
  182. message7: &fZelazo &7wypada tylko ze stone. Masz na to
  183. msg5: {@procent2}
  184. msg6: &6procent &7szans
  185. # Wiadmosc, która pokaze sie po zniszczeniu rudy zlota
  186. message8: &6Zloto &7wypada tylko ze stone. Masz na to
  187. msg7: {@procent3}
  188. msg8: &6procent &7szans
  189. # Wiadmosc, która pokaze sie po zniszczeniu rudy redstona
  190. message12: &cRedstone &7wypada tylko ze stone. Masz na to
  191. msg9: {@procent4}
  192. msg10: &6procent &7szans
  193. # Wiadmosc, która pokaze sie po zniszczeniu rudy lapisu
  194. message11: &9Lapis &7wypada tylko ze stone. Masz na to
  195. msg11: {@procent5}
  196. msg12: &6procent &7szans
  197.  
  198.  
  199.  
  200. # Alias do komendy /stone [Alias - Inna nazwa tej samej komendy]
  201. alias1: kamien
  202.  
  203. # Tego radze nie konfigurowac pod wzgledem wygladu - w znaczeniu ulozenia tesktu
  204. # Tu niestety musialem wklepac niektóre rzeczy na sztywno w kod, dlatego nie radze dotykac sie
  205. # linijek send7, send8, send9 i send10 poniewaz tu sa one tylko czysto informacyjne.
  206. # Wiadmosc, która zobaczy gracz po wpisaniu komendy /stone
  207. # Jedna linijka = 1 linijka na chacie w grze
  208. # Tu piszemy pierwsza czesc wiadomosci bez zmiennych i tesktu za nimi
  209. # Zapisy od send1 do send6 sa pierwsza czescia wiadomosci (przed zmienna)
  210. # Zapisy od send7 do send10 sa to zmienne wystepujace w wiadmosci [I]
  211. # Zapis send11, jest to tekst po zmiennej
  212. send1: "&3Aby wydobyc rudy &bdiamentow&3, &aemeraldow&3, &fzelaza&3, oraz &6zlota"
  213. send2: "&3musisz kopac &7stone&3. Na poszczegolne rudy masz takie szanse:"
  214. send3: - &bDiamenty
  215. send4: - &aEmeraldy
  216. send5: - &fZelazo
  217. send6: - &6Zloto
  218. send7: {@procent} oraz {@vipprocent}
  219. send8: {@procent1} oraz {@vipprocent1}
  220. send9: {@procent2} oraz {@vipprocent2}
  221. send10: {@procent3} oraz {@vipprocent3}
  222. send11: &3procent
  223. # Dodatkowe +
  224. send12: - &cRedstone
  225. send13: - &9Lapis
  226. send14: {@procent4} oraz {@vipprocent4}
  227. send15: {@procent5} oraz {@vipprocent5}
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237. #-----------------------------------------------------------------------#
  238. # Code - tu ponizej nic juz nie zmieniaj #
  239. #-----------------------------------------------------------------------#
  240.  
  241. variables:
  242. # Aktywne rudy
  243. {safeore.iron} = true
  244. {safeore.gold} = true
  245. {safeore.diamond} = true
  246. {safeore.emerald} = true
  247. {safeore.redstone} = false
  248. {safeore.lapis} = false
  249. {chance.%player%} = 1
  250.  
  251.  
  252.  
  253. #-------------#
  254. # Kod wspólny #
  255. #-------------#
  256.  
  257. #Rudy ze stone
  258. on break of stone:
  259. if {safeore.diamond} is true:
  260. player has permissions "safeore.vip.diamond":
  261. if player's y-coordinate is smaller than {@yDiamond}:
  262. if player's tool is a diamond pickaxe of fortune:
  263. if chance of {@vipszansa}%:
  264. if chance of 10%:
  265. chance of 50%:
  266. drop 1 {@item1}
  267. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  268. add 1 to {diamenty.%player%}
  269. execute console command "playsound random.explode %player%"
  270. clear {chance.%player%}
  271. stop
  272. chance of 50%:
  273. drop 2 {@item1}
  274. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  275. add 1 to {diamenty.%player%}
  276. execute console command "playsound random.explode %player%"
  277. clear {chance.%player%}
  278. stop
  279. if player's tool is a diamond pickaxe of fortune 2:
  280. if chance of {@vipszansa}%:
  281. if chance of 10%:
  282. chance of 33%:
  283. drop 1 {@item1}
  284. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  285. add 1 to {diamenty.%player%}
  286. execute console command "playsound random.explode %player%"
  287. clear {chance.%player%}
  288. stop
  289. chance of 33%:
  290. drop 2 {@item1}
  291. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  292. add 1 to {diamenty.%player%}
  293. execute console command "playsound random.explode %player%"
  294. clear {chance.%player%}
  295. stop
  296. chance of 33%:
  297. drop 3 {@item1}
  298. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  299. add 1 to {diamenty.%player%}
  300. execute console command "playsound random.explode %player%"
  301. clear {chance.%player%}
  302. stop
  303. if player's tool is a diamond pickaxe of fortune 3:
  304. if chance of {@vipszansa}%:
  305. if chance of 10%:
  306. chance of 25%:
  307. drop 1 {@item1}
  308. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  309. add 1 to {diamenty.%player%}
  310. execute console command "playsound random.explode %player%"
  311. clear {chance.%player%}
  312. stop
  313. chance of 25%:
  314. drop 2 {@item1}
  315. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  316. add 1 to {diamenty.%player%}
  317. execute console command "playsound random.explode %player%"
  318. clear {chance.%player%}
  319. stop
  320. chance of 25%:
  321. drop 3 {@item1}
  322. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  323. add 1 to {diamenty.%player%}
  324. execute console command "playsound random.explode %player%"
  325. clear {chance.%player%}
  326. stop
  327. chance of 25%:
  328. drop 4 {@item1}
  329. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  330. add 1 to {diamenty.%player%}
  331. execute console command "playsound random.explode %player%"
  332. clear {chance.%player%}
  333. stop
  334. else:
  335. if chance of {@vipszansa}%:
  336. if chance of 10%:
  337. drop {@item1}
  338. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  339. add 1 to {diamenty.%player%}
  340. execute console command "playsound random.explode %player%"
  341. stop
  342. else:
  343. if player's y-coordinate is smaller than {@yDiamond}:
  344. if player's tool is a diamond pickaxe of fortune:
  345. if chance of {@szansa}%:
  346. if chance of 10%:
  347. chance of 50%:
  348. drop 1 {@item1}
  349. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  350. add 1 to {diamenty.%player%}
  351. execute console command "playsound random.explode %player%"
  352. clear {chance.%player%}
  353. stop
  354. chance of 50%:
  355. drop 2 {@item1}
  356. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  357. add 1 to {diamenty.%player%}
  358. execute console command "playsound random.explode %player%"
  359. clear {chance.%player%}
  360. stop
  361. if player's tool is a diamond pickaxe of fortune 2:
  362. if chance of {@szansa}%:
  363. if chance of 10%:
  364. chance of 33%:
  365. drop 1 {@item1}
  366. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  367. add 1 to {diamenty.%player%}
  368. execute console command "playsound random.explode %player%"
  369. clear {chance.%player%}
  370. stop
  371. chance of 33%:
  372. drop 2 {@item1}
  373. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  374. add 1 to {diamenty.%player%}
  375. execute console command "playsound random.explode %player%"
  376. clear {chance.%player%}
  377. stop
  378. chance of 33%:
  379. drop 3 {@item1}
  380. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  381. add 1 to {diamenty.%player%}
  382. execute console command "playsound random.explode %player%"
  383. clear {chance.%player%}
  384. stop
  385. if player's tool is a diamond pickaxe of fortune 3:
  386. if chance of {@szansa}%:
  387. if chance of 10%:
  388. chance of 25%:
  389. drop 1 {@item1}
  390. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  391. add 1 to {diamenty.%player%}
  392. execute console command "playsound random.explode %player%"
  393. clear {chance.%player%}
  394. stop
  395. chance of 25%:
  396. drop 2 {@item1}
  397. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  398. add 1 to {diamenty.%player%}
  399. execute console command "playsound random.explode %player%"
  400. clear {chance.%player%}
  401. stop
  402. chance of 25%:
  403. drop 3 {@item1}
  404. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  405. add 1 to {diamenty.%player%}
  406. execute console command "playsound random.explode %player%"
  407. clear {chance.%player%}
  408. stop
  409. chance of 25%:
  410. drop 4 {@item1}
  411. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  412. add 1 to {diamenty.%player%}
  413. execute console command "playsound random.explode %player%"
  414. clear {chance.%player%}
  415. stop
  416. else:
  417. if chance of {@szansa}%:
  418. if chance of 10%:
  419. drop {@item1}
  420. message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
  421. add 1 to {diamenty.%player%}
  422. execute console command "playsound random.explode %player%"
  423. stop
  424.  
  425. if {safeore.emerald} is true:
  426. player has permissions "safeore.vip.emerald":
  427. if player's y-coordinate is smaller than {@yEmerald}:
  428. if player's tool is a diamond pickaxe of fortune:
  429. if chance of {@vipszansa1}%:
  430. if chance of 10%:
  431. chance of 50%:
  432. drop 1 {@item2}
  433. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  434. add 1 to {emeraldy.%player%}
  435. execute console command "playsound random.explode %player%"
  436. clear {chance.%player%}
  437. stop
  438. chance of 50%:
  439. drop 2 {@item2}
  440. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  441. add 1 to {emeraldy.%player%}
  442. execute console command "playsound random.explode %player%"
  443. clear {chance.%player%}
  444. stop
  445. if player's y-coordinate is smaller than {@yEmerald}:
  446. if player's tool is a diamond pickaxe of fortune 2:
  447. if chance of {@vipszansa1}%:
  448. if chance of 10%:
  449. chance of 33%:
  450. drop 1 {@item2}
  451. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  452. add 1 to {emeraldy.%player%}
  453. execute console command "playsound random.explode %player%"
  454. clear {chance.%player%}
  455. stop
  456. chance of 33%:
  457. drop 2 {@item2}
  458. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  459. add 1 to {emeraldy.%player%}
  460. execute console command "playsound random.explode %player%"
  461. clear {chance.%player%}
  462. stop
  463. chance of 33%:
  464. drop 3 {@item2}
  465. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  466. add 1 to {emeraldy.%player%}
  467. execute console command "playsound random.explode %player%"
  468. clear {chance.%player%}
  469. stop
  470. if player's y-coordinate is smaller than {@yEmerald}:
  471. if player's tool is a diamond pickaxe of fortune 3:
  472. if chance of {@vipszansa1}%:
  473. if chance of 10%:
  474. chance of 25%:
  475. drop 1 {@item2}
  476. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  477. add 1 to {emeraldy.%player%}
  478. execute console command "playsound random.explode %player%"
  479. clear {chance.%player%}
  480. stop
  481. chance of 25%:
  482. drop 2 {@item2}
  483. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  484. add 1 to {emeraldy.%player%}
  485. execute console command "playsound random.explode %player%"
  486. clear {chance.%player%}
  487. stop
  488. chance of 25%:
  489. drop 3 {@item2}
  490. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  491. add 1 to {emeraldy.%player%}
  492. execute console command "playsound random.explode %player%"
  493. clear {chance.%player%}
  494. stop
  495. chance of 25%:
  496. drop 4 {@item2}
  497. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  498. add 1 to {emeraldy.%player%}
  499. execute console command "playsound random.explode %player%"
  500. clear {chance.%player%}
  501. stop
  502. else:
  503. if chance of {@vipszansa1}%:
  504. if chance of 10%:
  505. drop {@item2}
  506. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  507. add 1 to {emeraldy.%player%}
  508. execute console command "playsound random.explode %player%"
  509. stop
  510. else:
  511. if player's y-coordinate is smaller than {@yEmerald}:
  512. if player's tool is a diamond pickaxe of fortune:
  513. if chance of {@szansa1}%:
  514. if chance of 10%:
  515. chance of 50%:
  516. drop 1 {@item2}
  517. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  518. add 1 to {emeraldy.%player%}
  519. execute console command "playsound random.explode %player%"
  520. clear {chance.%player%}
  521. stop
  522. chance of 50%:
  523. drop 2 {@item2}
  524. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  525. add 1 to {emeraldy.%player%}
  526. execute console command "playsound random.explode %player%"
  527. clear {chance.%player%}
  528. stop
  529. if player's tool is a diamond pickaxe of fortune 2:
  530. if chance of {@szansa1}%:
  531. if chance of 10%:
  532. chance of 33%:
  533. drop 1 {@item2}
  534. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  535. add 1 to {emeraldy.%player%}
  536. execute console command "playsound random.explode %player%"
  537. clear {chance.%player%}
  538. stop
  539. chance of 33%:
  540. drop 2 {@item2}
  541. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  542. add 1 to {emeraldy.%player%}
  543. execute console command "playsound random.explode %player%"
  544. clear {chance.%player%}
  545. stop
  546. chance of 33%:
  547. drop 3 {@item2}
  548. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  549. add 1 to {emeraldy.%player%}
  550. execute console command "playsound random.explode %player%"
  551. clear {chance.%player%}
  552. stop
  553. if player's tool is a diamond pickaxe of fortune 3:
  554. if chance of {@szansa1}%:
  555. if chance of 10%:
  556. chance of 25%:
  557. drop 1 {@item2}
  558. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  559. add 1 to {emeraldy.%player%}
  560. execute console command "playsound random.explode %player%"
  561. clear {chance.%player%}
  562. stop
  563. chance of 25%:
  564. drop 2 {@item2}
  565. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  566. add 1 to {emeraldy.%player%}
  567. execute console command "playsound random.explode %player%"
  568. clear {chance.%player%}
  569. stop
  570. chance of 25%:
  571. drop 3 {@item2}
  572. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  573. add 1 to {emeraldy.%player%}
  574. execute console command "playsound random.explode %player%"
  575. clear {chance.%player%}
  576. stop
  577. chance of 25%:
  578. drop 4 {@item2}
  579. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  580. add 1 to {emeraldy.%player%}
  581. execute console command "playsound random.explode %player%"
  582. clear {chance.%player%}
  583. stop
  584. else:
  585. if chance of {@szansa1}%:
  586. if chance of 10%:
  587. drop {@item2}
  588. message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
  589. add 1 to {emeraldy.%player%}
  590. execute console command "playsound random.explode %player%"
  591. stop
  592. if {safeore.iron} is true:
  593. player has permissions "safeore.vip.iron":
  594. if player's y-coordinate is smaller than {@yIron}:
  595. if player's tool is a diamond pickaxe of fortune:
  596. if chance of {@vipszansa2}%:
  597. if chance of 10%:
  598. chance of 50%:
  599. drop 1 {@item3}
  600. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  601. add 1 to {zelazo.%player%}
  602. execute console command "playsound random.explode %player%"
  603. clear {chance.%player%}
  604. stop
  605. chance of 50%:
  606. drop 2 {@item3}
  607. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  608. add 1 to {zelazo.%player%}
  609. execute console command "playsound random.explode %player%"
  610. clear {chance.%player%}
  611. stop
  612. if player's tool is a diamond pickaxe of fortune 2:
  613. if chance of {@vipszansa2}%:
  614. if chance of 10%:
  615. chance of 33%:
  616. drop 1 {@item3}
  617. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  618. add 1 to {zelazo.%player%}
  619. execute console command "playsound random.explode %player%"
  620. clear {chance.%player%}
  621. stop
  622. chance of 33%:
  623. drop 2 {@item3}
  624. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  625. add 1 to {zelazo.%player%}
  626. execute console command "playsound random.explode %player%"
  627. clear {chance.%player%}
  628. stop
  629. chance of 33%:
  630. drop 3 {@item3}
  631. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  632. add 1 to {zelazo.%player%}
  633. execute console command "playsound random.explode %player%"
  634. clear {chance.%player%}
  635. stop
  636. if player's tool is a diamond pickaxe of fortune 3:
  637. if chance of {@vipszansa2}%:
  638. if chance of 10%:
  639. chance of 25%:
  640. drop 1 {@item3}
  641. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  642. add 1 to {zelazo.%player%}
  643. execute console command "playsound random.explode %player%"
  644. clear {chance.%player%}
  645. stop
  646. chance of 25%:
  647. drop 2 {@item3}
  648. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  649. add 1 to {zelazo.%player%}
  650. execute console command "playsound random.explode %player%"
  651. clear {chance.%player%}
  652. stop
  653. chance of 25%:
  654. drop 3 {@item3}
  655. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  656. add 1 to {zelazo.%player%}
  657. execute console command "playsound random.explode %player%"
  658. clear {chance.%player%}
  659. stop
  660. chance of 25%:
  661. drop 3 {@item3}
  662. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  663. add 1 to {zelazo.%player%}
  664. execute console command "playsound random.explode %player%"
  665. clear {chance.%player%}
  666. stop
  667. else:
  668. if chance of {@vipszansa2}%:
  669. if chance of 10%:
  670. drop {@item3}
  671. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  672. add 1 to {zelazo.%player%}
  673. execute console command "playsound random.explode %player%"
  674. stop
  675. else:
  676. if player's y-coordinate is smaller than {@yIron}:
  677. if player's tool is a diamond pickaxe of fortune:
  678. if chance of {@szansa2}%:
  679. if chance of 10%:
  680. chance of 50%:
  681. drop 1 {@item3}
  682. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  683. add 1 to {zelazo.%player%}
  684. execute console command "playsound random.explode %player%"
  685. clear {chance.%player%}
  686. stop
  687. chance of 50%:
  688. drop 2 {@item3}
  689. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  690. add 1 to {zelazo.%player%}
  691. execute console command "playsound random.explode %player%"
  692. clear {chance.%player%}
  693. stop
  694. if player's tool is a diamond pickaxe of fortune 2:
  695. if chance of {@szansa2}%:
  696. if chance of 10%:
  697. chance of 33%:
  698. drop 1 {@item3}
  699. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  700. add 1 to {zelazo.%player%}
  701. execute console command "playsound random.explode %player%"
  702. clear {chance.%player%}
  703. stop
  704. chance of 33%:
  705. drop 2 {@item3}
  706. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  707. add 1 to {zelazo.%player%}
  708. execute console command "playsound random.explode %player%"
  709. clear {chance.%player%}
  710. stop
  711. chance of 33%:
  712. drop 3 {@item3}
  713. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  714. add 1 to {zelazo.%player%}
  715. execute console command "playsound random.explode %player%"
  716. clear {chance.%player%}
  717. stop
  718. if player's tool is a diamond pickaxe of fortune 3:
  719. if chance of {@szansa2}%:
  720. if chance of 10%:
  721. chance of 25%:
  722. drop 1 {@item3}
  723. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  724. add 1 to {zelazo.%player%}
  725. execute console command "playsound random.explode %player%"
  726. clear {chance.%player%}
  727. stop
  728. chance of 25%:
  729. drop 2 {@item3}
  730. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  731. add 1 to {zelazo.%player%}
  732. execute console command "playsound random.explode %player%"
  733. clear {chance.%player%}
  734. stop
  735. chance of 25%:
  736. drop 3 {@item3}
  737. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  738. add 1 to {zelazo.%player%}
  739. execute console command "playsound random.explode %player%"
  740. clear {chance.%player%}
  741. stop
  742. chance of 25%:
  743. drop 3 {@item3}
  744. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  745. add 1 to {zelazo.%player%}
  746. execute console command "playsound random.explode %player%"
  747. clear {chance.%player%}
  748. stop
  749. else:
  750. if chance of {@szansa2}%:
  751. if chance of 10%:
  752. drop {@item3}
  753. message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
  754. add 1 to {zelazo.%player%}
  755. execute console command "playsound random.explode %player%"
  756. stop
  757. if {safeore.gold} is true:
  758. player has permissions "safeore.vip.gold":
  759. if player's y-coordinate is smaller than {@yGold}:
  760. if player's tool is a diamond pickaxe of fortune:
  761. if chance of {@vipszansa3}%:
  762. if chance of 10%:
  763. chance of 50%:
  764. drop 1 {@item4}
  765. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  766. add 1 to {zloto.%player%}
  767. execute console command "playsound random.explode %player%"
  768. clear {chance.%player%}
  769. stop
  770. chance of 50%:
  771. drop 2 {@item4}
  772. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  773. execute console command "playsound random.explode %player%"
  774. add 1 to {zloto.%player%}
  775. clear {chance.%player%}
  776. stop
  777. if player's tool is a diamond pickaxe of fortune 2:
  778. if chance of {@vipszansa3}%:
  779. if chance of 10%:
  780. chance of 33%:
  781. drop 1 {@item4}
  782. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  783. execute console command "playsound random.explode %player%"
  784. add 1 to {zloto.%player%}
  785. clear {chance.%player%}
  786. stop
  787. chance of 33%:
  788. drop 2 {@item4}
  789. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  790. execute console command "playsound random.explode %player%"
  791. add 1 to {zloto.%player%}
  792. clear {chance.%player%}
  793. stop
  794. chance of 33%:
  795. drop 3 {@item4}
  796. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  797. execute console command "playsound random.explode %player%"
  798. add 1 to {zloto.%player%}
  799. clear {chance.%player%}
  800. stop
  801. if player's tool is a diamond pickaxe of fortune 3:
  802. if chance of {@vipszansa3}%:
  803. if chance of 10%:
  804. chance of 25%:
  805. drop 1 {@item4}
  806. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  807. execute console command "playsound random.explode %player%"
  808. add 1 to {zloto.%player%}
  809. clear {chance.%player%}
  810. stop
  811. chance of 25%:
  812. drop 2 {@item4}
  813. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  814. execute console command "playsound random.explode %player%"
  815. add 1 to {zloto.%player%}
  816. clear {chance.%player%}
  817. stop
  818. chance of 25%:
  819. drop 3 {@item4}
  820. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  821. execute console command "playsound random.explode %player%"
  822. add 1 to {zloto.%player%}
  823. clear {chance.%player%}
  824. stop
  825. chance of 25%:
  826. drop 4 {@item4}
  827. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  828. execute console command "playsound random.explode %player%"
  829. add 1 to {zloto.%player%}
  830. clear {chance.%player%}
  831. stop
  832. else:
  833. if chance of {@vipszansa3}%:
  834. if chance of 10%:
  835. drop {@item4}
  836. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  837. execute console command "playsound random.explode %player%"
  838. add 1 to {zloto.%player%}
  839. stop
  840. else:
  841. if player's y-coordinate is smaller than {@yGold}:
  842. if player's tool is a diamond pickaxe of fortune:
  843. if chance of {@vipszansa}%:
  844. if chance of 10%:
  845. chance of 50%:
  846. drop 1 {@item4}
  847. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  848. execute console command "playsound random.explode %player%"
  849. add 1 to {zloto.%player%}
  850. clear {chance.%player%}
  851. stop
  852. chance of 50%:
  853. drop 2 {@item4}
  854. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  855. execute console command "playsound random.explode %player%"
  856. add 1 to {zloto.%player%}
  857. clear {chance.%player%}
  858. stop
  859. if player's tool is a diamond pickaxe of fortune:
  860. if chance of {@vipszansa}%:
  861. if chance of 10%:
  862. chance of 33%:
  863. drop 1 {@item4}
  864. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  865. execute console command "playsound random.explode %player%"
  866. add 1 to {zloto.%player%}
  867. clear {chance.%player%}
  868. stop
  869. chance of 33%:
  870. drop 2 {@item4}
  871. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  872. execute console command "playsound random.explode %player%"
  873. add 1 to {zloto.%player%}
  874. clear {chance.%player%}
  875. stop
  876. chance of 33%:
  877. drop 3 {@item4}
  878. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  879. execute console command "playsound random.explode %player%"
  880. add 1 to {zloto.%player%}
  881. clear {chance.%player%}
  882. stop
  883. if player's tool is a diamond pickaxe of fortune:
  884. if chance of {@vipszansa}%:
  885. if chance of 10%:
  886. chance of 25%:
  887. drop 1 {@item4}
  888. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  889. execute console command "playsound random.explode %player%"
  890. add 1 to {zloto.%player%}
  891. clear {chance.%player%}
  892. stop
  893. chance of 25%:
  894. drop 2 {@item4}
  895. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  896. execute console command "playsound random.explode %player%"
  897. add 1 to {zloto.%player%}
  898. clear {chance.%player%}
  899. stop
  900. chance of 25%:
  901. drop 3 {@item4}
  902. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  903. execute console command "playsound random.explode %player%"
  904. add 1 to {zloto.%player%}
  905. clear {chance.%player%}
  906. stop
  907. chance of 25%:
  908. drop 4 {@item4}
  909. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  910. execute console command "playsound random.explode %player%"
  911. add 1 to {zloto.%player%}
  912. clear {chance.%player%}
  913. stop
  914. else:
  915. if chance of {@szansa3}%:
  916. if chance of 10%:
  917. drop {@item4}
  918. message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
  919. execute console command "playsound random.explode %player%"
  920. add 1 to {zloto.%player%}
  921. stop
  922.  
  923. if {safeore.redstone} is true:
  924. player has permissions "safeore.vip.redstone":
  925. if player's y-coordinate is smaller than {@yRedstone}:
  926. if player's tool is a diamond pickaxe of fortune:
  927. if chance of {@vipszansa4}%:
  928. if chance of 10%:
  929. drop {@item5}
  930. message "&7Znaleziono &cRedstone&7!"
  931. stop
  932. else:
  933. if chance of {@vipszansa4}%:
  934. if chance of 10%:
  935. drop {@item5}
  936. message "&7Znaleziono &cRedstone&7!"
  937. stop
  938. else:
  939. if {safeore.redstone} is true:
  940. if player's y-coordinate is smaller than {@yRedstone}:
  941. if player's tool is a diamond pickaxe of fortune:
  942. if chance of {@szansa4}%:
  943. if chance of 10%:
  944. drop {@item5}
  945. message "&7Znaleziono &cRedstone&7!"
  946. stop
  947. else:
  948. if chance of {@szansa4}%:
  949. if chance of 10%:
  950. drop {@item5}
  951. message "&7Znaleziono &cRedstone&7!"
  952. stop
  953.  
  954.  
  955. if {safeore.lapis} is true:
  956. player has permissions "safeore.vip.lapis":
  957. if player's y-coordinate is smaller than {@yLapis}:
  958. if player's tool is a diamond pickaxe of fortune:
  959. if chance of {@vipszansa5}%:
  960. if chance of 10%:
  961. if chance of {@vipszansa5}%:
  962. if chance of 10%:
  963. drop {@item6}
  964. message "&7Znaleziono &cLapis&7!"
  965. stop
  966. else:
  967. if chance of {@vipszansa5}%:
  968. if chance of 10%:
  969. drop {@item6}
  970. message "&7Znaleziono &cLapis&7!"
  971. stop
  972. else:
  973. if player's y-coordinate is smaller than {@yLapis}:
  974. if player's tool is a diamond pickaxe of fortune:
  975. if {safeore.lapis} is true:
  976. if chance of {@szansa5}%:
  977. if chance of 10%:
  978. drop {@item6}
  979. message "&7Znaleziono &cLapis&7!"
  980. stop
  981. else:
  982. if chance of {@szansa5}%:
  983. if chance of 10%:
  984. drop {@item6}
  985. message "&7Znaleziono &cLapis&7!"
  986. stop
  987. else:
  988. drop 1 cobblestone
  989. set {chance.%player%} to 1
  990. stop
  991.  
  992.  
  993.  
  994.  
  995. #Zmiana rud na stone
  996. on break of {@emeraldore}:
  997. if {safeore.emerald} is true:
  998. player has permissions "safeore.player":
  999. cancel event
  1000. block is {@emeraldore}
  1001. set block to {@set}
  1002. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1003. stop
  1004. else:
  1005. cancel event
  1006. block is {@emeraldore}
  1007. set block to {@set}
  1008. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1009. else:
  1010. stop
  1011.  
  1012. on break of {@ironore}:
  1013. if {safeore.iron} is true:
  1014. player has permissions "safeore.player":
  1015. cancel event
  1016. block is {@ironore}
  1017. set block to {@set}
  1018. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1019. stop
  1020. else:
  1021. cancel event
  1022. block is {@ironore}
  1023. set block to {@set}
  1024. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1025. else:
  1026. stop
  1027.  
  1028. on break of {@goldore}:
  1029. if {safeore.gold} is true:
  1030. player has permissions "safeore.player":
  1031. cancel event
  1032. block is {@goldore}
  1033. set block to {@set}
  1034. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1035. stop
  1036. else:
  1037. cancel event
  1038. block is {@goldore}
  1039. set block to {@set}
  1040. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1041. else:
  1042. stop
  1043.  
  1044. on break of {@diamondore}:
  1045. if {safeore.diamond} is true:
  1046. player has permissions "safeore.player":
  1047. cancel event
  1048. block is {@diamondore}
  1049. set block to {@set}
  1050. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1051. stop
  1052. else:
  1053. cancel event
  1054. block is {@diamondore}
  1055. set block to {@set}
  1056. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1057. else:
  1058. stop
  1059.  
  1060. on break of {@redstoneore}:
  1061. if {safeore.redstone} is true:
  1062. player has permissions "safeore.player":
  1063. cancel event
  1064. block is {@diamondore}
  1065. set block to {@set}
  1066. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1067. stop
  1068. else:
  1069. cancel event
  1070. block is {@diamondore}
  1071. set block to {@set}
  1072. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1073. else:
  1074. stop
  1075.  
  1076. on break of {@lapisore}:
  1077. if {safeore.lapis} is true:
  1078. player has permissions "safeore.player":
  1079. cancel event
  1080. block is {@diamondore}
  1081. set block to {@set}
  1082. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1083. stop
  1084. else:
  1085. cancel event
  1086. block is {@diamondore}
  1087. set block to {@set}
  1088. send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
  1089. else:
  1090. stop
  1091.  
  1092.  
  1093. #---------#
  1094. # Komendy #
  1095. #---------#
  1096.  
  1097. command /stone:
  1098. description: Pokazuje jakie sa szanse na wpyadniecie przedmiotów ze stone
  1099. aliases: {@alias1}
  1100. trigger:
  1101. player has permissions "safeore.vip.command.stone":
  1102. send "&8<&6*&8>&5===============&8[&7&lDROPY SVIP&8]&5===============&8<&6*&8>" to player
  1103. send " &6* &7Diamenty: &91.4%"
  1104. send " &6* &7Emeraldy: &92%"
  1105. send " &6* &7Zelazo: &95%"
  1106. send " &6* &7Zloto: &92.8%"
  1107. send "&5===============================================" to player
  1108. stop
  1109. else:
  1110. send "&8<&6*&8>&5===============&8[&7&lDROPY&8]&5===============&8<&6*&8>" to player
  1111. send " &6* &7Diamenty: &90.7% &7(SVIP: 1.4%)"
  1112. send " &6* &7Emeraldy: &91% &7(SVIP: 2%)"
  1113. send " &6* &7Zelazo: &92.5% &7(SVIP: 5%)"
  1114. send " &6* &7Zloto: &91.4% &7(SVIP: 2%)"
  1115. send "&5===========================================" to player
  1116. stop
  1117.  
  1118.  
  1119. #Enable:
  1120. on Skript Start:
  1121. wait 2 seconds
  1122. send "&9>> &axhr_drops &8- &7zostal uruchomiony..." to the console
  1123.  
  1124. command /safeore <text>:
  1125. trigger:
  1126. if player has permissions "safeore.enable.ore":
  1127. if arg 1 is not set:
  1128. send "&aMozesz wlaczyc/wylaczyc rudy poprzez komende &6/safeore <ruda>"
  1129. send "&Dostepne rudy: &6 Iron, Gold, Diamond, Emerald, Redstone, Lapis"
  1130. stop
  1131. if argument 1 is "iron" or "zelazo":
  1132. if {safeore.iron} is true:
  1133. set {safeore.iron} to false
  1134. send "{@tag} &7Wylaczono wypadanie zelaza ze stone"
  1135. stop
  1136. if {safeore.iron} is false:
  1137. set {safeore.iron} to true
  1138. send "{@tag} &7Wlaczono wypadanie zelaza ze stone"
  1139. stop
  1140. if argument 1 is "gold" or "zloto":
  1141. if {safeore.gold} is true:
  1142. set {safeore.iron} to false
  1143. send "{@tag} &7Wylaczono wypadanie zlota ze stone"
  1144. stop
  1145. if {safeore.gold} is false:
  1146. set {safeore.gold} to true
  1147. send "{@tag} &7Wlaczono wypadanie zlota ze stone"
  1148. stop
  1149. if argument 1 is "diamond" or "diament" or "diamenty":
  1150. if {safeore.diamond} is true:
  1151. set {safeore.diamond} to false
  1152. send "{@tag} &7Wylaczono wypadanie diamentow ze stone"
  1153. stop
  1154. if {safeore.diamond} is false:
  1155. set {safeore.diamond} to true
  1156. send "{@tag} &7Wlaczono wypadanie diamentow ze stone"
  1157. stop
  1158. if argument 1 is "emerald" or "emeraldy" or "szmaragd" or "szmaragdy":
  1159. if {safeore.emerald} is true:
  1160. set {safeore.emerald} to false
  1161. send "{@tag} &7Wylaczono wypadanie emeraldow ze stone"
  1162. stop
  1163. if {safeore.emerald} is false:
  1164. set {safeore.emerald} to true
  1165. send "{@tag} &7Wlaczono wypadanie emeraldow ze stone"
  1166. stop
  1167. if argument 1 is "redstone":
  1168. if {safeore.redstone} is true:
  1169. set {safeore.redstone} to false
  1170. send "{@tag} &7Wylaczono wypadanie redstonea ze stone"
  1171. stop
  1172. if {safeore.redstone} is false:
  1173. set {safeore.redstone} to true
  1174. send "{@tag} &7Wlaczono wypadanie redstonea ze stone"
  1175. stop
  1176. if argument 1 is "lapis":
  1177. if {safeore.lapis} is true:
  1178. set {safeore.lapis} to false
  1179. send "{@tag} &7Wylaczono wypadanie lapisu ze stone"
  1180. stop
  1181. if {safeore.lapis} is false:
  1182. set {safeore.lapis} to true
  1183. send "{@tag} &7Wlaczono wypadanie lapisu ze stone"
  1184. stop
  1185. #------------#
  1186. # STATYSTYKI #
  1187. #------------#
  1188. variables:
  1189. {diamenty.%player%} = 0
  1190. {emeraldy.%player%} = 0
  1191. {zelazo.%player%} = 0
  1192. {zloto.%player%} = 0
  1193. command /statystyki:
  1194. trigger:
  1195. send "&8<&6*&8>&5===============&8[&7&lSTATYSTYKI&8]&5===============&8<&6*&8>"
  1196. send " &6* &7Nick gracza: &9%player%&7."
  1197. send " &6* &7Wydropione diamenty: &9%{diamenty.%player%}%&7."
  1198. send " &6* &7Wydropione zelazo: &9%{zelazo.%player%}%&7."
  1199. send " &6* &7Wydropione szmaragdy: &9%{emeraldy.%player%}%&7."
  1200. send " &6* &7Wydropione zloto: &9%{zloto.%player%}%&7."
  1201. send "&5================================================"
Advertisement
Add Comment
Please, Sign In to add comment