variables: {wykopanystone.%player%} = 0 {exp.%player%} = 0 {diamenty.%player%} = 0 {zloto.%player%} = 0 {zelazo.%player%} = 0 {wegiel.%player%} = 0 {emerald.%player%} = 0 {proch.%player%} = 0 {redstone.%player%} = 0 {lapis.%player%} = 0 #================================ < Mozna usunac te linijke# #Autor: XWG_TV < Mozna usunac te linijke# #Nazwa: XDrop < Mozna usunac te linijke# #Wersja: v0.1 < Mozna usunac te linijke# #================================# options: chance_diamond: 0.75 #Szansa na diament chance_gold: 2.5 #Szansa na zloto chance_iron: 1.5 #Szansa na zelazo chance_coal: 2 #Szansa na wegiel chance_emerald: 0.5 #Szansa na emerald chance_gunpowder: 1.2 #Szansa na proch chance_redstone: 1 #Szansa na redstone chance_lapis: 1 #Szansa na lapis #--------------------------------------------------------------------------------------------------------------# wysokosc_diamond: 25 #Wysokosc na wypadniecie diamentu wysokosc_gold: 35 #Wysokosc na wypadniecie zlota wysokosc_iron: 60 #Wysokosc na wypadniecie zelaza wysokosc_coal: 100 #Wysokosc na wypadniecie wegla wysokosc_emerald: 30 #Wysokosc na wypadniecie emeraldu wysokosc_gunpowder: 40 #Wysokosc na wypadniecie prochu wysokosc_redstone: 55 #Wysokosc na wypadniecie redstona wysokosc_lapis: 55 #Wysokosc na wypadniecie lapisu #--------------------------------------------------------------------------------------------------------------# ilosc_expa: 2 #Ilosc wypadanego expa szansa_expa: 100 #Szansa na wypadniecie expa wysokosc_expa: 75 #Wysokosc na wypadniecie expa #--------------------------------------------------------------------------------------------------------------# command /stone: aliases: kamien, drop trigger: send "" send "&8» &7Diamenty&8: &9{@chance_diamond} &7Wysokosc&8:: &9{@wysokosc_diamond}" send "&8» &7Zloto&8: &9{@chance_gold} &7Wysokosc&8: &9{@wysokosc_gold}" send "&8» &7Zelazo&8: &9{@chance_iron} &7Wysokosc&8: &9{@wysokosc_iron}" send "&8» &7Wegiel&8: &9{@chance_coal} &7Wysokosc&8: &9{@wysokosc_coal}" send "&8» &7Emerald&8: &9{@chance_emerald} &7Wysokosc&8: &9{@wysokosc_emerald}" send "&8» &7Proch&8: &9{@chance_gunpowder} &7Wysokosc&8: &9{@wysokosc_gunpowder}" send "&8» &7Redstone&8: &9{@chance_redstone} &7Wysokosc&8: &9{@wysokosc_redstone}" send "&8» &7Lapis&8: &9{@chance_lapis} &7Wysokosc&8: &9{@wysokosc_lapis}" send "" #---------------------------------------------------------------------------------------------------------------# command /statystyki []: aliases: staty trigger: if arg 1 is not set: send "" send "&7Wykopane &bDiamenty&8: &9%{diamenty.%player%}%" send "&7Wykopane &eZloto&8: &9%{zloto.%player%}%" send "&7Wykopane &8Zelazo&8: &9%{zelazo.%player%}%" send "&7Wykopany &0Wegiel&8: &9%{wegiel.%player%}%" send "&7Wykopane &aEmeraldy&8: &9%{emerald.%player%}%" send "&7Wykopane &7Proch&8: &9%{proch.%player%}%" send "&7Wykopane &cRedstone&8: &9%{redstone.%player%}%" send "&7Wykopane &9Lapis&8: &9%{lapis.%player%}%" send "&7Wykopany &6STONE&8: &9%{wykopanystone.%player%}%" send "&7Wykopany &2EXP&8: &9%{exp.%player%}%" send "" if arg 1 is set: if arg 1 is player: send "" send "&7Gracz&8: &9&l%arg 1%" send "&7Wykopane &bDiamenty&8: &9%{diamenty.%arg 1%}%" send "&7Wykopane &eZloto&8: &9%{zloto.%arg 1%}%" send "&7Wykopane &8Zelazo&8: &9%{zelazo.%arg 1%}%" send "&7Wykopany &0Wegiel&8: &9%{wegiel.%arg 1%}%" send "&7Wykopane &aEmeraldy&8: &9%{emerald.%arg 1%}%" send "&7Wykopane &7Proch&8: &9%{proch.%arg 1%}%" send "&7Wykopane &cRedstone&8: &9%{redstone.%arg 1%}%" send "&7Wykopane &9Lapis&8: &9%{lapis.%arg 1%}%" send "&7Wykopany &6STONE&8: &9%{wykopanystone.%arg 1%}%" send "&7Wykopany &2EXP&8: &9%{exp.%arg 1%}%" send "&8=====================" else: send "&c&lNIE MA TAKIEGO GRACZA NA SERWERZE!" ################################################################################################################################################ on mine of stone: if player's gamemode is survival: add 1 to {wykopanystone.%player%} if block's y-coordinate is smaller than {@wysokosc_expa}: chance of {@szansa_expa}: add {@ilosc_expa} xp to the player add {@ilosc_expa} to {exp.%player%} on mine of any ore: cancel event set block to air #------------------------------------------------------------------------------------------------------------------------# on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_diamond}: chance of {@chance_diamond}%: if player's tool is pickaxe of fortune 0: add diamond to the player's inventory add 1 to {diamenty.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add diamond to the player's inventory add 1 to {diamenty.%player%} else: add 2 diamond to the player's inventory add 2 to {diamenty.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add diamond to the player's inventory add 1 to {diamenty.%player%} else: chance of 33%: add 2 diamond to the player's inventory add 2 to {diamenty.%player%} else: add 3 diamond to the player's inventory add 3 to {diamenty.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add diamond to the player's inventory add 1 to {diamenty.%player%} else: chance of 25%: add 2 diamond to the player's inventory add 2 to {diamenty.%player%} else: chance of 25%: add 3 diamond to the player's inventory add 3 to {diamenty.%player%} else: chance of 25%: add 4 diamond to the player's inventory add 4 to {diamenty.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_gold}: chance of {@chance_gold}%: if player's tool is pickaxe of fortune 0: add gold ore to the player's inventory add 1 to {zloto.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add gold ore to the player's inventory add 1 to {zloto.%player%} else: add 2 gold ore to the player's inventory add 2 to {zloto.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add gold ore to the player's inventory add 2 to {zloto.%player%} else: chance of 33%: add 2 gold ore to the player's inventory add 2 to {zloto.%player%} else: add 3 gold ore to the player's inventory add 3 to {zloto.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add gold ore to the player's inventory add 1 to {zloto.%player%} else: chance of 25%: add 2 gold ore to the player's inventory add 2 to {zloto.%player%} else: chance of 25%: add 3 gold ore to the player's inventory add 3 to {zloto.%player%} else: chance of 25%: add 4 gold ore to the player's inventory add 4 to {zloto.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_iron}: chance of {@chance_iron}%: if player's tool is pickaxe of fortune 0: add iron ore to the player's inventory add 1 to {zelazo.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add iron ore to the player's inventory add 1 to {zelazo.%player%} else: add 2 iron ore to the player's inventory add 2 to {zelazo.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add iron ore to the player's inventory add 1 to {zelazo.%player%} else: chance of 33%: add 2 iron ore to the player's inventory add 2 to {zelazo.%player%} else: add 3 iron ore to the player's inventory add 3 to {zelazo.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add iron ore to the player's inventory add 1 to {zelazo.%player%} else: chance of 25%: add 2 iron ore to the player's inventory add 2 to {zelazo.%player%} else: chance of 25%: add 3 iron ore to the player's inventory add 3 to {zelazo.%player%} else: chance of 25%: add 4 iron ore to the player's inventory add 4 to {zelazo.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_coal}: chance of {@chance_coal}%: if player's tool is pickaxe of fortune 0: add coal to the player's inventory add 1 to {wegiel.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add coal to the player's inventory add 1 to {wegiel.%player%} else: add 2 coal to the player's inventory add 2 to {wegiel.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add coal to the player's inventory add 1 to {wegiel.%player%} else: chance of 33%: add 2 coal to the player's inventory add 2 to {wegiel.%player%} else: add 3 coal to the player's inventory add 3 to {wegiel.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add coal to the player's inventory add 1 to {wegiel.%player%} else: chance of 25%: add 2 coal to the player's inventory add 2 to {wegiel.%player%} else: chance of 25%: add 3 coal to the player's inventory add 3 to {wegiel.%player%} else: chance of 25%: add 4 coal to the player's inventory add 4 to {wegiel.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_emerald}: chance of {@chance_emerald}%: if player's tool is pickaxe of fortune 0: add emerald to the player's inventory add 1 to {emerald.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add emerald to the player's inventory add 1 to {emerald.%player%} else: add 2 emerald to the player's inventory add 2 to {emerald.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add emerald to the player's inventory add 1 to {emerald.%player%} else: chance of 33%: add 2 emerald to the player's inventory add 2 to {emerald.%player%} else: add 3 emerald to the player's inventory add 3 to {emerald.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add emerald to the player's inventory add 1 to {emerald.%player%} else: chance of 25%: add 2 emerald to the player's inventory add 2 to {emerald.%player%} else: chance of 25%: add 3 emerald to the player's inventory add 3 to {emerald.%player%} else: chance of 25%: add 4 emerald to the player's inventory add 4 to {emerald.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_gunpowder}: chance of {@chance_gunpowder}%: if player's tool is pickaxe of fortune 0: add gunpowder to the player's inventory add 1 to {proch.%player%} else: if player's tool is pickaxe of fortune 1: chance of 40%: add gunpowder to the player's inventory add 1 to {proch.%player%} else: add 2 gunpowder to the player's inventory add 2 to {proch.%player%} else: if player's tool is pickaxe of fortune 2: chance of 40%: add gunpowder to the player's inventory add 1 to {proch.%player%} else: add 2 gunpowder to the player's inventory add 2 to {proch.%player%} else: if player's tool is pickaxe of fortune 3: chance of 40%: add gunpowder to the player's inventory add 1 to {proch.%player%} else: add 2 gunpowder to the player's inventory add 2 to {proch.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_redstone}: chance of {@chance_redstone}%: if player's tool is pickaxe of fortune 0: add redstone to the player's inventory add 1 to {redstone.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add redstone to the player's inventory add 1 to {redstone.%player%} else: add 2 redstone to the player's inventory add 2 to {redstone.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add redstone to the player's inventory add 1 to {redstone.%player%} else: chance of 33%: add 2 redstone to the player's inventory add 2 to {redstone.%player%} else: add 3 redstone to the player's inventory add 3 to {redstone.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add redstone to the player's inventory add 1 to {redstone.%player%} else: chance of 25%: add 2 redstone to the player's inventory add 2 to {redstone.%player%} else: chance of 25%: add 3 redstone to the player's inventory add 3 to {redstone.%player%} else: chance of 25%: add 4 redstone to the player's inventory add 4 to {redstone.%player%} on mine of stone: if player's gamemode is survival: if player's y-coordinate is smaller than {@wysokosc_lapis}: chance of {@chance_lapis}%: if player's tool is pickaxe of fortune 0: add lapis lazuli to the player's inventory add 1 to {lapis.%player%} else: if player's tool is pickaxe of fortune 1: chance of 50%: add lapis lazuli to the player's inventory add 1 to {lapis.%player%} else: add 2 lapis lazuli to the player's inventory add 2 to {lapis.%player%} else: if player's tool is pickaxe of fortune 2: chance of 33%: add lapis lazuli to the player's inventory add 1 to {lapis.%player%} else: chance of 33%: add 2 lapis lazuli to the player's inventory add 2 to {lapis.%player%} else: add 3 lapis lazuli to the player's inventory add 3 to {lapis.%player%} else: if player's tool is pickaxe of fortune 3: chance of 25%: add lapis lazuli to the player's inventory add 1 to {lapis.%player%} else: chance of 25%: add 2 lapis lazuli to the player's inventory add 2 to {lapis.%player%} else: chance of 25%: add 3 lapis lazuli to the player's inventory add 3 to {lapis.%player%} else: chance of 25%: add 4 lapis lazuli to the player's inventory add 4 to {lapis.%player%}