Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Hero Drop - Wersja stabilna
- #Zmienne
- variables:
- {sb.on.%player%} = false #Czy skrypt ma automatycznie pokazywać scoreboard
- {drop_cobblestone.%player%} = false
- {drop_item1.%player%} = false
- {drop_item2.%player%} = false
- {drop_item3.%player%} = false
- {drop_item4.%player%} = false
- {drop_item5.%player%} = false
- {drop_item6.%player%} = false
- {drop_item7.%player%} = false
- {drop_item8.%player%} = false
- {drop_item9.%player%} = false
- {drop_item10.%player%} = false
- {level.%player%} = 1
- {wykopany-stone.%player%} = 0
- {exp.%player%} = 0
- {online} = 0
- #Zmienne od skilli pvp.
- {skill.podrzut.%player%} = false
- {skill.podrzut.aktywny.%player%} = true
- on join:
- set {playerprotect.%player%} to true
- on join:
- add 1 to {online}
- on quit:
- remove 1 from {online}
- options:
- #Itemy ktore dropia
- item1: coal
- item2: iron ingot
- item3: gold ingot
- item4: redstone
- item5: lapis lazuli
- item6: emerald
- item7: diamond
- item8: ender pearl
- item9: slimeball
- item10: gunpowder
- #System poziomow
- tag: &6[&eTwój TAG&6]
- lvl-start: 0
- #Szanse na drop
- chance_item1: 1%
- chance_item2: 1.8%
- chance_item3: 0.7%
- chance_item4: 0.6%
- chance_item5: 0.5%
- chance_item6: 0.65%
- chance_item7: 0.70%
- chance_item8: 0.25%
- chance_item9: 0.45%
- chance_item10: 0.15%
- #Szansa z fortune 3
- fortune_chance_item1: 1.3%
- fortune_chance_item2: 2.1%
- fortune_chance_item3: 0.9%
- fortune_chance_item4: 1%
- fortune_chance_item5: 0.8%
- fortune_chance_item6: 0.95%
- fortune_chance_item7: 1%
- fortune_chance_item8: 0.55%
- fortune_chance_item9: 0.75%
- fortune_chance_item10: 0.45%
- #Koordynaty Y od ktorych mozna znalesc dany item.
- wysokosc_diament: 15
- wysokosc_emerald: 25
- #Wiadomosci w komendach
- chance-item1: 1
- chance-item2: 1.8
- chance-item3: 0.7
- chance-item4: 0.6
- chance-item5: 0.5
- chance-item6: 0.65
- chance-item7: 0.70
- chance-item8: 0.25
- chance-item9: 0.45
- chance-item10: 0.15
- command /kamien [<text>] [<offlineplayer>]:
- aliases: stone, drop
- trigger:
- arg 1 is not set:
- send "&7--------------------------"
- send "{@tag} &7> &2Twoj poziom to > &c%{level.%player%}%"
- send "{@tag} &7> &2Twoj exp to > &c%{exp.%player%}%"
- send "{@tag} &7> &2Wykopales &c%{wykopany-stone.%player%}% &2stone !"
- send "&7--------------------------"
- send "&7>&e/kamien info &7- &2Informacje o systemie"
- send "&7>&e/kamien przedmioty &7- &2Informacje o dropie"
- send "&7>&e/kamien sprawdz (gracz) &7- &2Statystyki danego gracza"
- send "&7>&e/opcje &7- &2Opcje dropu"
- send "&7--------------------------"
- arg 1 is "przedmioty":
- send "&7------------------------------------------"
- send "&6Szanse na drop poszczegolnych itemow z kamienia"
- send "&7 ( W procentach ! )"
- send "&7------------------------------------------"
- send "&7- &eWegiel &7> &2{@chance-item1}"
- send "&7- &eSztabka zelaza &7> &2{@chance-item2}"
- send "&7- &eSztabka zlota &7> &2{@chance-item3}"
- send "&7- &eRed Stone &7> &2{@chance-item4}"
- send "&7- &eLapis Lazuli &7> &2{@chance-item5}"
- send "&7- &eSzmaragd &7> &2{@chance-item6} &7(Y> 25)"
- send "&7- &eDiament &7> &2{@chance-item7} &7(Y> 15)"
- send "&7- &ePerla &7> &2{@chance-item8}"
- send "&7- &eSlime Ball &7> &2{@chance-item9}"
- send "&7- &eProch &7> &2{@chance-item10}"
- send "&7------------------------------------------"
- arg 1 is "info":
- send "&7--------------------------"
- send "&6Informacje o systemie poziomow"
- send "&7--------------------------"
- send "&7> &2Exp mozesz zdobyc znajdujac przedmioty dropiace z kamienia"
- send "&7> &cSystem wspiera tylko Fortune 3 ! &7(+ 0.3 procent do kazdego itemu)"
- send "&7> &2Przedmioty ktore mozesz znalezc pod komenda &7(/kamien przedmioty)"
- arg 1 is "sprawdz":
- arg 2 is set:
- send "&7--------------------------"
- send "&6Informacje o graczu %arg offlineplayer%"
- send "&7--------------------------"
- if {level.%arg offlineplayer%} is set:
- send "{@tag} &7> &2Poziom > &c%{level.%arg offlineplayer%}%"
- else:
- send "{@tag} &7> &2Poziom > &c0"
- if {exp.%arg offlineplayer%} is not 0:
- send "{@tag} &7> &2Exp > &c%{exp.%arg offlineplayer%}%"
- else:
- send "{@tag} &7> &2Exp > &c0"
- if {wykopany-stone.%arg offlineplayer%} is not 0:
- send "{@tag} &7> &2Wykopany kamien > &c%{wykopany-stone.%arg offlineplayer%}%"
- else:
- send "{@tag} &7> &2Wykopany kamien > &c0"
- send "&7--------------------------"
- else:
- send "{@tag} &7> &cNie podales nicku gracza !"
- arg 1 is not "sprawdz" or "przedmioty" or "info":
- send "&7--------------------------"
- send "{@tag} &7> &2Twoj poziom to > &c%{level.%player%}%"
- send "{@tag} &7> &2Twoj exp to > &c%{exp.%player%}%"
- send "{@tag} &7> &2Wykopales &c%{wykopany-stone.%player%}% &2stone !"
- send "&7--------------------------"
- send "&7>&e/kamien info &7- &2Informacje o systemie"
- send "&7>&e/kamien przedmioty &7- &2Drop poszczegulnych przedmiotow z kamienia"
- send "&7>&e/kamien sprawdz (gracz) &7- &2Statystyki danego gracza"
- send "&7--------------------------"
- on chat:
- player is op:
- stop
- else:
- set the player's display name to "&7[&2%{level.%player%}%&7] &r%display name of player%"
- #EXP
- on mine of stone:
- give 2 xp to the player
- add 1 to {wykopany-stone.%player%}
- if {exp.%player%} = 200:
- set {level.%player%} to 2
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 2 poziom !" to the player
- stop
- if {exp.%player%} = 300:
- set {level.%player%} to 3
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 3 poziom !" to the player
- stop
- if {exp.%player%} = 400:
- set {level.%player%} to 4
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 4 poziom !" to the player
- stop
- if {exp.%player%} = 500:
- set {level.%player%} to 5
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 5 poziom !" to the player
- broadcast "{@tag} &2Gracz &6%player% &2awansowal na 5 poziom ! Tym samym dostaje range HeroS na 2 dni !"
- run player command "setrank %player% HeroS 2 day" as op
- stop
- if {exp.%player%} = 600:
- set {level.%player%} to 6
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 6 poziom !" to the player
- stop
- if {exp.%player%} = 700:
- set {level.%player%} to 7
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 7 poziom !" to the player
- stop
- if {exp.%player%} = 800:
- set {level.%player%} to 8
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 8 poziom !" to the player
- stop
- if {exp.%player%} = 900:
- set {level.%player%} to 9
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 9 poziom !" to the player
- stop
- if {exp.%player%} = 1000:
- set {level.%player%} to 10
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 10 poziom !" to the player
- broadcast "{@tag} &2Gracz &6%player% &2awansowal na 10 poziom ! Tym samym dostaje range HeroS na 3 dni !"
- run player command "setrank %player% HeroS 3 day" as op
- send "&cDostałeś nową umiejętność ! - Podrzut wroga. Aby jej użyć kliknij dwa razy spację !" to the player
- set {skill.podrzut.%player%} to true
- set {skill.podrzut.aktywny.%player%} to true
- stop
- if {exp.%player%} = 1100:
- set {level.%player%} to 11
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 11 poziom !" to the player
- stop
- if {exp.%player%} = 1200:
- set {level.%player%} to 12
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 12 poziom !" to the player
- stop
- if {exp.%player%} = 1300:
- set {level.%player%} to 13
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 13 poziom !" to the player
- stop
- if {exp.%player%} = 1400:
- set {level.%player%} to 14
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 14 poziom !" to the player
- stop
- if {exp.%player%} = 1500:
- set {level.%player%} to 15
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 15 poziom !" to the player
- stop
- if {exp.%player%} = 1600:
- set {level.%player%} to 16
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 16 poziom !" to the player
- stop
- if {exp.%player%} = 1700:
- set {level.%player%} to 17
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 17 poziom !" to the player
- stop
- if {exp.%player%} = 1800:
- set {level.%player%} to 18
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 18 poziom !" to the player
- stop
- if {exp.%player%} = 1900:
- set {level.%player%} to 19
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 19 poziom !" to the player
- stop
- if {exp.%player%} = 2000:
- set {level.%player%} to 20
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 20 poziom !" to the player
- run player command "setrank %player% HeroS 4 day" as op
- set {skill.spowolnienie.%player%} to true
- set {skill.spowolnienie.%player%.aktywny} to true
- broadcast "{@tag} &2Gracz &6%player% &2awansowal na 20 poziom ! Tym samym dostaje range HeroS na 4 dni !"
- stop
- if {exp.%player%} = 2100:
- set {level.%player%} to 21
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 21 poziom !" to the player
- stop
- if {exp.%player%} = 2200:
- set {level.%player%} to 22
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 22 poziom !" to the player
- stop
- if {exp.%player%} = 2300:
- set {level.%player%} to 23
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 23 poziom !" to the player
- stop
- if {exp.%player%} = 2400:
- set {level.%player%} to 24
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 24 poziom !" to the player
- stop
- if {exp.%player%} = 2500:
- set {level.%player%} to 25
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 25 poziom !" to the player
- broadcast "{@tag} &2Gracz &6%player% &2awansowal na 25 poziom ! Tym samym dostaje range HeroS na 5 dni !"
- stop
- if {exp.%player%} = 2600:
- set {level.%player%} to 26
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 26 poziom !" to the player
- stop
- if {exp.%player%} = 2700:
- set {level.%player%} to 27
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 27 poziom !" to the player
- stop
- if {exp.%player%} = 2800:
- set {level.%player%} to 28
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 28 poziom !" to the player
- stop
- if {exp.%player%} = 2900:
- set {level.%player%} to 29
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 29 poziom !" to the player
- stop
- if {exp.%player%} = 3000:
- set {level.%player%} to 30
- send "&7> &2Gratulacje &e%player% &8! &2Awansowales na 30 poziom !" to the player
- run player command "setrank %player% HeroS 10 day" as op
- broadcast "{@tag} &cGracz &6%player% &cosiagnal 30 poziom ! Dostaje range HeroS na 10 dni !"
- stop
- on mine of any ore:
- cancel event
- drop 1 stone
- set block to air
- send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /kamien"
- on mine of emerald ore:
- cancel event
- drop 1 stone
- set block to air
- send "&a&lTen surowiec dropi tylko ze stone! Wiecej informacji: /kamien"
- #Drop i inne badziewia
- on mine of stone:
- if {drop_cobblestone.%player%} is true:
- cancel event
- set event-block to air
- damage player's tool by 1
- chance of {@chance_item1}:
- if {drop_item1.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item1}
- show monster spawner flames behind the player
- display "&eZnalazles wegiel !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item2}:
- if {drop_item2.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item2}
- show monster spawner flames behind the player
- display "&eZnalazles zelazo !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item3}:
- if {drop_item3.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item3}
- show monster spawner flames behind the player
- display "&eZnalazles zloto !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item4}:
- if {drop_item4.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item4}
- show monster spawner flames behind the player
- display "&eZnalazles czerwony proszek !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item5}:
- if {drop_item5.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item5}
- show monster spawner flames behind the player
- display "&eZnalazles lapis lazuli !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item6}:
- if {drop_item6.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_emerald}:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item6}
- show monster spawner flames behind the player
- display "&eZnalazles szmaragd !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item7}:
- if {drop_item7.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_diament}:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item7}
- show monster spawner flames behind the player
- display "&eZnalazles diament !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item8}:
- if {drop_item8.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item8}
- show monster spawner flames behind the player
- display "&eZnalazles perle !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item9}:
- if {drop_item9.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item9}
- show monster spawner flames behind the player
- display "&eZnalazles slime ball !" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@chance_item10}:
- if {drop_item10.%player%} is false:
- if player's tool is not a diamond pickaxe of fortune 3:
- drop {@item10}
- show monster spawner flames behind the player
- display "&eZnalazles proch !" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- # Fortune 1
- chance of {@chance_item1}+0.1:
- if {drop_item1.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item1}
- show monster spawner flames behind the player
- display "&eZnalazles wegiel ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@chance_item2}+0.1:
- if {drop_item2.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item2}
- show monster spawner flames behind the player
- display "&eZnalazles zelazo ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item3}+0.1:
- if {drop_item3.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item3}
- show monster spawner flames behind the player
- display "&eZnalazles zloto ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item4}+0.1:
- if {drop_item4.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item4}
- show monster spawner flames behind the player
- display "&eZnalazles czerwony proszek ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item5}+0.1:
- if {drop_item5.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item5}
- show monster spawner flames behind the player
- display "&eZnalazles lapis lazuli ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item6}+0.1:
- if {drop_item6.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_emerald}:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item6}
- show monster spawner flames behind the player
- display "&eZnalazles szmaragd ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item7}+0.1:
- if {drop_item7.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_diament}:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item7}
- display "&eZnalazles diament ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item8}+0.1:
- if {drop_item8.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item8}
- show monster spawner flames behind the player
- display "&eZnalazles perle ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@chance_item9}+0.1:
- if {drop_item9.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item9}
- display "&eZnalazles slime ball ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item10}+0.1:
- if {drop_item10.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 1:
- drop {@item10}
- display "&eZnalazles proch ! &7(Fortune I)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- # Fortune 2
- chance of {@chance_item1}+0.2:
- if {drop_item1.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item1}
- show monster spawner flames behind the player
- display "&eZnalazles wegiel ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@chance_item2}+0.2:
- if {drop_item2.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item2}
- show monster spawner flames behind the player
- display "&eZnalazles zelazo ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item3}+0.2:
- if {drop_item3.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item3}
- show monster spawner flames behind the player
- display "&eZnalazles zloto ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item4}+0.2:
- if {drop_item4.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item4}
- show monster spawner flames behind the player
- display "&eZnalazles czerwony proszek ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item5}+0.2:
- if {drop_item5.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item5}
- show monster spawner flames behind the player
- display "&eZnalazles lapis lazuli ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item6}+0.2:
- if {drop_item6.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_emerald}:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item6}
- show monster spawner flames behind the player
- display "&eZnalazles szmaragd ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item7}+0.2:
- if {drop_item7.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_diament}:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item7}
- display "&eZnalazles diament ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item8}+0.2:
- if {drop_item8.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item8}
- show monster spawner flames behind the player
- display "&eZnalazles perle ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@chance_item9}+0.2:
- if {drop_item9.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item9}
- display "&eZnalazles slime ball ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@chance_item10}+0.2:
- if {drop_item10.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 2:
- drop {@item10}
- display "&eZnalazles proch ! &7(Fortune II)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- # Fortune 3
- chance of {@fortune_chance_item1}:
- if {drop_item1.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item1}
- show monster spawner flames behind the player
- display "&eZnalazles wegiel ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@fortune_chance_item2}:
- if {drop_item2.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item2}
- show monster spawner flames behind the player
- display "&eZnalazles zelazo ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item3}:
- if {drop_item3.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item3}
- show monster spawner flames behind the player
- display "&eZnalazles zloto ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item4}:
- if {drop_item4.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item4}
- show monster spawner flames behind the player
- display "&eZnalazles czerwony proszek ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item5}:
- if {drop_item5.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item5}
- show monster spawner flames behind the player
- display "&eZnalazles lapis lazuli ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item6}:
- if {drop_item6.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_emerald}:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item6}
- show monster spawner flames behind the player
- display "&eZnalazles szmaragd ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item7}:
- if {drop_item7.%player%} is false:
- if block's y-coordinate is smaller than {@wysokosc_diament}:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item7}
- display "&eZnalazles diament ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item8}:
- if {drop_item8.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item8}
- show monster spawner flames behind the player
- display "&eZnalazles perle ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- stop
- chance of {@fortune_chance_item9}:
- if {drop_item9.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item9}
- display "&eZnalazles slime ball ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- chance of {@fortune_chance_item10}:
- if {drop_item10.%player%} is false:
- if player's tool is a diamond pickaxe of fortune 3:
- drop {@item10}
- display "&eZnalazles proch ! &7(Fortune III)" on bossbar with {online} percent by 5 seconds for player
- show monster spawner flames behind the player
- add 1 to {exp.%player%}
- stop
- # Wylaczanie dropu poszczegulnych itemow
- #item1: coal
- #item2: iron ingot
- #item3: gold ingot
- #item4: redstone
- #item5: lapis lazuli
- #item6: emerald
- #item7: diamond
- #item8: ender pearl
- #item9: slimeball
- #item10: gunpowder
- command /opcje:
- trigger:
- open chest with 4 rows named "&fOpcje dropu" to player
- wait 2 tick
- format slot 0 of player with 1 of cobblestone named "&fCobblestone" with lore "&cWyłącz drop cobblestone" to run [set {drop_cobblestone.%player%} to true]
- format slot 9 of player with 1 of cobblestone named "&fCobblestone" with lore "&aWłącz drop cobblestone" to run [set {drop_cobblestone.%player%} to false]
- format slot 1 of player with 1 of coal named "&fWęgiel" with lore "&cWyłącz drop węgla" to run [set {drop_item1.%player%} to true]
- format slot 10 of player with 1 of coal named "&fWęgiel" with lore "&aWłącz drop węgla" to run [set {drop_item1.%player%} to false]
- format slot 2 of player with 1 of iron ingot named "&fŻelazo" with lore "&cWyłącz drop żelaza" to run [set {drop_item2.%player%} to true]
- format slot 11 of player with 1 of iron ingot named "&fŻelazo" with lore "&aWłącz drop żelaza" to run [set {drop_item2.%player%} to false]
- format slot 3 of player with 1 of gold ingot named "&fZłoto" with lore "&cWyłącz drop złota" to run [set {drop_item3.%player%} to true]
- format slot 12 of player with 1 of gold ingot named "&fZłoto" with lore "&aWłącz drop złota" to run [set {drop_item3.%player%} to false]
- format slot 4 of player with 1 of redstone named "&fRedstone" with lore "&cWyłącz drop redstone" to run [set {drop_item4.%player%} to true]
- format slot 13 of player with 1 of redstone named "&fRedstone" with lore "&aWłącz drop redstone" to run [set {drop_item4.%player%} to false]
- format slot 5 of player with 1 of lapis lazuli named "&fLapis lazuli" with lore "&cWyłącz drop lapis lazuli" to run [set {drop_item5.%player%} to true]
- format slot 14 of player with 1 of lapis lazuli named "&fLapis lazuli" with lore "&aWłącz drop lapis lazuli" to run [set {drop_item5.%player%} to false]
- format slot 6 of player with 1 of emerald named "&fSzmaragd" with lore "&cWyłącz drop szmaragdów" to run [set {drop_item6.%player%} to true]
- format slot 15 of player with 1 of emerald named "&fSzmaragd" with lore "&aWłącz drop szmaragdów" to run [set {drop_item6.%player%} to false]
- format slot 7 of player with 1 of diamond named "&fDiament" with lore "&cWyłącz drop diamentów" to run [set {drop_item7.%player%} to true]
- format slot 16 of player with 1 of diamond named "&fDiament" with lore "&aWłącz drop diamentów" to run [set {drop_item7.%player%} to false]
- format slot 8 of player with 1 of ender pearl named "&fPerła" with lore "&cWyłącz drop pereł" to run [set {drop_item8.%player%} to true]
- format slot 17 of player with 1 of ender pearl named "&fPerła" with lore "&aWłącz drop pereł" to run [set {drop_item8.%player%} to false]
- format slot 18 of player with 1 of slimeball named "&fSlimeball" with lore "&cWyłącz drop slimeballów" to run [set {drop_item9.%player%} to true]
- format slot 27 of player with 1 of slimeball named "&fSlimeball" with lore "&aWłącz drop slimeballów" to run [set {drop_item9.%player%} to false]
- format slot 19 of player with 1 of gunpowder named "&fProch" with lore "&cWyłącz drop prochu" to run [set {drop_item10.%player%} to true]
- format slot 28 of player with 1 of gunpowder named "&fProch" with lore "&aWłącz drop prochu" to run [set {drop_item10.%player%} to false]
- #Skille :)
- on join:
- if {level.%player%} is bigger than 10:
- enable fly for player
- set {skill.podrzut.aktywny.%player%} to true
- on flight toggle:
- if player's gamemode is not creative:
- cancel event
- disable fly for player
- if {skill.podrzut.%player%} is true:
- if {skill.podrzut.aktywny.%player%} is true:
- send "&cUżyłeś umiejętności podrzutu wroga !" to the player
- loop players in radius 5 of player:
- push loop-player upwards at speed 1.3
- send "&4%player% podrzucił cię!" to loop-player
- set {skill.podrzut.aktywny.%player%} to false
- wait 10 real minutes
- set {skill.podrzut.aktywny.%player%} to true
- enable fly for player
- set {skill.podrzut.aktywny.%player%} to true
- send "&aZnowu możesz użyć umiejętności podrzutu wroga !" to the player
- on jump:
- if player is sneaking:
- if player's gamemode is not creative:
- if {skill.spowolnienie.%player%} is true:
- if {skill.spowolnienie.aktywny.%player%} is true:
- set {skill.spowolnienie.aktywny.%player%} to false
- send "&cUżyłeś umiejętności spowolnienia wroga !" to the player
- loop players in radius 5 of player:
- push loop-player backwards at speed 0.3
- apply slowness 3 to loop-players for 1 minute
- apply hunger 4 to loop-players for 1 minute
- send "&4%player% spowolnil Cie!" to loop-player
- wait 10 real minutes
- set {skill.spowolnienie.aktywny.%player%} to true
- send "&aZnowu możesz użyć umiejętności spowolnienia wroga !" to the player
Advertisement
Add Comment
Please, Sign In to add comment