#=========================# # mDrop v.1.0 # # Stworzone przez: # # mati770ka # # Edycja na wlasny uzytek # #=========================# #====================# # Logo # #====================# options: logo: &8&l[&6&l*&c&lm&a&lDrop&6&l*&8&l] #====================# # Szansa # # na drop # #====================# zelazo: 1.2% zloto: 1.1% emerald: 0.8% lapis: 1.4% redstone: 1.6% diament: 0.2% wegiel: 2% #====================# # Zablokowanie # # dropu # # z rud # #====================# on mine of any ore: player's gamemode is survival: cancel event set block to air send "{@logo} &bRudy leca tylko z &8Stone" #====================# # Zablokowanie # # wypadania rud # # po eksplozji # #====================# on explode: if entity is TNT: loop blocks in radius 8: if loop-block is any ore: set loop-block to air #====================# # Drop Zelaza # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@zelazo}: drop 1 iron ore send "{@logo} &bGratulacje znalazles &a1 &8Zelazo" else: if player's tool is pickaxe of fortune 1: chance of {@zelazo}: drop 2 iron ore send "{@logo} &bGratulacje znalazles &a2 &7Zelaza" chance of {@zelazo}: drop 1 iron ore send "{@logo} &bGratulacje znalazles &a1 &7Zelazo" else: if player's tool is pickaxe of fortune 2: chance of {@zelazo}: drop 3 iron ore send "{@logo} &bGratulacje znalazles &a3 &7Zelaza" chance of {@zelazo}: drop 2 iron ore send "{@logo} &bGratulacje znalazles &a2 &7Zelaza" chance of {@zelazo}: drop 1 iron ore send "{@logo} &bGratulacje znalazles &a1 &7Zelazo" else: if player's tool is pickaxe of fortune 3: chance of {@zelazo}: drop 4 iron ore send "{@logo} &bGratulacje znalazles &a4 &7Zelaza" chance of {@zelazo}: drop 3 iron ore send "{@logo} &bGratulacje znalazles &a3 &7Zelaza" chance of {@zelazo}: drop 2 iron ore send "{@logo} &bGratulacje znalazles &a2 &7Zelaza" chance of {@zelazo}: drop 1 iron ore send "{@logo} &bGratulacje znalazles &a1 &7Zelazo" #====================# # Drop Zlota # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@zloto}: drop 1 gold ore send "{@logo} &bGratulacje znalazles &a1 &eZloto" else: if player's tool is pickaxe of fortune 1: chance of {@zloto}: drop 2 gold ore send "{@logo} &bGratulacje znalazles &a2 &eZlota" chance of {@zloto}: drop 1 gold ore send "{@logo} &bGratulacje znalazles &a1 &eZloto" else: if player's tool is pickaxe of fortune 2: chance of {@zloto}: drop 3 gold ore send "{@logo} &bGratulacje znalazles &a3 &eZlota" chance of {@zloto}: drop 2 gold ore send "{@logo} &bGratulacje znalazles &a2 &eZlota" chance of {@zloto}: drop 1 gold ore send "{@logo} &bGratulacje znalazles &a1 &eZloto" else: if player's tool is pickaxe of fortune 3: chance of {@zloto}: drop 4 gold ore send "{@logo} &bGratulacje znalazles &a4 &eZlota" chance of {@zloto}: drop 3 gold ore send "{@logo} &bGratulacje znalazles &a3 &eZlota" chance of {@zloto}: drop 2 gold ore send "{@logo} &bGratulacje znalazles &a2 &eZlota" chance of {@zloto}: drop 1 gold ore send "{@logo} &bGratulacje znalazles &a1 &eZloto" #====================# # Drop Emeraldow # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@emerald}: drop 1 emerald send "{@logo} &bGratulacje znalazles &a1 &2Emerald" else: if player's tool is pickaxe of fortune 1: chance of {@emerald}: drop 2 emerald send "{@logo} &bGratulacje znalazles &a2 &2Emeraldy" chance of {@emerald}: drop 1 emerald send "{@logo} &bGratulacje znalazles &a1 &2Emerald" else: if player's tool is pickaxe of fortune 2: chance of {@emerald}: drop 3 emerald send "{@logo} &bGratulacje znalazles &a3 &2Emeraldy" chance of {@emerald}: drop 2 emerald send "{@logo} &bGratulacje znalazles &a2 &2Emeraldy" chance of {@emerald}: drop 1 emerald send "{@logo} &bGratulacje znalazles &a1 &2Emerald" else: if player's tool is pickaxe of fortune 3: chance of {@emerald}: drop 4 emerald send "{@logo} &bGratulacje znalazles &a4 &2Emeraldy" chance of {@emerald}: drop 3 emerald send "{@logo} &bGratulacje znalazles &a3 &2Emeraldy" chance of {@emerald}: drop 2 emerald send "{@logo} &bGratulacje znalazles &a2 &2Emeraldy" chance of {@emerald}: drop 1 emerald send "{@logo} &bGratulacje znalazles &a1 &2Emerald" #====================# # Drop Lapisu # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@lapis}: drop 1 lapis lazuli send "{@logo} &bGratulacje znalazles &a1 &1Lapis" else: if player's tool is pickaxe of fortune 1: chance of {@lapis}: drop 2 lapis lazuli send "{@logo} &bGratulacje znalazles &a2 &1Lapisy" chance of {@lapis}: drop 1 lapis lazuli send "{@logo} &bGratulacje znalazles &a1 &1Lapis" else: if player's tool is pickaxe of fortune 2: chance of {@lapis}: drop 3 lapis lazuli send "{@logo} &bGratulacje znalazles &a3 &1Lapisy" chance of {@lapis}: drop 2 lapis lazuli send "{@logo} &bGratulacje znalazles &a2 &1Lapisy" chance of {@lapis}: drop 1 lapis lazuli send "{@logo} &bGratulacje znalazles &a1 &1Lapis" else: if player's tool is pickaxe of fortune 3: chance of {@lapis}: drop 4 lapis lazuli send "{@logo} &bGratulacje znalazles &a4 &1Lapisy" chance of {@lapis}: drop 3 lapis lazuli send "{@logo} &bGratulacje znalazles &a3 &1Lapisy" chance of {@lapis}: drop 2 lapis lazuli send "{@logo} &bGratulacje znalazles &a2 &1Lapisy" chance of {@lapis}: drop 1 lapis lazuli send "{@logo} &bGratulacje znalazles &a1 &1Lapis" #====================# # Drop Redstone # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@redstone}: drop 1 redstone send "{@logo} &bGratulacje znalazles &a1 &4Redstone" else: if player's tool is pickaxe of fortune 1: chance of {@redstone}: drop 2 redstone send "{@logo} &bGratulacje znalazles &a2 &4Redstone" chance of {@redstone}: drop 1 redstone send "{@logo} &bGratulacje znalazles &a1 &4Redstone" else: if player's tool is pickaxe of fortune 2: chance of {@redstone}: drop 3 redstone send "{@logo} &bGratulacje znalazles &a3 &4Redstone" chance of {@redstone}: drop 2 redstone send "{@logo} &bGratulacje znalazles &a2 &4Redstone" chance of {@redstone}: drop 1 redstone send "{@logo} &bGratulacje znalazles &a1 &4Redstone" else: if player's tool is pickaxe of fortune 3: chance of {@redstone}: drop 4 redstone send "{@logo} &bGratulacje znalazles &a4 &4Redstone" chance of {@redstone}: drop 3 redstone send "{@logo} &bGratulacje znalazles &a3 &4Redstone" chance of {@redstone}: drop 2 redstone send "{@logo} &bGratulacje znalazles &a2 &4Redstone" chance of {@redstone}: drop 1 redstone send "{@logo} &bGratulacje znalazles &a1 &4Redstone" #====================# # Drop Diamentu # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@diament}: drop 1 diamond send "{@logo} &bGratulacje znalazles &a1 &bDiament" else: if player's tool is pickaxe of fortune 1: chance of {@diament}: drop 2 diamond send "{@logo} &bGratulacje znalazles &a2 &bDiamenty" chance of {@diament}: drop 1 diamond send "{@logo} &bGratulacje znalazles &a1 &bDiament" else: if player's tool is pickaxe of fortune 2: chance of {@diament}: drop 3 diamond send "{@logo} &bGratulacje znalazles &a3 &bDiamenty" chance of {@diament}: drop 2 diamond send "{@logo} &bGratulacje znalazles &a2 &bDiamenty" chance of {@diament}: drop 1 diamond send "{@logo} &bGratulacje znalazles &a1 &bDiament" else: if player's tool is pickaxe of fortune 3: chance of {@diament}: drop 4 diamond send "{@logo} &bGratulacje znalazles &a4 &bDiamenty" chance of {@diament}: drop 3 diamond send "{@logo} &bGratulacje znalazles &a3 &bDiamenty" chance of {@diament}: drop 2 diamond send "{@logo} &bGratulacje znalazles &a2 &bDiamenty" chance of {@diament}: drop 1 diamond send "{@logo} &bGratulacje znalazles &a1 &bDiament" #====================# # Drop Wegla # #====================# on mine of stone: if player's gamemode is survival: if player's tool is pickaxe of fortune 0: chance of {@wegiel}: drop 1 coal send "{@logo} &bGratulacje znalazles &a1 &0Wegiel" else: if player's tool is pickaxe of fortune 1: chance of {@wegiel}: drop 2 coal send "{@logo} &bGratulacje znalazles &a2 &0Wegla" chance of {@wegiel}: drop 1 coal send "{@logo} &bGratulacje znalazles &a1 &0Wegiel" else: if player's tool is pickaxe of fortune 2: chance of {@wegiel}: drop 3 coal send "{@logo} &bGratulacje znalazles &a3 &0Wegla" chance of {@wegiel}: drop 2 coal send "{@logo} &bGratulacje znalazles &a2 &0Wegla" chance of {@wegiel}: drop 1 coal send "{@logo} &bGratulacje znalazles &a1 &0Wegiel" else: if player's tool is pickaxe of fortune 3: chance of {@wegiel}: drop 4 coal send "{@logo} &bGratulacje znalazles &a4 &0Wegla" chance of {@wegiel}: drop 3 coal send "{@logo} &bGratulacje znalazles &a3 &0Wegla" chance of {@wegiel}: drop 2 coal send "{@logo} &bGratulacje znalazles &a2 &0Wegla" chance of {@wegiel}: drop 1 coal send "{@logo} &bGratulacje znalazles &a1 &0Wegiel" #====================# # Komenda /drop # #====================# command /drop []: trigger: if player have permissions "mcdrop.drop": if arg 1 is not set: send "&8##############################{@logo}&8##############################" send "&8## &6* &bSzansa na drop z &8Stone:" send "&8## &6* &bDiament: &e{@diament}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &2Emerald: &e{@emerald}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &7Zelazo: &e{@zelazo}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &eZloto: &e{@zloto}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &4Redstone: &e{@redstone}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &1Lapis: &e{@lapis}% &7- &aZwykly Kilof Wypada: &e1" send "&8## &6* &0Wegiel: &e{@wegiel}% &7- &aZwykly Kilof Wypada: &e1" send "&8##############################{@logo}&8##############################" if arg 1 is "fortuna": send "&8##############################{@logo}&8##############################" send "&8## &6* &bSzansa na drop z &8Stone:" send "&8## &6* &bDiament: &e{@diament}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &2Emerald: &e{@emerald}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &7Zelazo: &e{@zelazo}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &eZloto: &e{@zloto}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &4Redstone: &e{@redstone}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &1Lapis: &e{@lapis}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8## &6* &0Wegiel: &e{@wegiel}% &7- &aKilof Fortuna Wypada: &e3&f-&e4" send "&8##############################{@logo}&8##############################" stop