every 2 seconds: set {_a} to random integer between 2 and 4 set {_b} to random integer between 2 and 6 variables: {wiadomoscidrop.%player%} = true {cobblestone.%player%} = true {wykopanystone.%player%} = 0 {kawalekkrysztalu.%player%} = 0 {krysztal.%player%} = 0 {diament.%player%} = 0 {zelazo.%player%} = 0 {zloto.%player%} = 0 options: szansadiament: 3 szansakawalekkrysztalu: 0.5 szansazelazo: 20 szansazloto: 15 szansawegiel: 40 szansaredstone: 40 szansaemerald: 20 on break of stone: if {cobblestone.%player%} is false: cancel event set event-block to air on mine of stone: chance of 100%: add 1 xp to the player on mine of stone: if player's gamemode is survival: add 1 to {wykopanystone.%player%} chance of {@szansadiament}%: give 1 diamond to the player add 1 to {diament.%player%} if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &3diament!" chance of {@szansakawalekkrysztalu}%: give 1 diamond named "&bKawalek Krysztalu" to the player add 1 to {kawalekkrysztalu.%player%} if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &bKawalek Krysztalu!" chance of {@szansazelazo}%: give {_a} of iron ingot to the player add {_a} to {zelazo.%player%} if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &c%{_a}%x &7Sztabke zelaza!" chance of {@szansazloto}%: give {_a} of gold ingot to the player add {_a} to {zloto.%player%} if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &c%{_a}%x &6Sztabke zlota!" chance of {@szansawegiel}%: give {_b} of coal to the player add {_b} to {wegiel.%player%} if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &c%{_b}%x &8Wegla!" chance of {@szansaredstone}%: give {_b} of redstone to the player if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &c%{_b}%x &cCzerwonego proszku!" chance of {@szansaemerald}%: give {_a} of emerald to the player if {wiadomoscidrop.%player%} is true: send "&c&lF&f&lS &8» &fWydropiles &c%{_a}%x &2Emerald!" on mine of any ore: cancel event set block to air send "&c&lF&f&lS &8» &fDrop jest tylko ze stone" command /drop []: trigger: if arg 1 is not set: if {cobblestone.%player%} is false set {cobblestone.%player%} to true send "&c&lF&f&lS &8» &fWlaczyles drop ze stone" if {cobblestone.%player%} is true send "&c&lF&f&lS &8» &fMasz wlaczony drop" if arg 1 is set: if {cobblestone.%player%} is true set {cobblestone.%player%} to false send "&c&lF&f&lS &8» &fWylaczyles drop ze stone" if {cobblestone.%player%} is false send "&c&lF&f&lS &8» &fMasz wylaczony drop"