Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- #================================
- #Author: TheMrkoia
- #Name: KDrop
- #================================
- #================================
- #Zakaz podszywania się pod autora
- #Zakaz umieszczania skryptu na forach etc. bez podania autora
- #Zakaz czerpania jakich kolwiek korzysci materialnych
- #=================================
- 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 "&8=============================="
- send "&8> &7Diamenty: &6{@chance_diamond} &7Wysokosc: &6{@wysokosc_diamond}"
- send "&8> &7Zloto: &6{@chance_gold} &7Wysokosc: &6{@wysokosc_gold}"
- send "&8> &7Zelazo: &6{@chance_iron} &7Wysokosc: &6{@wysokosc_iron}"
- send "&8> &7Wegiel: &6{@chance_coal} &7Wysokosc: &6{@wysokosc_coal}"
- send "&8> &7Emerald: &6{@chance_emerald} &7Wysokosc: &6{@wysokosc_emerald}"
- send "&8> &7Proch: &6{@chance_gunpowder} &7Wysokosc: &6{@wysokosc_gunpowder}"
- send "&8> &7Redstone: &6{@chance_redstone} &7Wysokosc: &6{@wysokosc_redstone}"
- send "&8> &7Lapis: &6{@chance_lapis} &7Wysokosc: &6{@wysokosc_lapis}"
- send "&8=============================="
- command /statystyki [<text>]:
- aliases: staty
- trigger:
- if arg 1 is not set:
- send "&8====================="
- send "&7Wykopane &bDiamenty: &7%{diamenty.%player%}%"
- send "&7Wykopane &eZloto: &7%{zloto.%player%}%"
- send "&7Wykopane &8Zelazo: &7%{zelazo.%player%}%"
- send "&7Wykopany &0Wegiel: &7%{wegiel.%player%}%"
- send "&7Wykopane &aEmeraldy: &7%{emerald.%player%}%"
- send "&7Wykopane &7Proch: &7%{proch.%player%}%"
- send "&7Wykopane &cRedstone: &7%{redstone.%player%}%"
- send "&7Wykopane &9Lapis: &7%{lapis.%player%}%"
- send "&7Wykopany &6STONE: &7%{wykopanystone.%player%}%"
- send "&7Wykopany &2EXP: &7%{exp.%player%}%"
- send "&8====================="
- if arg 1 is set:
- if arg 1 is player:
- send "&8====================="
- send "&7Gracz: &6&o%arg 1%"
- send "&7Wykopane &bDiamenty: &7%{diamenty.%arg 1%}%"
- send "&7Wykopane &eZloto: &7%{zloto.%arg 1%}%"
- send "&7Wykopane &8Zelazo: &7%{zelazo.%arg 1%}%"
- send "&7Wykopany &0Wegiel: &7%{wegiel.%arg 1%}%"
- send "&7Wykopane &aEmeraldy: &7%{emerald.%arg 1%}%"
- send "&7Wykopane &7Proch: &7%{proch.%arg 1%}%"
- send "&7Wykopane &cRedstone: &7%{redstone.%arg 1%}%"
- send "&7Wykopane &9Lapis: &7%{lapis.%arg 1%}%"
- send "&7Wykopany &6STONE: &7%{wykopanystone.%arg 1%}%"
- send "&7Wykopany &2EXP: &7%{exp.%arg 1%}%"
- send "&8====================="
- else:
- send "&cTakiego gracza nie ma 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%}
Advertisement
Add Comment
Please, Sign In to add comment