Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {drop} = true
- {lvl.%player%} = 1
- {pkt.%player%} = 0
- {cb.%player%} = true
- {chat.%player%} = false
- command /punkty:
- aliases: pkt, poziom, lvl
- trigger:
- send " &7##&6=============&7## &6PUNKTY &7##&6=============&7##"
- send " &6» &7Posiadasz: &6%{pkt.%player%}% &7pkt"
- send " &6» &7Posiadasz: &6%{lvl.%player%}% &7poziom"
- send " &7##&6=============&7## &6PUNKTY &7##&6=============&7##"
- stop
- command /cobblestone:
- trigger:
- if {cb.%player%} is true:
- set {cb.%player%} to false
- send " &6» &7Wylaczyles drop cobblestone!"
- stop
- if {cb.%player%} is false:
- set {cb.%player%} to true
- send " &6» &7Wlaczyles drop cobblestone!"
- stop
- options:
- yd: 60 # Minimalny poziom Y aby wykopac diament
- dc: 2.0 # Szansa na diament
- ye: 60 # Minimalny poziom Y aby wykopac emerald
- ec: 2.0 # Szansa na emerald
- yg: 60 # Minimalny poziom Y aby wykopac rude zlota
- gc: 3.2 # Szansa na zloto
- yi: 60 # Minimalny poziom Y aby wykopac rude zelaza
- ic: 4.0 # Szansa na zelazo
- yep: 60 # Minimalny poziom Y aby wykopac perle endermana
- epc: 0.1 # Szansa na perle endermana
- ydv: 60 # Minimalny poziom Y aby wykopac diament
- dcv: 3.0 # Szansa na diament
- yev: 60 # Minimalny poziom Y aby wykopac emerald
- ecv: 3.0 # Szansa na emerald
- ygv: 60 # Minimalny poziom Y aby wykopac rude zlota
- gcv: 5.0 # Szansa na zloto
- yiv: 60 # Minimalny poziom Y aby wykopac rude zelaza
- icv: 6.0 # Szansa na zelazo
- yepv: 60 # Minimalny poziom Y aby wykopac perle endermana
- epcv: 0.1 # Szansa na perle endermana
- on explode:
- if {drop} is true:
- loop blocks in radius 10:
- if loop-block is diamond ore:
- set loop-block to air
- if loop-block is emerald ore:
- set loop-block to air
- if loop-block is gold ore:
- set loop-block to air
- if loop-block is iron ore:
- set loop-block to air
- on mine of diamond ore:
- if {drop} is true:
- cancel event
- set block to air
- send " &6» &7Drop z tej rudy jest wylaczony!"
- send " &6» &7Aby zobaczyc %% szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of emerald ore:
- if {drop} is true:
- cancel event
- set block to air
- send " &6» &7Drop z tej rudy jest wylaczony!"
- send " &6» &7Aby zobaczyc %% szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of gold ore:
- if {drop} is true:
- cancel event
- set block to air
- send " &6» &7Drop z tej rudy jest wylaczony!"
- send " &6» &7Aby zobaczyc %% szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of iron ore:
- if {drop} is true:
- cancel event
- set block to air
- send " &6» &7Drop z tej rudy jest wylaczony!"
- send " &6» &7Aby zobaczyc %% szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on chat:
- set the player's display name to "&7[&6%{lvl.%player%}%&7] &7%player%"
- on mine of stone:
- if {drop} is true:
- cancel event
- set block to air
- damage player's tool by 1
- if player has permission "xmhc.vip":
- if {cb.%player%} is true:
- drop 1 cobblestone
- give 2 xp to the player
- if chance of 100%:
- if chance of {@epcv}%:
- if player's y-coordinate is less than {@yepv}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- else:
- drop 1 ender pearl
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- if chance of {@icv}%:
- if player's y-coordinate is less than {@yepv}:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold iron ore:
- give 1 iron ore to the player
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- else:
- drop 1 iron ore
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- if chance of {@gcv}%:
- if player's y-coordinate is less than {@yepv}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- else:
- drop 1 gold ore
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- if chance of {@ecv}%:
- if player's y-coordinate is less than {@yepv}:
- if player's biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- else:
- drop 1 emerald
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- if chance of {@dcv}%:
- if player's y-coordinate is less than {@yd}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- chance of 10%:
- if player can hold 4 diamond:
- give 4 diamond to the player
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- drop 4 diamond
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if {cb.%player%} is false:
- give 2 xp to the player
- if chance of 100%:
- if chance of {@epcv}%:
- if player's y-coordinate is less than {@yepv}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- else:
- drop 1 ender pearl
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- if chance of {@icv}%:
- if player's y-coordinate is less than {@yiv}:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold iron ore:
- give 1 iron ore to the player
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- else:
- drop 1 iron ore
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- if chance of {@gcv}%:
- if player's y-coordinate is less than {@ygv}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- else:
- drop 1 gold ore
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- if chance of {@ecv}%:
- if player's y-coordinate is less than {@yev}:
- if player's biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- else:
- drop 1 emerald
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- if chance of {@dcv}%:
- if player's y-coordinate is less than {@yd}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- chance of 10%:
- if player can hold 4 diamond:
- give 4 diamond to the player
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- drop 4 diamond
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player has permission "hcdrops.gracz":
- if {cb.%player%} is true:
- drop 1 cobblestone
- give 2 xp to the player
- if chance of 100%:
- if chance of {@epc}%:
- if player's y-coordinate is less than {@yep}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- else:
- drop 1 ender pearl
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- if chance of {@ic}%:
- if player's y-coordinate is less than {@yi}:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold iron ore:
- give 1 iron ore to the player
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- else:
- drop 1 iron ore
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- if chance of {@gc}%:
- if player's y-coordinate is less than {@yg}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- else:
- drop 1 gold ore
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- if chance of {@ec}%:
- if player's y-coordinate is less than {@ye}:
- if player's biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- else:
- drop 1 emerald
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- if chance of {@dc}%:
- if player's y-coordinate is less than {@yd}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- chance of 10%:
- if player can hold 4 diamond:
- give 4 diamond to the player
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- drop 4 diamond
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if {cb.%player%} is false:
- give 2 xp to the player
- if chance of 100%:
- if chance of {@epc}%:
- if player's y-coordinate is less than {@yep}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- else:
- drop 1 ender pearl
- give 25 xp to the player
- add 26 to {pkt.%player%}
- send " &6» &7Trafiles na: &6perle endermana &7(&6+26 pkt&7)"
- stop
- if chance of {@ic}%:
- if player's y-coordinate is less than {@yi}:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold iron ore:
- give 1 iron ore to the player
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- else:
- drop 1 iron ore
- give 2 xp to the player
- add 3 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zelaza &7(&6+3 pkt&7)"
- stop
- if chance of {@gc}%:
- if player's y-coordinate is less than {@yg}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- else:
- drop 1 gold ore
- give 5 xp to the player
- add 6 to {pkt.%player%}
- send " &6» &7Trafiles na: &6rude zlota &7(&6+6 pkt&7)"
- stop
- if chance of {@ec}%:
- if player's y-coordinate is less than {@ye}:
- if player's biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- else:
- drop 1 emerald
- give 4 xp to the player
- add 5 to {pkt.%player%}
- send " &6» &7Trafiles na: &6emerald &7(&6+5 pkt&7)"
- stop
- if chance of {@dc}%:
- if player's y-coordinate is less than {@yd}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- chance of 10%:
- if player can hold 4 diamond:
- give 4 diamond to the player
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- drop 4 diamond
- give 26 xp to the player
- add 27 to {pkt.%player%}
- send " &6» &7Trafiles na: &64 diamenty &7(&6+27 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- chance of 20%:
- if player can hold 3 diamond:
- give 3 diamond to the player
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- drop 3 diamond
- give 17 xp to the player
- add 18 to {pkt.%player%}
- send " &6» &7Trafiles na: &63 diamenty &7(&6+18 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- if player can hold 2 diamond:
- give 2 diamond to the player
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- drop 2 diamond
- give 12 xp to the player
- add 13 to {pkt.%player%}
- send " &6» &7Trafiles na: &62 diamenty &7(&6+13 pkt&7)"
- stop
- else:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold diamond:
- give 1 diamond to the player
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- add 7 to {pkt.%player%}
- send " &6» &7Trafiles na: &6diament &7(&6+7 pkt&7)"
- stop
- if {cb.%player%} is false:
- give 2 xp to the player
- if {pkt.%player%} is larger than 60:
- if {lvl.%player%} is less than 2:
- set {lvl.%player%} to 2
- send " &6» &7Awansowales na: &62 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 120:
- if {lvl.%player%} is less than 3:
- set {lvl.%player%} to 3
- send " &6» &7Awansowales na: &63 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 180:
- if {lvl.%player%} is less than 4:
- set {lvl.%player%} to 4
- send " &6» &7Awansowales na: &64 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 240:
- if {lvl.%player%} is less than 5:
- set {lvl.%player%} to 5
- send " &6» &7Awansowales na: &65 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 320:
- if {lvl.%player%} is less than 6:
- set {lvl.%player%} to 6
- send " &6» &7Awansowales na: &66 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 460:
- if {lvl.%player%} is less than 7:
- set {lvl.%player%} to 7
- send " &6» &7Awansowales na: &67 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 580:
- if {lvl.%player%} is less than 8:
- set {lvl.%player%} to 8
- send " &6» &7Awansowales na: &68 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 760:
- if {lvl.%player%} is less than 9:
- set {lvl.%player%} to 9
- send " &6» &7Awansowales na: &69 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 960:
- if {lvl.%player%} is less than 10:
- set {lvl.%player%} to 10
- send " &6» &7Awansowales na: &610 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1140:
- if {lvl.%player%} is less than 11:
- set {lvl.%player%} to 11
- send " &6» &7Awansowales na: &611 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1320:
- if {lvl.%player%} is less than 12:
- set {lvl.%player%} to 12
- send " &6» &7Awansowales na: &612 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1540:
- if {lvl.%player%} is less than 13:
- set {lvl.%player%} to 13
- send " &6» &7Awansowales na: &613 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1760:
- if {lvl.%player%} is less than 14:
- set {lvl.%player%} to 14
- send " &6» &7Awansowales na: &614 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1980:
- if {lvl.%player%} is less than 15:
- set {lvl.%player%} to 15
- send " &6» &7Awansowales na: &615 Poziom&7!"
- broadcast "&7Gracz &6%player% &7awansowal na &615 poziom&7!"
- stop
- if {pkt.%player%} is larger than 2180:
- if {lvl.%player%} is less than 16:
- set {lvl.%player%} to 16
- send " &6» &7Awansowales na: &616 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2300:
- if {lvl.%player%} is less than 17:
- set {lvl.%player%} to 17
- send " &6» &7Awansowales na: &617 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2520:
- if {lvl.%player%} is less than 18:
- set {lvl.%player%} to 18
- send " &6» &7Awansowales na: &618 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2740:
- if {lvl.%player%} is less than 19:
- set {lvl.%player%} to 19
- send " &6» &7Awansowales na: &619 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 2960:
- if {lvl.%player%} is less than 20:
- set {lvl.%player%} to 20
- send " &6» &7Awansowales na: &620 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3180:
- if {lvl.%player%} is less than 21:
- set {lvl.%player%} to 21
- send " &6» &7Awansowales na: &621 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3400:
- if {lvl.%player%} is less than 22:
- set {lvl.%player%} to 22
- send " &6» &7Awansowales na: &622 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3620:
- if {lvl.%player%} is less than 23:
- set {lvl.%player%} to 23
- send " &6» &7Awansowales na: &623 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 3840:
- if {lvl.%player%} is less than 24:
- set {lvl.%player%} to 24
- send " &6» &7Awansowales na: &624 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4060:
- if {lvl.%player%} is less than 25:
- set {lvl.%player%} to 25
- send " &6» &7Awansowales na: &625 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4280:
- if {lvl.%player%} is less than 26:
- set {lvl.%player%} to 26
- send " &6» &7Awansowales na: &626 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4500:
- if {lvl.%player%} is less than 27:
- set {lvl.%player%} to 27
- send " &6» &7Awansowales na: &627 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4720:
- if {lvl.%player%} is less than 28:
- set {lvl.%player%} to 28
- send " &6» &7Awansowales na: &628 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 4940:
- if {lvl.%player%} is less than 29:
- set {lvl.%player%} to 29
- send " &6» &7Awansowales na: &629 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 5160:
- if {lvl.%player%} is less than 30:
- set {lvl.%player%} to 30
- send " &6» &7Awansowales na: &630 Poziom&7!"
- broadcast "&7Gracz &6%player% &7awansowal na &630 poziom&7!"
- stop
- if {pkt.%player%} is larger than 5380:
- if {lvl.%player%} is less than 31:
- set {lvl.%player%} to 31
- send " &6» &7Awansowales na: &631 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 5600:
- if {lvl.%player%} is less than 32:
- set {lvl.%player%} to 32
- send " &6» &7Awansowales na: &632 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 5820:
- if {lvl.%player%} is less than 33:
- set {lvl.%player%} to 33
- send " &6» &7Awansowales na: &633 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 6040:
- if {lvl.%player%} is less than 34:
- set {lvl.%player%} to 34
- send " &6» &7Awansowales na: &634 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 6260:
- if {lvl.%player%} is less than 35:
- set {lvl.%player%} to 35
- send " &6» &7Awansowales na: &635 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 6480:
- if {lvl.%player%} is less than 36:
- set {lvl.%player%} to 36
- send " &6» &7Awansowales na: &636 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 6700:
- if {lvl.%player%} is less than 37:
- set {lvl.%player%} to 37
- send " &6» &7Awansowales na: &637 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 6920:
- if {lvl.%player%} is less than 38:
- set {lvl.%player%} to 38
- send " &6» &7Awansowales na: &638 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 7140:
- if {lvl.%player%} is less than 39:
- set {lvl.%player%} to 39
- send " &6» &7Awansowales na: &639 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 7360:
- if {lvl.%player%} is less than 40:
- set {lvl.%player%} to 40
- send " &6» &7Awansowales na: &640 Poziom&7!"
- broadcast "&7Gracz &6%player% &7awansowal na &640 poziom&7!"
- stop
- else:
- stop
- on chat:
- if {chat.%player%} is true:
- if {lvl.%player%} isn't 5:
- send "&cfXM&cHC&8| &6&lNie masz odpowiedniego poziomu aby pisac! &f(5 lvl)"
- stop
- set {chat.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment