Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Autor: Thinker10
- # Wersja: 1.0
- # Typ: Extra
- # Zakaz edycji nazwy autora
- variables:
- {lvl.%player%} = 1
- {pkt.%player%} = 0
- {cb.%player%} = true
- 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 /cobbel:
- 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: 25
- dc: 0.5
- ec: 1.0
- gc: 0.4
- ic: 2.45
- epc: 0.1
- command /drop [<text>]:
- trigger:
- if arg 1 is not set:
- send " &7##&6=============&7## &6DROP &7##&6=============&7##"
- send " &6» Diamenty:"
- send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
- send " &7+ Od poziomu: &6Y:<25"
- send " &7+ Szansa: &6{@dc}%"
- send " &6» Emeraldy:"
- send " &7+ Wykopac mozesz: &6diamentowym, zelaznym i kamiennym kilofem"
- send " &7+ Biom: &6EXTREME_HILLS"
- send " &7+ Szansa: &6{@ec}%"
- send " &6» Zloto:"
- send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
- send " &7+ Szansa: &6{@gc}%"
- send " &6» Zelazo:"
- send " &7+ Wykopac mozesz: &6diamentowym, zelaznym i kamiennym kilofem"
- send " &7+ Szansa: &6{@ic}%"
- send " &6» Perla Endermana:"
- send " &7+ Wykopac mozesz: &6diamentowym i zelaznym kilofem"
- send " &7+ Szansa: &6{@epc}%"
- send " &7##&6=============&7## &6DROP &7##&6=============&7##"
- if arg 1 is "autor":
- send " &7##&6=============&7## &6DROP &7##&6=============&7##"
- send " &6» &7AUTOR: &6Thinker10"
- send " &6» &7WERSJA: &6v1.3.3"
- send " &7##&6=============&7## &6DROP &7##&6=============&7##"
- stop
- on mine of diamond ore:
- 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
- on mine of emerald ore:
- 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
- on mine of gold ore:
- 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
- on mine of iron ore:
- 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
- on chat:
- set the player's display name to "&7(&6%{lvl.%player%}%&7) &7%display name of player%"
- on mine of stone:
- cancel event
- set block to air
- damage player's tool by 1
- if {cb.%player%} is true:
- drop 1 cobblestone
- give 2 xp to the player
- if chance of 100%:
- if chance of {@epc}%:
- if player is holding diamond pickaxe or iron pickaxe:
- 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 is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- 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 is holding diamond pickaxe or iron pickaxe:
- 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 biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- 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%:
- 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%:
- 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%:
- 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:
- 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%:
- 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%:
- 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:
- 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%:
- 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:
- 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:
- 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 is holding diamond pickaxe or iron pickaxe:
- 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 is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- 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 is holding diamond pickaxe or iron pickaxe:
- 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 biome is extreme hills:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- 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%:
- 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%:
- 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%:
- 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:
- 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%:
- 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%:
- 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:
- 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%:
- 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:
- 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:
- 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 {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
- #©2013-2014 Thinker10
Advertisement
Add Comment
Please, Sign In to add comment