# ZAKAZ SPRZEDAWANIA BO I TAK NIKT NIE KUPI # Dostepne komendy: /drop /lvl /turbodrop options: p.exp.dzial: ({lvl::%player%}*{lvl::%player%})*150 # dzialanie, ktore decyduje o ilosci potrzebnego exp. Z levelem zwieksza sie potrzebny exp lvl.up: &6Zdobyles Level &l%{lvl::%player%}%&c! # Wiadomosc o wbiciu levela drop.expa: 1 and 10 # ile minimalnie i maksymalnie jestesmy zdobyc expa z jedengo bloku szansa.coal: 8 # Szansa na wydropienie wegla szansa.iron: 6 # Szansa na wydropienie rudy zelaza szansa.gold: 3 # Szansa na wydropienie Rudy zlota szansa.diamond: 0.5 # Szansa na wydropienie diamentu szansa.emerald: 0.1 # Szansa na wydropienie emeraldu szansa.turbodrop: 0.005 # Szansa na wydropienie turbodrop mnoznik.turbodrop: 2 # Ile razy turbodrop ma mnozyc drop turbodrop.czas: 10 # Czas w minutach ile ma trwac turbodrop Min. 1 turbodrop.item: blaze rod # Item ktory aktywuje turbodrop turbodrop.nazwa: &6TurboDrop # Nazwa itemu turbodrop variables: {lvl::%player%} = 1 {p.exp.%player%} = 150 command /turbodrop []: aliases: tb trigger: {turbodrop.%player%} > 0: send "&2Pozostalo ci jeszcze %{turbodrop.%player%}% minuty" else: send "&2Nie masz aktywnego {@turbodrop.nazwa}" command /lvl []: aliases: level, poziom, l, poziom trigger: send "&elevel: %{lvl::%player%}%" send "&eExp: &2%{exp.%player%}%/&6%{p.exp.%player%}%" command /drop []: aliases: stone trigger: send "&eWegiel: &a{@szansa.coal}%%" send "&eRuda zelaza: &a{@szansa.iron}%%" send "&eRuda zlota: &a{@szansa.gold}%%" send "&eDiament: &e{@szansa.diamond}%%" send "&eEmerald: &a{@szansa.emerald}%%" send "&e{@turbodrop.nazwa}: &a{@szansa.turbodrop}%%" on mine stone: set {_exp.d.%player%} to a random integer between {@drop.expa} add {_exp.d.%player%} to {exp.%player%} {exp.%player%} >= {p.exp.%player%}: add 1 to {lvl::%player%} send "{@lvl.up}" set {p.exp.%player%} to {@p.exp.dzial} {turbodrop.%player%} > 0: chance of {@szansa.iron}*{@mnoznik.turbodrop}%: if player can hold 1 iron ore: give iron ore to player else: drop iron ore send "&cNie pomieszcisz wiecej: Rud zelaza !" else: chance of {@szansa.iron}%: if player can hold 1 iron ore: give iron ore to player else: drop iron ore send "&cNie pomieszcisz wiecej: Rud zelaza !" {turbodrop.%player%} > 0: chance of {@szansa.coal}*{@mnoznik.turbodrop}%: if player can hold 1 coal: give coal to player else: drop coal send "&cNie pomieszcisz wiecej: Wegla !" else: chance of {@szansa.coal}%: if player can hold 1 coal: give coal to player else: drop coal send "&cNie pomieszcisz wiecej: Wegla !" {turbodrop.%player%} > 0: chance of {@szansa.gold}*{@mnoznik.turbodrop}%: if player can hold 1 gold ore: give gold ore to player else: drop gold ore send "&cNie pomieszcisz wiecej: Zlota !" else: chance of {@szansa.gold}%: if player can hold 1 gold ore: give gold ore to player else: drop gold ore send "&cNie pomieszcisz wiecej: Zlota !" {turbodrop.%player%} > 0: chance of {@szansa.diamond}*{@mnoznik.turbodrop}%: if player can hold 1 diamond: give diamond to player else: drop diamond send "&cNie pomieszcisz wiecej: Diamentow !" else: chance of {@szansa.diamond}%: if player can hold 1 diamond: give diamond to player else: drop diamond send "&cNie pomieszcisz wiecej: Diamentow !" {turbodrop.%player%} > 0: chance of {@szansa.emerald}*{@mnoznik.turbodrop}%: if player can hold 1 emerald: give emerald to player else: drop emerald send "&cNie pomieszcisz wiecej: Emeraldow !" else: chance of {@szansa.emerald}%: if player can hold 1 emerald: give emerald to player else: drop emerald send "&cNie pomieszcisz wiecej: Emeraldow !" chance of {@szansa.turbodrop}%: send "&2Droplnales: {@turbodrop.nazwa}" if player can hold 1 blaze rod named "{@turbodrop.nazwa}" with lore "&cWes do reki a nastepnie kliknij PPM" and "&cAby aktywowac {@turbodrop.nazwa} na {@turbodrop.czas} minut": give blaze rod named "{@turbodrop.nazwa}" with lore "&cWes do reki a nastepnie kliknij PPM" and "&cAby aktywowac {@turbodrop.nazwa} na {@turbodrop.czas} minut" to player else: drop blaze rod named "{@turbodrop.nazwa}" with lore "&cWes do reki a nastepnie kliknij PPM" and "&cAby aktywowac {@turbodrop.nazwa} na {@turbodrop.czas} minut" on rightclick: if name of player's tool is "{@turbodrop.nazwa}": set {_x} to "%player's tool%" set {_x} to first 2 characters of {_x} replace all " " in {_x} with "" set {_x} to {_x} parsed as integer {_x} >= 2: send "&cAby uzyc przedmiotu musisz miec 1 w rece" stop {turbodrop.%player%} > 0: send "&cMasz juz aktywny {@turbodrop.nazwa}" else: set player's tool to air set {turbodrop.%player%} to {@turbodrop.czas} send "&6&lAktywowales {@turbodrop.nazwa} na {@turbodrop.czas} minut" every 1 minute in "world": loop all players: {turbodrop.%loop-player%} > 0: remove 1 from {turbodrop.%loop-player%} {turbodrop.%loop-player%} = 0: send "&c{@turbodrop.nazwa} sie skonczyl" to loop-player stop {turbodrop.%loop-player%} = 5: send "&cPozostalo jeszcze 5 minut {@turbodrop.nazwa}" to loop-player stop {turbodrop.%loop-player%} = 3: send "&cPozostalo jeszcze 3 minuty {@turbodrop.nazwa}" to loop-player stop {turbodrop.%loop-player%} = 1: send "&cPozostalo jeszcze 1 minuta {@turbodrop.nazwa}" to loop-player