Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Autor: MrVoul- kamyk25902
- # Nazwa: Mini_Drop skrypt z serwera MiniHC
- # Versja: 1.0
- # Info:
- # Opcje nie sa podloczne zrobilem je sobie tylko tak D:
- # Skrypt pisany przeze mnie
- #Licenja:
- # Nie zmieniac Autora!
- # Nie Rozpowrzechniac!
- # Kod Mozna zmieniac !
- options:
- drop.diamond: 0.85
- drop.emerald: 0.90
- drop.iron: 2.20
- drop.gold: 1.35
- drop.coal: 1.60
- drop.enderpearl: 0.20
- drop.gunpowder: 1.20
- drop.slimeball: 0.5
- drop.exp: 1000
- #------------------------------------
- wysokosc.diamond: 40
- wysokosc.emerald: 120
- wysokosc.iron: 1000
- wysokosc.gold: 45
- wysokosc.coal: 60
- wysokosc.enderpearl: 70
- wysokosc.gunpowder: 120
- wysokosc.slimeball: 120
- wysokosc.exp: 700
- #------------------------------------
- fortuna1: 50
- fortuna2: 30
- fortuna3: 10
- #------------------------------------
- ilosc.fortuny1: 1-2
- ilosc.fortuny2: 1-3
- ilosc:fortuny3: 1-5
- variables:
- {lvl.%player%} = 1
- {pkt.%player%} = 0
- {cb.%player%} = true
- command /stone:
- aliases: /drop, /kamien, /surowce
- trigger:
- send "&6Diament: &70.85%% &8| &7y: 40"
- send "&6Szmaragd: &70.90%% &8| &7y: 120"
- send "&6Zelazo: &72.20%% &8| &7y: 1000"
- send "&6Zloto: &71.35%% &8| &7y: 45"
- send "&6Wegiel: &71.60%% &8| &7y: 60"
- send "&6Perla: &70.20%% &8| &7y: 70"
- send "&6Proch: &71.20%% &8| &7y: 120"
- send "&6Slimeball &70.5%% &8| &7y: 120"
- send "&7Konto Vip posiada drop &6+0.40%%"
- send "&7Fortuna zwieksza drop oraz ilosc"
- command /pkt:
- trigger:
- send "&9Aktulanie posiadasz &c%{pkt.%player%}% &9punktow czyli &c%{lvl.%player%}% &9lvl"
- command /pktreset:
- trigger:
- set {pkt.%player%} to 0
- set {lvl.%player%} to 0
- command /cobble:
- 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
- #-------------------Koniec Komend-----------------------
- 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 szanse 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 szanse 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 szanse 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 szanse na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on chat:
- set the player's display name to "&7[&6%{lvl.%player%}%&7] &7%display name of player%"
- on mine of stone:
- chance of 0.85%:
- if player's y-coordinate is less than 40:
- give 10 xp to the player
- add 25 to {pkt.%player%}
- give 1 diamond to the player
- send "&6Wydobyles:&bDiament &6(+25 pkt)"
- stop
- chance of 0.90%:
- if player's y-coordinate is less than 120:
- give 10 xp to the player
- add 12 to {pkt.%player%}
- give 1 emerald to the player
- send "&6Wydobyles:&aSzmaragd &6(+12 pkt)"
- chance of 2.20%:
- if player's y-coordinate is less than 1000:
- give 10 xp to the player
- add 5 to {pkt.%player%}
- give 1 iron ore to the player
- send "&6Wydobyles:&7Zelazo &6(+5 pkt)"
- chance of 1.35%:
- if player's y-coordinate is less than 45:
- give 10 xp to the player
- add 8 to {pkt.%player%}
- give 1 gold ore to the player
- send "&6Wydobyles:&eZloto &6(+8 pkt)"
- chance of 1.60%:
- if player's y-coordinate is less than 60:
- give 12 xp to the player
- add 18 to {pkt.%player%}
- give 1 coal to the player
- send "&6Wydobyles:&8Wegiel &6(+18 pkt)"
- chance of 0.20%:
- if player's y-coordinate is less than 70:
- give 28 xp to the player
- add 80 to {pkt.%player%}
- give 1 ender pearl to the player
- send "&6Wydobyles:&5Perle &6(+80 pkt)"
- chance of 1.20%:
- if player's y-coordinate is less than 120:
- give 15 xp to the player
- add 14 to {pkt.%player%}
- give 1 gunpowder to the player
- send "&6Wydobyles:&7Proch &6(+14 pkt)"
- chance of 0.5%:
- if player's y-coordinate is less than 120:
- give 9 xp to the player
- add 38 to {pkt.%player%}
- give 1 slimeball to the player
- send "&6Wydobyles:&aSlimeBall &6(+38 pkt)"
- chance of 0.85%:
- if player's y-coordinate is less than 40:
- if player is holding diamond pickaxe of fortune 1:
- chance of 50%:
- give 2 diamond to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&bDiament &7[2 szt.] &6(+25 pkt)"
- chance of 0.85%:
- if player's y-coordinate is less than 40:
- if player is holding diamond pickaxe of fortune 2:
- chance of 70%:
- give 3 diamond to the player
- give 12 xp to the player
- add 48 to {pkt.%player%}
- send "&6Wydobyles:&bDiament &7[3 szt.] &6(+48 pkt)"
- chance of 0.85%:
- if player's y-coordinate is less than 40:
- if player is holding diamond pickaxe of fortune 3:
- chance of 90%:
- give 4 diamond to the player
- give 12 xp to the player
- add 49 to {pkt.%player%}
- send "&6Wydobyles:&bDiament &7[4 szt.] &6(+49 pkt)"
- chance of 0.90%:
- if player's y-coordinate is less than 120:
- if player is holding diamond pickaxe of fortune 1:
- chance of 50%:
- give 2 emerald to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&aSzmaragd &7[2 szt.] &6(+25 pkt)"
- chance of 0.90%:
- if player's y-coordinate is less than 120:
- if player is holding diamond pickaxe of fortune 2:
- chance of 70%:
- give 3 emerald to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&aSzmaragd &7[3 szt.] &6(+25 pkt)"
- chance of 0.90%:
- if player's y-coordinate is less than 120:
- if player is holding diamond pickaxe of fortune 3:
- chance of 90%:
- give 4 emerald to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&aSzmaragd &7[4 szt.] &6(+25 pkt)"
- chance of 2.20%:
- if player's y-coordinate is less than 1000:
- if player is holding diamond pickaxe of fortune 1:
- chance of 50%:
- give 2 iron ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&7Zelazo &7[2 szt.] &6(+25 pkt)"
- chance of 2.20%:
- if player's y-coordinate is less than 1000:
- if player is holding diamond pickaxe of fortune 2:
- chance of 70%:
- give 3 iron ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&7Zelazo &7[3 szt.] &6(+25 pkt)"
- chance of 2.20%:
- if player's y-coordinate is less than 1000:
- if player is holding diamond pickaxe of fortune 3:
- chance of 90%:
- give 4 iron ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&7Zelazo &7[4 szt.] &6(+25 pkt)"
- chance of 1.35%:
- if player's y-coordinate is less than 45:
- if player is holding diamond pickaxe of fortune 1:
- chance of 50%:
- give 2 gold ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&eZloto &7[2 szt.] &6(+25 pkt)"
- chance of 1.35%:
- if player's y-coordinate is less than 45:
- if player is holding diamond pickaxe of fortune 2:
- chance of 70%:
- give 3 gold ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&eZloto &7[3 szt.] &6(+25 pkt)"
- chance of 1.35%:
- if player's y-coordinate is less than 45:
- if player is holding diamond pickaxe of fortune 3:
- chance of 90%:
- give 4 gold ore to the player
- give 12 xp to the player
- add 25 to {pkt.%player%}
- send "&6Wydobyles:&eZloto &7[4 szt.] &6(+25 pkt)"
- chance of 100%:
- if player's y-coordinate is less than 1000:
- give 10 xp to the player
- give 1 cobblestone 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 180:
- 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 238:
- 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 289:
- 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 348:
- 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 423:
- 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 500:
- 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 582:
- 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 653:
- 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 721:
- 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 810:
- 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 982:
- 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 1100:
- 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 1189:
- if {lvl.%player%} is less than 15:
- set {lvl.%player%} to 15
- send " &6» &7Awansowales na: &615 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 1348:
- 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 1496:
- 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 1582:
- 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 1672:
- 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 1785:
- 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 1859:
- 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 1958:
- 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 2024:
- 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 2104:
- 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 2189:
- 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 2269:
- 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 2345:
- 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 2453:
- 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 2500:
- 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 3000:
- if {lvl.%player%} is less than 30:
- set {lvl.%player%} to 30
- send " &6» &7Awansowales na: &630 Poziom&7!"
- broadcast "&9%player% awansowal na 30 lvl Gratulacje"
- stop
- if {pkt.%player%} is larger than 3283:
- 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 3485:
- 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 3981:
- 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 4123:
- 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 4854:
- 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 5000:
- 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 5348:
- 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 5982:
- 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 6500:
- 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 6800:
- if {lvl.%player%} is less than 40:
- set {lvl.%player%} to 40
- send " &6» &7Awansowales na: &640 Poziom&7!"
- broadcast "&6%player% awansowal na 40 lvl Gratulacje"
- stop
- if {pkt.%player%} is larger than 7000:
- if {lvl.%player%} is less than 41:
- set {lvl.%player%} to 41
- send " &6» &7Awansowales na: &641 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 7458:
- if {lvl.%player%} is less than 42:
- set {lvl.%player%} to 42
- send " &6» &7Awansowales na: &642 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 8000:
- if {lvl.%player%} is less than 43:
- set {lvl.%player%} to 43
- send " &6» &7Awansowales na: &643 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 9000:
- if {lvl.%player%} is less than 44:
- set {lvl.%player%} to 44
- send " &6» &7Awansowales na: &644 Poziom&7!"
- stop
- if {pkt.%player%} is larger than 10000:
- if {lvl.%player%} is less than 45:
- set {lvl.%player%} to 45
- send " &6» &7Awansowales na: &645 Poziom&7!"
- broadcast "%player% awansowal na 45 lvl Czyli najwiekszy poziom ! Gratulacje"
- stop
- if {pkt.%player%} is larger than 10000:
- if {lvl.%player%} is less than 45:
- set {lvl.%player%} to 45
- send " &6» &7Awansowales na: &645 Poziom&7!"
- broadcast "%player% awansowal na 45 lvl Czyli najwiekszy poziom ! Gratulacje"
- stop
- on mine of stone:
- if player has permission "kamilo.drop.vip":
- chance of 1.25%:
- add 20 to {pkt.%player%}
- give 1 diamond to the player
- send "&6Wydobyles: &bDiament &6(+25 pkt)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement