variables: {diamenty.drop::%player%} = true {emeraldy.drop::%player%} = true {zloto.drop::%player%} = true {zelazo.drop::%player%} = true {wegiel.drop::%player%} = true {redstone.drop::%player%} = true {cobble.drop::%player%} = true {diamenty::%player%} = 0 {emeraldy::%player%} = 0 {zloto::%player%} = 0 {zelazo::%player%} = 0 {wegiel::%player%} = 0 {redstone::%player%} = 0 {wykopanystone::%player%} = 0 {punkty::%player%} = 0 {lvl::%player%} = 1 options: szansa_diament: 0.3 szansa_emerald: 0.3 szansa_zloto: 0.5 szansa_zelazo: 0.7 szansa_wegiel: 0.8 szansa_redstone: 0.6 wysokosc_diament: 100 wysokosc_emerald: 100 wysokosc_zloto: 100 wysokosc_zelazo: 100 wysokosc_wegiel: 100 wysokosc_redstone: 100 on mine stone: chance of {@szansa_emerald}%: if player's y-coordinate is smaller than {@wysokosc_emerald}: if {emeraldy.drop::%player%} is true: drop 1 emerald at event-block add 30 xp to player set block to air on mine stone: chance of 1%: drop 1 obsidian at player add 30 xp to player set block to air on mine stone: chance of {@szansa_diament}%: if player's y-coordinate is smaller than {@wysokosc_diament}: if {diamenty.drop::%player%} is true: drop 1 diamond at event-block add 30 xp to player set block to air on mine stone: chance of {@szansa_wegiel}%: if player's y-coordinate is smaller than {@wysokosc_wegiel}: if {wegiel.drop::%player%} is true: drop 1 coal at event-block add 30 xp to player set block to air on mine stone: chance of 6%: drop 1 ender pearl at player add 30 xp to player set block to air on mine stone: chance of {@szansa_redstone}%: if player's y-coordinate is smaller than {@wysokosc_redstone}: if {redstone.drop::%player%} is true: drop 1 redstone at event-block add 30 xp to player set block to air on mine stone: chance of {@szansa_zelazo}%: if player's y-coordinate is smaller than {@wysokosc_zelazo}: if {zelazo.drop::%player%} is true: drop 1 iron ore at event-block add 30 xp to player set block to air on mine stone: chance of {@szansa_zloto}%: if player's y-coordinate is smaller than {@wysokosc_zloto}: if {zloto.drop::%player%} is true: drop 1 gold ingot at event-block add 30 xp to player set block to air on mine stone: chance of 8%: drop 1 tnt at player add 30 xp to player set block to air on mine stone: if {cobble.drop::%player%} is true: drop 1 cobblestone at event-block set block to air on mine stone: add 1 to {wykopanystone::%player%} if {cobble.drop::%player%} is false: set block to air on mine diamond ore: chance of {@szansa_diament}%: if player's y-coordinate is smaller than {@wysokosc_diament}: if {diamenty.drop::%player%} is true: if player's tool is enchanted with fortune: drop 1 diamond at event-block set block to air on mine gold ore: if {zloto.drop::%player%} is true: if player's tool is enchanted with fortune: drop 1 gold ingot at event-block set block to air on mine iron ore: if {zelazo.drop::%player%} is true: if player's tool is enchanted with fortune: drop 1 iron ingot at event-block set block to air on mine iron ore: if {zelazo.drop::%player%} is true: drop 1 iron ingot at event-block set block to air cancel event on mine emerald ore: if {emeraldy.drop::%player%} is true: if player's tool is enchanted with fortune: give 1 emerald to event-block set block to air on mine stone: chance of 3.5%: give tnt named "&4Rzucane TNT" to event-block set block to air cancel event on mine redstone ore: if {redstone.drop::%player%} is true: if player's tool is enchanted with fortune: drop 1 redstone at event-block set block to air on mine stone: chance of 0.1%: drop 1 sunflower named "&e&lMoneta serverowa" at player broadcast "&8&m————————————————————————————————————————————" broadcast "" broadcast "&eGracz &6%player% &ewydropil monete serverowa!" broadcast "" broadcast "&8&m———————————————————————————————————————————" on mine stone: chance of 0.1%: drop 1 chest of unbreaking 10 named "&9&lPREMIUM CASE" at player broadcast "&8&m——————————————————————————————————————————" broadcast "" broadcast "&eGracz &6%player% &ewydropil &9&lPREMIUM CASE" broadcast "" broadcast "&8&m——————————————————————————————————————————" cancel event on mine stone: chance of 1%: drop 1 chest of unbreaking 10 named "&5&lPolski&3&lServer &6&lCASE" with lore "&dPostaw pod siebie lub kliknij||&dw powietrzu aby otworzyc case'a" at player broadcast "&8&m—————————————————————————————————————————" broadcast "" broadcast "&eGracz &6%player% &ewydropil &5&lPolski&3&lServer &6&lCASE" broadcast "" broadcast "&8&m—————————————————————————————————————————" cancel event command /drop: trigger: open chest with 5 row named "&6&lDROP" to player loop 45 times: set player's current inventory's slot loop-number -1 to black stained glass pane named "&c" set player's current inventory's slot 20 to iron Helmet named "&6&lDROP &aWlacz" with lore "&aKliknij aby wlaczyc drop||&aPoszczegolnych blokow" set player's current inventory's slot 24 to diamond Helmet named "&6&lDROP &cWylacz" with lore "&cKlinij aby wylaczyc drop||&cPoszczegolnych blokow" on inventory click: if "%inventory name of player's current inventory%" is "&6&lDROP": cancel event if "%clicked slot%" is "20": execute player command "drwl" if "%clicked slot%" is "24": execute player command "drwyl" command /drwl: trigger: open chest with 2 row named "&a&lWlacz &e&lDROP" to player loop 18 times: set player's current inventory's slot loop-number -1 to black stained glass pane named "&c" set player's current inventory's slot 1 to diamond named "&b&lDiamenty" set player's current inventory's slot 2 to diamond Helmet named "&2&lEmeraldy" set player's current inventory's slot 3 to iron ingot named "&e&lZloto" set player's current inventory's slot 4 to gold ingot named "&7&lZelazo" set player's current inventory's slot 5 to coal named "&0&lWegiel" set player's current inventory's slot 6 to redstone named "&c&lRedstone" set player's current inventory's slot 17 to cobblestone named "&7Cobblestone" on inventory click: if "%inventory name of player's current inventory%" is "&a&lWlacz &e&lDROP": cancel event if "%clicked slot%" is "1": if {diamenty.drop::%player%} is false: set {diamenty.drop::%player%} to true send "&aWlaczyles &bdiamenty &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "2": if {emeraldy.drop::%player%} is false: set {emeraldy.drop::%player%} to true send "&aWlaczyles &2emeraldy &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "3": if {zloto.drop::%player%} is false: set {zloto.drop::%player%} to true send "&aWlaczyles &ezloto &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "4": if {zelazo.drop::%player%} is false: set {zelazo.drop::%player%} to true send "&aWlaczyles &7zelazo &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "5": if {wegiel.drop::%player%} is false: set {wegiel.drop::%player%} to true send "&aWlaczyles &0wegiel &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "6": if {redstone.drop::%player%} is false: set {redstone.drop::%player%} to true send "&aWlaczyles &credstone &ado dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if "%clicked slot%" is "17": if {cobble.drop::%player%} is false: set {cobble.drop::%player%} to true send "&aWlaczyles &7cobblestone &ado dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" command /drwyl: trigger: open chest with 2 row named "&c&lWylacz &6&lDROP" to player loop 18 times: set player's current inventory's slot loop-number -1 to black stained glass pane named "&c" set player's current inventory's slot 1 to diamond named "&b&lDiamenty" set player's current inventory's slot 2 to emerald named "&2&lEmeraldy" set player's current inventory's slot 3 to gold ingot named "&e&lZloto" set player's current inventory's slot 4 to iron ingot named "&7&lZelazo" set player's current inventory's slot 5 to coal named "&0&lWegiel" set player's current inventory's slot 6 to redstone named "&c&lRedstone" set player's current inventory's slot 17 to cobblestone named "&7Cobblestone" on inventory click: if "%inventory name of player's current inventory%" is "&c&lWylacz &6&lDROP": cancel event if "%clicked slot%" is "1": if {diamenty.drop::%player%} is true: set {diamenty.drop::%player%} to false send "&cWylaczyles &bdiamenty &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "2": if {emeraldy.drop::%player%} is true: set {emeraldy.drop::%player%} to false send "&cWylaczyles &2emeraldy &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "3": if {zloto.drop::%player%} is true: set {zloto.drop::%player%} to false send "&cWylaczyles &ezloto &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "4": if {zelazo.drop::%player%} is true: set {zelazo.drop::%player%} to false send "&cWylaczyles &7zelazo &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "5": if {wegiel.drop::%player%} is true: set {wegiel.drop::%player%} to false send "&cWylaczyles &0wegiel &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "6": if {redstone.drop::%player%} is true: set {redstone.drop::%player%} to false send "&cWylaczyles &credstone &cz dropu" else: send "&cMasz juz wylaczony drop z tego bloku!" if "%clicked slot%" is "17": if {cobble.drop::%player%} is true: set {cobble.drop::%player%} to false send "&cWylaczyles &7cobblestone &cz dropu" else: send "&cMasz juz wlaczony drop z tego bloku!" if {lvl::%player%} is 1: if {punkty::%player%} is larger than 10: set {lvl::%player%} to 2 send "&6Awansowales na &72 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &72&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 2: if {punkty::%player%} is larger than 25: set {lvl::%player%} to 3 send "&6Awansowales na &73 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &73&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 3: if {punkty::%player%} is larger than 50: set {lvl::%player%} to 4 send "&6Awansowales na &74 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &74&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 4: if {punkty::%player%} is larger than 100: set {lvl::%player%} to 5 send "&6Awansowales na &75 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &75&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 5: if {punkty::%player%} is larger than 200: set {lvl::%player%} to 6 send "&6Awansowales na &76 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &76&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 6: if {punkty::%player%} is larger than 350: set {lvl::%player%} to 7 send "&6Awansowales na &77 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &77&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 7: if {punkty::%player%} is larger than 600: set {lvl::%player%} to 8 send "&6Awansowales na &78 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &78&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 8: if {punkty::%player%} is larger than 900: set {lvl::%player%} to 9 send "&6Awansowales na &79 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &79&3 poziom!" set {punkty::%player%} to 0 if {lvl::%player%} is 9: if {punkty::%player%} is larger than 1300: set {lvl::%player%} to 10 send "&6Awansowales na &710 &6poziom kopania" broadcast "&f[&a&lPoziom&f] &3Gracz %player% awansowal na &710&3 poziom!&c&lGratulacje!" set {punkty::%player%} to 0 command /statystyki: aliases: staty, stats trigger: send "&b&l&m-----------&b&l[&a&lStatystyki&b&l]&b&l&m-----------" send "&6Wykopane diaxy: &f%{diamenty::%player%}%" send "&3Wykopane szmaragdy: &f%{emeraldy::%player%}%" send "&6Wykopane sztabki zlota: &f%{zloto::%player%}%" send "&3Wykopane sztabki zelaza: &f%{zelazo::%player%}%" send "&6Wykopany bruk: &f%{wykopanystone::%player%}%" send "&3Wykopany wegiel: &f%{wegiel::%player%}%" send "&6Wykopeny redstone: &f%{redstone::%player%}%" send "&b&l&m-----------&b&l[&a&lStatystyki&b&l]&b&l&m-----------" command /poziom: aliases: lvl, level trigger: if {lvl::%player%} is 1: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/10&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 2: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/25&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 3: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/50&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 4: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/100&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 5: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/200&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 6: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/350&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 7: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/600&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 8: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/900&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 9: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&aPosiadasz &7%{punkty::%player%}%/1300&a punktow doswiadczenia" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" if {lvl::%player%} is 10: send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" send "&aTwoj aktualny poziom wynosi:&7 %{lvl::%player%}%" send "&b&l&m---------------&b&l[&a&lPoziom&b&l]&b&l&m---------------" broadcast "&aGratulacje! Gracz &b%player%&a osiagnal maksymalny poziom 10!"