Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ================================================================================
- = MASTER DROP: =
- = Zakaz kopiowania kodu i udostępnienie go ! =
- = Pozwalam na przerobienie kodu. =
- ================================================================================
- #Skript Master Drop
- #Wersja 0.4
- #Opcje
- options:
- #Tag skryptu
- dtag: &f[&cD&ar&o&3p&6&l+&f]
- #Ustawiasz na co ma się zmienić ruda po wykopaniu stone/air, air czyli ma zniknąć
- ustaw: stone
- #Procenty
- D.diax: 0.0 #diamond
- D.iron: 0.0 #iron
- D.gold: 0.0 #gold
- D.emerald: 0.0 #emerald
- D.redstone: 0.0
- D.tnt: 0.0
- D.coal: 0.0
- D.proch: 0.0
- D.lapis: 0.0
- dExp: 10
- #Wysokosc wydobycia
- y.emerald: 64
- y.diamond: 64
- y.gold: 64
- y.iron: 64
- y.redstone: 64
- y.tnt: 64
- y.coal: 64
- y.lapis: 64
- y.proch: 64
- #Wiadomośći o wykopaniu
- msg.1: &7&oWykopales &bDiaxa
- msg.2: &7&oWykopales &fZelazo
- msg.3: &7&oWykopales &eZloto
- msg.4: &7&oWykopales &aSzmaragd
- msg.5: &7&oWykopales &4Czerwony Proszek
- msg.6: &7&oWykopales &cTnT
- msg.7: &7&oWykopales &1Lazuryt
- msg.8: &7&oWykopales &8Proch
- msg.9: &7&oWykopales &0Wegiel
- #Wiadomość Error
- errorm: &4Diament,zelazo,zloto,szmaragd,redstone,wegiel i lapis wypada tylko ze stone wiecej info /drop!
- #Wiadomosci przy wl/wyl
- off: &4Wylaczono wypadanie
- on: &4Wlaczono wypadanie
- #Nie ruszać, kiedy są aktywne
- variables:
- {XSX.on.off} = true
- on break of ender chest:
- cancel event
- set block to air
- give 1 ender chest to player
- on first join:
- wait 2 tick
- add ball large to {_fireworktype::*}
- add creeper to {_fireworktype::*}
- add ball to {_fireworktype::*}
- add star to {_fireworktype::*}
- add burst to {_fireworktype::*}
- set {_fwtype} to a random element out of {_fireworktype::*}
- add dark blue to {_color::*}
- add green to {_color::*}
- add dark aqua to {_color::*}
- add dark red to {_color::*}
- add purple to {_color::*}
- add gold to {_color::*}
- add blue to {_color::*}
- add lime to {_color::*}
- add aqua to {_color::*}
- add red to {_color::*}
- add pink to {_color::*}
- add yellow to {_color::*}
- set {_colorchoice} to a random element out of {_color::*}
- launch flickering trailing {_fwtype} firework colored {_colorchoice} and white at player with duration 1
- delete {_fireworktype::*}
- delete {_color::*}
- delete {_colorchoice}
- delete {_fwtype}
- #Drop z Stone
- On Mine Of Stone:
- if {XSX.on.off} is true:
- chance of 100%:
- if player's y-coordinate is smaller than {@y.diamond}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.diax}%:
- player's gamemode is survival
- message "{@dtag} {@msg.1}"
- drop a diamond
- stop
- if player's y-coordinate is smaller than {@y.iron}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.iron}%:
- player's gamemode is survival
- message "{@dtag} {@msg.2}"
- drop a iron ingot
- stop
- if player's y-coordinate is smaller than {@y.gold}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.gold}%:
- player's gamemode is survival
- message "{@dtag} {@msg.3}"
- drop a gold ingot
- stop
- if player's biome is extreme hills:
- if player's y-coordinate is smaller than {@y.emerald}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.emerald}%:
- player's gamemode is survival
- message "{@dtag} {@msg.4}"
- drop a emerald
- stop
- if player's y-coordinate is smaller than {@y.redstone}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.redstone}%:
- player's gamemode is survival
- message "{@dtag} {@msg.5}"
- drop a redstone
- stop
- if player's y-coordinate is smaller than {@y.lapis}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.lapis}%:
- player's gamemode is survival
- message "{@dtag} {@msg.7}"
- drop a lapis lazuli
- stop
- if player's y-coordinate is smaller than {@y.proch}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.proch}%:
- player's gamemode is survival
- message "{@dtag} {@msg.8}"
- drop a gunpowder
- stop
- if player's y-coordinate is smaller than {@y.coal}:
- player's tool is iron pickaxe or diamond pickaxe:
- chance of {@D.coal}%:
- player's gamemode is survival
- message "{@dtag} {@msg.9}"
- drop a coal
- stop
- on mine of stone:
- if player's gamemode is survival:
- drop {@dExp} xp
- execute console command "playsound random.pop %player%"
- #Zabespieczenie przed TNT
- on explode:
- if entity is TNT:
- loop blocks in radius 10:
- if loop-block is diamond ore:
- set loop-block to {@ustaw}
- if loop-block is gold ore:
- set loop-block to {@ustaw}
- if loop-block is iron ore:
- set loop-block to {@ustaw}
- if loop-block is emerald ore:
- set loop-block to {@ustaw}
- #Zablokowanie dropu z rud
- On Mine Of Diamond Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errord}"
- stop
- On Mine Of Iron Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errori}"
- stop
- On Mine Of Gold Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errorg}"
- stop
- On Mine Of Emerald Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errore}"
- stop
- On Mine Of Redstone Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errore}"
- stop
- On Mine Of Coal Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errore}"
- stop
- On Mine Of Lapis lazuli Ore:
- cancel event
- set block to {@ustaw}
- message "{@dtag} {@errore}"
- stop
- #Komendy
- command /drop [<text>]:
- trigger:
- if arg 1 is not set:
- send " " # Stwórz komendę /drop (Wpisz tekst pomiędzy " (Tutaj) "
- send " "
- send " "
- if arg 1 is "on":
- if player has permission "hcdrops.drop":
- set {XSX.on.off} to true
- send " &6» &7Wlaczyles drop ze stone!"
- stop
- if arg 1 is "off":
- if player has permission "hcdrops.drop":
- set {XSX.on.off} to false
- send " &6» &7Wylaczyles drop ze stone!"
- stop
- #Właczanie skryptu
- on Skript Start:
- send "" to the console
- send "--------------------------------------------------------------" to the console
- send "| |" to the console
- send "| Master Drop |" to the console
- send "| |" to the console
- send "--------------------------------------------------------------" to the console
- send "Autor: InsaneX" to the console
- send "Wersja: 0.4" to the console
- send "" to the console
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement