Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #================================#
- # Script by Dzikoysk #
- # Name: SafeOre #
- # Version: 1.4 Release #
- # Skript: Beta 10 #
- #================================#
- #================================#
- # Licencja | SafeOre #
- # by Dzikoysk #
- #--------------------------------#
- # ~ Nie zezwalam na: #
- # - Zarabianie na skrypcie #
- # - Przerabianie/modyfikowanie #
- # zmienianie tresci dla grona #
- # publicznego #
- # - Wykorzystywanie kodu skryptu #
- # w swoich skryptach #
- # - Udostepnianiu skryptu innym* #
- # - Usuwanie tresci #
- # zawierajacych autora #
- # - Podszywaniu sie pod autora #
- # * - Tylko za zgoda autora #
- #--------------------------------#
- # Mylnie odczytana licencja nie #
- # zwalnia z przestrzegania jej #
- #================================#
- #---------------------------------------------------------------#
- # #
- # #
- # #
- # Config #
- # #
- # #
- # #
- #---------------------------------------------------------------#
- #------#
- # Info #
- #------#
- # Skrypt z obecnymi ustawieniami dziala w pelni poprawnie. Dlatego umiejetnie posluguj sie konfiguracja, a wszystko bedzie dobrze.
- # Krótkie wyjasnienie/wstep: W wielu wiadmosciach widoczne sa rzeczy typu: {@tekst}. Sa to zmienne.
- # Pozwalaja one wlasnie na latwa konfiguracje róznych wartosci, oraz na wyswietlanie ustawionych tekstów.
- # Dlatego zmieniajac tekst zrozum do czego sluza, bedzie Ci prosciej dopasowac np. tekst do swoich potrzeb.
- # Skrypt jest w pelni do konfiguracji i prawie wszystko da sie zmienic za pomoa ustawien!
- # Powodzenia! ;)
- #---------#
- # General #
- #---------#
- # Options - Config / Ustawienia skryptu
- options:
- # Tag skryptu
- tag: &6**
- # Ruda diamentu
- diamondore: diamond ore
- # Ruda emeraldu
- emeraldore: emerald ore
- # Ruda zelaza
- ironore: iron ore
- # Ruda zlota
- goldore: gold ore
- # Ruda redstona
- redstoneore: redstone ore
- # Ruda Lapisu
- lapisore: lapis lazuli ore
- # Na co ma sie zminic ruda, która ktos próbuje wykopac, domyslnie stone. Aby ruda znikala wpisz: air
- set: air
- # Przedmity wpadajace z poszczegolnych rud:
- # Diament
- item1: diamond
- # Emerald
- item2: emerald
- # Zelazo
- item3: iron ingot
- # Zloto
- item4: gold ingot
- # Redstone:
- item5: 5 redstone
- # Lapis:
- item6: 6 lapis lazuli
- # =====================================
- # Procentowe szanse dla zwyklych graczy
- # =====================================
- #Procenty - Nie mozna pisac wartosci typu o.4, 1.5.
- #Aby takowe uzyskac wpisz 4 dla o.4, 15 dla 1.5 itd.
- # ---------------------
- # Procentowa szana
- # Wyswietlany procent
- #----------------------
- # Diament:
- szansa: 7
- procent: 0.7
- # Emerald:
- szansa1: 1
- procent1: 1
- # Zelazo:
- szansa2: 25
- procent2: 2.5
- # Zloto
- szansa3: 14
- procent3: 1.4
- # Redstone
- szansa4: 20
- procent4: 2
- # Lapis
- szansa5: 9
- procent5: 0.9
- # ==========================================================
- # Procentowe szanse dla grupy VIP. (Odpowiednie permissions)
- # ==========================================================
- # ---------------------
- # Procentowa szana
- # Wyswietlany procent
- #----------------------
- # Diament:
- vipszansa: 14
- vipprocent: 1.4
- # Emerald:
- vipszansa1: 2
- vipprocent1: 2
- # Zelazo:
- vipszansa2: 50
- vipprocent2: 5
- # Zloto:
- vipszansa3: 28
- vipprocent3: 2.8
- # Redstone:
- vipszansa4: 30
- vipprocent4: 3
- # Lapis:
- vipszansa5: 15
- vipprocent5: 1.5
- # Wysokosci wydobycia:
- # Diament
- yDiamond: 30
- # Emerald
- yEmerald: 250
- # Zelazo
- yIron: 250
- # Zloto
- yGold: 250
- # Redstone
- yRedstone: 50
- #Lapis
- yLapis: 50
- #------------------------------------------#
- # Bezsensowna, ale możlwia konfiguracja <: #
- #------------------------------------------#
- # Wiadmosc, która pokaze sie po zniszczeniu rudy diamentu
- message5: &bDiamenty &7wypadaja tylko ze stone. Masz na to
- msg1: {@procent}
- msg2: &6procent &7szans
- # Wiadmosc, która pokaze sie po zniszczeniu rudy emeraldu
- message6: &aEmeraldy &7wypadaja tylko ze stone. Masz na to
- msg3: {@procent1}
- msg4: &6procent &7szans
- # Wiadmosc, która pokaze sie po zniszczeniu rudy zelaza
- message7: &fZelazo &7wypada tylko ze stone. Masz na to
- msg5: {@procent2}
- msg6: &6procent &7szans
- # Wiadmosc, która pokaze sie po zniszczeniu rudy zlota
- message8: &6Zloto &7wypada tylko ze stone. Masz na to
- msg7: {@procent3}
- msg8: &6procent &7szans
- # Wiadmosc, która pokaze sie po zniszczeniu rudy redstona
- message12: &cRedstone &7wypada tylko ze stone. Masz na to
- msg9: {@procent4}
- msg10: &6procent &7szans
- # Wiadmosc, która pokaze sie po zniszczeniu rudy lapisu
- message11: &9Lapis &7wypada tylko ze stone. Masz na to
- msg11: {@procent5}
- msg12: &6procent &7szans
- # Alias do komendy /stone [Alias - Inna nazwa tej samej komendy]
- alias1: kamien
- # Tego radze nie konfigurowac pod wzgledem wygladu - w znaczeniu ulozenia tesktu
- # Tu niestety musialem wklepac niektóre rzeczy na sztywno w kod, dlatego nie radze dotykac sie
- # linijek send7, send8, send9 i send10 poniewaz tu sa one tylko czysto informacyjne.
- # Wiadmosc, która zobaczy gracz po wpisaniu komendy /stone
- # Jedna linijka = 1 linijka na chacie w grze
- # Tu piszemy pierwsza czesc wiadomosci bez zmiennych i tesktu za nimi
- # Zapisy od send1 do send6 sa pierwsza czescia wiadomosci (przed zmienna)
- # Zapisy od send7 do send10 sa to zmienne wystepujace w wiadmosci [I]
- # Zapis send11, jest to tekst po zmiennej
- send1: "&3Aby wydobyc rudy &bdiamentow&3, &aemeraldow&3, &fzelaza&3, oraz &6zlota"
- send2: "&3musisz kopac &7stone&3. Na poszczegolne rudy masz takie szanse:"
- send3: - &bDiamenty
- send4: - &aEmeraldy
- send5: - &fZelazo
- send6: - &6Zloto
- send7: {@procent} oraz {@vipprocent}
- send8: {@procent1} oraz {@vipprocent1}
- send9: {@procent2} oraz {@vipprocent2}
- send10: {@procent3} oraz {@vipprocent3}
- send11: &3procent
- # Dodatkowe +
- send12: - &cRedstone
- send13: - &9Lapis
- send14: {@procent4} oraz {@vipprocent4}
- send15: {@procent5} oraz {@vipprocent5}
- #-----------------------------------------------------------------------#
- # Code - tu ponizej nic juz nie zmieniaj #
- #-----------------------------------------------------------------------#
- variables:
- # Aktywne rudy
- {safeore.iron} = true
- {safeore.gold} = true
- {safeore.diamond} = true
- {safeore.emerald} = true
- {safeore.redstone} = false
- {safeore.lapis} = false
- {chance.%player%} = 1
- #-------------#
- # Kod wspólny #
- #-------------#
- #Rudy ze stone
- on break of stone:
- if {safeore.diamond} is true:
- player has permissions "safeore.vip.diamond":
- if player's y-coordinate is smaller than {@yDiamond}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@vipszansa}%:
- if chance of 10%:
- drop {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- stop
- else:
- if player's y-coordinate is smaller than {@yDiamond}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@szansa}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@szansa}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@szansa}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@szansa}%:
- if chance of 10%:
- drop {@item1}
- message "&6** &7Znalazles: &9DIAMENT &7ukryty w skale. Wydobytych ogolnie: &9%{diamenty.%player%}%"
- add 1 to {diamenty.%player%}
- execute console command "playsound random.explode %player%"
- stop
- if {safeore.emerald} is true:
- player has permissions "safeore.vip.emerald":
- if player's y-coordinate is smaller than {@yEmerald}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa1}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's y-coordinate is smaller than {@yEmerald}:
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@vipszansa1}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's y-coordinate is smaller than {@yEmerald}:
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@vipszansa1}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@vipszansa1}%:
- if chance of 10%:
- drop {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- stop
- else:
- if player's y-coordinate is smaller than {@yEmerald}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@szansa1}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@szansa1}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@szansa1}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@szansa1}%:
- if chance of 10%:
- drop {@item2}
- message "&6** &7Znalazles: &9SZMARAGD &7ukryty w skale. Wydobytych ogolnie: &9%{emeraldy.%player%}%"
- add 1 to {emeraldy.%player%}
- execute console command "playsound random.explode %player%"
- stop
- if {safeore.iron} is true:
- player has permissions "safeore.vip.iron":
- if player's y-coordinate is smaller than {@yIron}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa2}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@vipszansa2}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@vipszansa2}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@vipszansa2}%:
- if chance of 10%:
- drop {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- stop
- else:
- if player's y-coordinate is smaller than {@yIron}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@szansa2}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@szansa2}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@szansa2}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- else:
- if chance of {@szansa2}%:
- if chance of 10%:
- drop {@item3}
- message "&6** &7Znalazles: &9ZELAZO &7ukryte w skale. Wydobyte ogolnie: &9%{zelazo.%player%}%"
- add 1 to {zelazo.%player%}
- execute console command "playsound random.explode %player%"
- stop
- if {safeore.gold} is true:
- player has permissions "safeore.vip.gold":
- if player's y-coordinate is smaller than {@yGold}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa3}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- add 1 to {zloto.%player%}
- execute console command "playsound random.explode %player%"
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 2:
- if chance of {@vipszansa3}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune 3:
- if chance of {@vipszansa3}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- else:
- if chance of {@vipszansa3}%:
- if chance of 10%:
- drop {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- stop
- else:
- if player's y-coordinate is smaller than {@yGold}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 50%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 50%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 33%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 33%:
- drop 3 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa}%:
- if chance of 10%:
- chance of 25%:
- drop 1 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 2 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 3 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- chance of 25%:
- drop 4 {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- clear {chance.%player%}
- stop
- else:
- if chance of {@szansa3}%:
- if chance of 10%:
- drop {@item4}
- message "&6** &7Znalazles: &9ZLOTO &7ukryte w skale. Wydobyte ogolnie: &9%{zloto.%player%}%"
- execute console command "playsound random.explode %player%"
- add 1 to {zloto.%player%}
- stop
- if {safeore.redstone} is true:
- player has permissions "safeore.vip.redstone":
- if player's y-coordinate is smaller than {@yRedstone}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa4}%:
- if chance of 10%:
- drop {@item5}
- message "&7Znaleziono &cRedstone&7!"
- stop
- else:
- if chance of {@vipszansa4}%:
- if chance of 10%:
- drop {@item5}
- message "&7Znaleziono &cRedstone&7!"
- stop
- else:
- if {safeore.redstone} is true:
- if player's y-coordinate is smaller than {@yRedstone}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@szansa4}%:
- if chance of 10%:
- drop {@item5}
- message "&7Znaleziono &cRedstone&7!"
- stop
- else:
- if chance of {@szansa4}%:
- if chance of 10%:
- drop {@item5}
- message "&7Znaleziono &cRedstone&7!"
- stop
- if {safeore.lapis} is true:
- player has permissions "safeore.vip.lapis":
- if player's y-coordinate is smaller than {@yLapis}:
- if player's tool is a diamond pickaxe of fortune:
- if chance of {@vipszansa5}%:
- if chance of 10%:
- if chance of {@vipszansa5}%:
- if chance of 10%:
- drop {@item6}
- message "&7Znaleziono &cLapis&7!"
- stop
- else:
- if chance of {@vipszansa5}%:
- if chance of 10%:
- drop {@item6}
- message "&7Znaleziono &cLapis&7!"
- stop
- else:
- if player's y-coordinate is smaller than {@yLapis}:
- if player's tool is a diamond pickaxe of fortune:
- if {safeore.lapis} is true:
- if chance of {@szansa5}%:
- if chance of 10%:
- drop {@item6}
- message "&7Znaleziono &cLapis&7!"
- stop
- else:
- if chance of {@szansa5}%:
- if chance of 10%:
- drop {@item6}
- message "&7Znaleziono &cLapis&7!"
- stop
- else:
- drop 1 cobblestone
- set {chance.%player%} to 1
- stop
- #Zmiana rud na stone
- on break of {@emeraldore}:
- if {safeore.emerald} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@emeraldore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@emeraldore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- on break of {@ironore}:
- if {safeore.iron} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@ironore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@ironore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- on break of {@goldore}:
- if {safeore.gold} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@goldore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@goldore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- on break of {@diamondore}:
- if {safeore.diamond} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- on break of {@redstoneore}:
- if {safeore.redstone} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- on break of {@lapisore}:
- if {safeore.lapis} is true:
- player has permissions "safeore.player":
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- stop
- else:
- cancel event
- block is {@diamondore}
- set block to {@set}
- send "&6** &9Drop wylaczony... Wiecej informacji: &7/stone." to player
- else:
- stop
- #---------#
- # Komendy #
- #---------#
- command /stone:
- description: Pokazuje jakie sa szanse na wpyadniecie przedmiotów ze stone
- aliases: {@alias1}
- trigger:
- player has permissions "safeore.vip.command.stone":
- send "&8<&6*&8>&5===============&8[&7&lDROPY SVIP&8]&5===============&8<&6*&8>" to player
- send " &6* &7Diamenty: &91.4%"
- send " &6* &7Emeraldy: &92%"
- send " &6* &7Zelazo: &95%"
- send " &6* &7Zloto: &92.8%"
- send "&5===============================================" to player
- stop
- else:
- send "&8<&6*&8>&5===============&8[&7&lDROPY&8]&5===============&8<&6*&8>" to player
- send " &6* &7Diamenty: &90.7% &7(SVIP: 1.4%)"
- send " &6* &7Emeraldy: &91% &7(SVIP: 2%)"
- send " &6* &7Zelazo: &92.5% &7(SVIP: 5%)"
- send " &6* &7Zloto: &91.4% &7(SVIP: 2%)"
- send "&5===========================================" to player
- stop
- #Enable:
- on Skript Start:
- wait 2 seconds
- send "&9>> &axhr_drops &8- &7zostal uruchomiony..." to the console
- command /safeore <text>:
- trigger:
- if player has permissions "safeore.enable.ore":
- if arg 1 is not set:
- send "&aMozesz wlaczyc/wylaczyc rudy poprzez komende &6/safeore <ruda>"
- send "&Dostepne rudy: &6 Iron, Gold, Diamond, Emerald, Redstone, Lapis"
- stop
- if argument 1 is "iron" or "zelazo":
- if {safeore.iron} is true:
- set {safeore.iron} to false
- send "{@tag} &7Wylaczono wypadanie zelaza ze stone"
- stop
- if {safeore.iron} is false:
- set {safeore.iron} to true
- send "{@tag} &7Wlaczono wypadanie zelaza ze stone"
- stop
- if argument 1 is "gold" or "zloto":
- if {safeore.gold} is true:
- set {safeore.iron} to false
- send "{@tag} &7Wylaczono wypadanie zlota ze stone"
- stop
- if {safeore.gold} is false:
- set {safeore.gold} to true
- send "{@tag} &7Wlaczono wypadanie zlota ze stone"
- stop
- if argument 1 is "diamond" or "diament" or "diamenty":
- if {safeore.diamond} is true:
- set {safeore.diamond} to false
- send "{@tag} &7Wylaczono wypadanie diamentow ze stone"
- stop
- if {safeore.diamond} is false:
- set {safeore.diamond} to true
- send "{@tag} &7Wlaczono wypadanie diamentow ze stone"
- stop
- if argument 1 is "emerald" or "emeraldy" or "szmaragd" or "szmaragdy":
- if {safeore.emerald} is true:
- set {safeore.emerald} to false
- send "{@tag} &7Wylaczono wypadanie emeraldow ze stone"
- stop
- if {safeore.emerald} is false:
- set {safeore.emerald} to true
- send "{@tag} &7Wlaczono wypadanie emeraldow ze stone"
- stop
- if argument 1 is "redstone":
- if {safeore.redstone} is true:
- set {safeore.redstone} to false
- send "{@tag} &7Wylaczono wypadanie redstonea ze stone"
- stop
- if {safeore.redstone} is false:
- set {safeore.redstone} to true
- send "{@tag} &7Wlaczono wypadanie redstonea ze stone"
- stop
- if argument 1 is "lapis":
- if {safeore.lapis} is true:
- set {safeore.lapis} to false
- send "{@tag} &7Wylaczono wypadanie lapisu ze stone"
- stop
- if {safeore.lapis} is false:
- set {safeore.lapis} to true
- send "{@tag} &7Wlaczono wypadanie lapisu ze stone"
- stop
- #------------#
- # STATYSTYKI #
- #------------#
- variables:
- {diamenty.%player%} = 0
- {emeraldy.%player%} = 0
- {zelazo.%player%} = 0
- {zloto.%player%} = 0
- command /statystyki:
- trigger:
- send "&8<&6*&8>&5===============&8[&7&lSTATYSTYKI&8]&5===============&8<&6*&8>"
- send " &6* &7Nick gracza: &9%player%&7."
- send " &6* &7Wydropione diamenty: &9%{diamenty.%player%}%&7."
- send " &6* &7Wydropione zelazo: &9%{zelazo.%player%}%&7."
- send " &6* &7Wydropione szmaragdy: &9%{emeraldy.%player%}%&7."
- send " &6* &7Wydropione zloto: &9%{zloto.%player%}%&7."
- send "&5================================================"
Advertisement
Add Comment
Please, Sign In to add comment