Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##################################################
- #AKTULANIE PISZE: DROP DO INVENTORY NA KAZDY ITEM#
- ##################################################
- #Zabraniam: #
- #Zarabianiu na skrypcie. #
- #Podszywanie sie pod autora. #
- #Edytowaniem skryptu. #
- #Na rzeczy nie wymienione zabraniam. #
- #######################################
- #Zezwalam: #
- #Dopisywanie kodu na wlasne potrzeby. #
- #Zmiane wiadomosci, szansy, poziomu. #
- #######################################
- options:
- ################
- ### Poziomy ###
- poziomdiamond: 21
- poziomemerald: 21
- poziomgold: 30
- poziomiron: 63
- poziompearl: 40
- poziomredstone: 32
- poziomgunpowder: 64
- poziomsand: 64
- ### Drop Player ###
- diamond: 0.8
- emerald: 0.4
- gold: 1.7
- iron: 2.8
- gunpowder: 1.2
- pearl: 0.3
- redstone: 1.4
- sand: 2.1
- xp: 2
- ### Drop VIP ##
- diamondvip: 1
- emeraldvip: 0.6
- goldvip: 1.9
- ironvip: 3
- gunpowdervip: 1.4
- pearlvip: 0.5
- redstonevip: 1.6
- sandvip: 2.3
- xpvip: 4
- ##################
- ### Wiadomosci ###
- ##################
- cobble: &6Cobblestone z twojego plecka zostal usuniety!
- mineoreblock: &3Drop z tego blocku jest wylaczony! Wiecej informacji &6/stone
- 1: &bDIAMOND&6 - &7{@diamond}%, od poziomu {@poziomdiamond}
- 2: &aEMERALD&6 - &7{@emerald}%, od poziomu {@poziomemerald} (BIOMY: EXTREME HILLS)
- 3: &7IRON ORE&6 - &7{@iron}%, od poziomu {@poziomiron}
- 4: &eGOLD ORE&6 - &7{@gold}%, od poziomu {@poziomgold}
- 5: &8GUNPOWDER&6 - &7{@gunpowder}%, od poziomu {@poziomgunpowder}
- 6: &cREDSTONE&6 - &7{@redstone}%, od poziomu {@poziomredstone}
- 7: &9ENDERPEARL&6 - &7{@pearl}%, od poziomu {@poziompearl}
- 8: &eSAND&6 - &7{@sand}%, od poziomu {@poziomsand}
- 8: &6VIP&7 posiada drop +2%.
- 9: &6Na diamenty, emeraldy uwzglednia sie fortune. I - 1-2 II - 1-3 III - 1-4.
- 1: &bDIAMOND&6 - &7{@diamondvip}%, od poziomu {@poziomdiamond}
- 2: &aEMERALD&6 - &7{@emeraldvip}%, od poziomu {@poziomemerald} (BIOMY: EXTREME HILLS)
- 3: &7IRON ORE&6 - &7{@ironvip}%, od poziomu {@poziomiron}
- 4: &eGOLD ORE&6 - &7{@goldvip}%, od poziomu {@poziomgold}
- 5: &8GUNPOWDER&6 - &7{@gunpowdervip}%, od poziomu {@poziomgunpowder}
- 6: &cREDSTONE&6 - &7{@redstonevip}%, od poziomu {@poziomredstone}
- 7: &9ENDERPEARL&6 - &7{@pearlvip}%, od poziomu {@poziompearl}
- 8: &eSAND&6 - &7{@sandvip}%, od poziomu {@poziomsand}
- 9: &6Jestes vipem. Drop +2.
- 10: &6Na diamenty, emeraldy uwzglednia sie fortune. I - 1-2 II - 1-3 III - 1-4.
- ###############
- ### KOMENDY ###
- ###############
- command /cobble
- aliases: cobblestone
- trigger:
- send "{@cobble}"
- execute player command "clear %player% minecraft:cobblestone"
- command /stone
- aliases: drop, drops, kamien
- trigger:
- if player has permission "xdrop.player"
- send "{@1}"
- send "{@2}"
- send "{@3}"
- send "{@4}"
- send "{@5}"
- send "{@6}"
- send "{@7}"
- send "{@8}"
- send "{@9}"
- send "{@10}"
- else:
- if player has permission "xdrop.vip"
- send "{@1}"
- send "{@2}"
- send "{@3}"
- send "{@4}"
- send "{@5}"
- send "{@6}"
- send "{@7}"
- send "{@8}"
- send "{@9}"
- send "{@10}"
- command /skript
- aliases: autor, author, autordrop, authordrop, skkf, mchc, kastircore, kastir, myhard, myszek, myszekpl
- trigger:
- wait 1 tick
- send "&6Autorem skriptu xdrop jest Myszek_PL"
- send "&6Specjalnie dla servera mc.myszek.net"
- ############
- ### CODE ###
- ############
- ###############
- ### EXPLODE ###
- ###############
- on explode:
- loop blocks in radius 8:
- 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
- if loop-block is redstone ore:
- set loop-block to air
- ### BLOCK DIAMOND ###
- on mine of diamond ore:
- cancel event
- set block to air
- send "{@mineoreblock}"
- stop
- ### BLOCK EMERALD ###
- on mine of emerald ore:
- cancel event
- set block to air
- send "{@mineoreblock}"
- stop
- ### BLOCK REDSTONE ###
- on mine of redstone ore:
- cancel event
- set block to air
- send "{@mineoreblock}"
- stop
- ### BLOCK GOLD ###
- on mine of gold ore:
- cancel event
- set block to air
- send "{@mineoreblock}"
- stop
- ### BLOCK IRON ###
- on mine of iron ore:
- cancel event
- set block to air
- send "{@mineoreblock}"
- stop
- #############
- ### SOUND ###
- #############
- on mine of stone:
- execute console command "playsound random.orb %player%"
- ############
- ### DROP ###
- ############
- ### VIP ###
- ###########
- ### DIAMOND ###
- on mine of stone:
- cancel event
- set block to air
- if player has permission "xdrop.vip":
- drop 1 cobblestone
- give {@xpvip} xp to the player
- if chance of {@diamondvip}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- 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
- stop
- else:
- drop 1 diamond
- give 6 xp to the player
- stop
- if chance of {@diamondvip}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- set {_fortuneI} to random integer between 1 and 2
- if player can hold %{_fortuneI}% diamond:
- drop 1 cobblestone
- give %{_fortuneI}% diamond to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneI}% diamond
- drop 1 cobblestone
- give 12 xp to the player
- stop
- if chance of {@diamondvip}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 20%:
- set {_fortuneII} to random integer between 1 and 3
- if player can hold %{_fortuneII}% diamond:
- drop 1 cobblestone
- give %{_fortuneII}% diamond to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneII}% diamond
- drop 1 cobblestone
- give 12 xp to the player
- stop
- if chance of {@diamondvip}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 10%:
- set {_fortuneIII} to random integer between 1 and 4
- if player can hold %{_fortuneIII}% diamond:
- drop 1 cobblestone
- give %{_fortuneIII}% diamond to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneIII}% diamond
- drop 1 cobblestone
- give 12 xp to the player
- stop
- ### EMERALD ###
- if chance of {@emeraldvip}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 7 xp to the player
- stop
- else:
- drop 1 emerald
- give 7 xp to the player
- stop
- if chance of {@emeraldvip}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- set {_fortuneI} to random integer between 1 and 2
- if player can hold %{_fortuneI}% emerald:
- drop 1 cobblestone
- give %{_fortuneI}% emerald to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneI}% emerald
- drop 1 cobblestone
- give 12 xp to the player
- stop
- if chance of {@emeraldvip}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 20%:
- set {_fortuneII} to random integer between 1 and 3
- if player can hold %{_fortuneII}% emerald:
- drop 1 cobblestone
- give %{_fortuneII}% emerald to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneII}% emerald
- drop 1 cobblestone
- give 12 xp to the player
- stop
- if chance of {@emeraldvip}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 10%:
- set {_fortuneIII} to random integer between 1 and 4
- if player can hold %{_fortuneIII}% emerald:
- drop 1 cobblestone
- give %{_fortuneIII}% emerald to the player
- give 12 xp to the player
- stop
- else:
- drop %{_fortuneIII}% emerald
- drop 1 cobblestone
- give 12 xp to the player
- stop
- ### REDSTONE ###
- if chance of {@redstonevip}%:
- if player's y-coordinate is less than {@poziomredstone}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold redstone:
- set {_numberredstone} to random integer between 1 and 6
- give %{_numerredstone}% redstone to the player
- give 1 xp to the player
- stop
- else:
- drop %{_numerredstone}% redstone
- give 1 xp to the player
- stop
- ### GOLD ###
- if chance of {@goldvip}%:
- if player's y-coordinate is less than {@poziomgold}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 6 xp to the player
- stop
- else:
- drop 1 gold ore
- give 6 xp to the player
- stop
- ### IRON ###
- if chance of {@ironvip}%:
- if player's y-coordinate is less than {@poziomiron}:
- 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 3 xp to the player
- stop
- else:
- drop 1 iron ore
- give 3 xp to the player
- stop
- ### PEARL ###
- if chance of {@pearlvip}%:
- if player's y-coordinate is less than {@poziompearl}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 4 xp to the player
- stop
- else:
- drop 1 ender pearl
- give 4 xp to the player
- stop
- ### SAND ###
- if chance of {@sandvip}%:
- if player's y-coordinate is less than {@poziomsand}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold sand:
- give 1 sand to the player
- give 3 xp to the player
- stop
- else:
- drop 1 sand
- give 3 xp to the player
- stop
- ### GUNPOWDER ###
- if chance of {@gunpowdervip}%:
- if player's y-coordinate is less than {@poziomgunpowder}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gunpowder:
- give 1 gunpowder to the player
- give 4 xp to the player
- stop
- else:
- drop 1 gunpowder
- give 4 xp to the player
- stop
- ##############
- ### PLAYER ###
- ##############
- on mine of stone:
- cancel event
- set block to air
- if player has permission "xdrop.player":
- drop 1 cobblestone
- give {@xp} xp to the player
- if chance of {@diamond}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold diamond:
- give 1 diamond to the player
- give 4 xp to the player
- stop
- else:
- drop 1 diamond
- give 4 xp to the player
- stop
- if chance of {@diamond}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- set {_fortuneI} to random integer between 1 and 2
- if player can hold %{_fortuneI}% diamond:
- drop 1 cobblestone
- give %{_fortuneI}% diamond to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneI}% diamond
- drop 1 cobblestone
- give 10 xp to the player
- stop
- if chance of {@diamond}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 20%:
- set {_fortuneII} to random integer between 1 and 3
- if player can hold %{_fortuneII}% diamond:
- drop 1 cobblestone
- give %{_fortuneII}% diamond to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneII}% diamond
- drop 1 cobblestone
- give 10 xp to the player
- stop
- if chance of {@diamond}%:
- if player's y-coordinate is less than {@poziomdiamond}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 10%:
- set {_fortuneIII} to random integer between 1 and 4
- if player can hold %{_fortuneIII}% diamond:
- drop 1 cobblestone
- give %{_fortuneIII}% diamond to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneIII}% diamond
- drop 1 cobblestone
- give 10 xp to the player
- stop
- ### EMERALD ###
- if chance of {@emerald}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold emerald:
- give 1 emerald to the player
- give 7 xp to the player
- stop
- else:
- drop 1 emerald
- give 7 xp to the player
- stop
- if chance of {@emerald}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 1 or iron pickaxe of fortune 1:
- chance of 30%:
- set {_fortuneI} to random integer between 1 and 2
- if player can hold %{_fortuneI}% emerald:
- drop 1 cobblestone
- give %{_fortuneI}% emerald to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneI}% emerald
- drop 1 cobblestone
- give 10 xp to the player
- stop
- if chance of {@emerald}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 2 or iron pickaxe of fortune 2:
- chance of 20%:
- set {_fortuneII} to random integer between 1 and 3
- if player can hold %{_fortuneII}% emerald:
- drop 1 cobblestone
- give %{_fortuneII}% emerald to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneII}% emerald
- drop 1 cobblestone
- give 10 xp to the player
- stop
- if chance of {@emerald}%:
- if player's y-coordinate is less than {@poziomemerald}:
- if player is holding diamond pickaxe of fortune 3 or iron pickaxe of fortune 3:
- chance of 10%:
- set {_fortuneIII} to random integer between 1 and 4
- if player can hold %{_fortuneIII}% emerald:
- drop 1 cobblestone
- give %{_fortuneIII}% emerald to the player
- give 10 xp to the player
- stop
- else:
- drop %{_fortuneIII}% emerald
- drop 1 cobblestone
- give 10 xp to the player
- stop
- ### REDSTONE ###
- if chance of {@redstone}%:
- if player's y-coordinate is less than {@poziomredstone}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold redstone:
- set {_numberredstone} to random integer between 1 and 6
- give %{_numberredstone}% redstone to the player
- give 1 xp to the player
- stop
- else:
- drop %{_numerredstone}% redstone
- give 1 xp to the player
- stop
- ### GOLD ###
- if chance of {@gold}%:
- if player's y-coordinate is less than {@poziomgold}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gold ore:
- give 1 gold ore to the player
- give 4 xp to the player
- stop
- else:
- drop 1 gold ore
- give 4 xp to the player
- stop
- ### IRON ###
- if chance of {@iron}%:
- if player's y-coordinate is less than {@poziomiron}:
- 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 1 xp to the player
- stop
- else:
- drop 1 iron ore
- give 1 xp to the player
- stop
- ### PEARL ###
- if chance of {@pearl}%:
- if player's y-coordinate is less than {@poziompearl}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold ender pearl:
- give 1 ender pearl to the player
- give 2 xp to the player
- stop
- else:
- drop 1 ender pearl
- give 2 xp to the player
- stop
- ### SAND ###
- if chance of {@sand}%:
- if player's y-coordinate is less than {@poziomsand}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold sand:
- give 1 sand to the player
- give 1 xp to the player
- stop
- else:
- drop 1 sand
- give 1 xp to the player
- stop
- ### GUNPOWDER ###
- if chance of {@gunpowder}%:
- if player's y-coordinate is less than {@poziomgunpowder}:
- if player is holding diamond pickaxe or iron pickaxe:
- if player can hold gunpowder:
- give 1 gunpowder to the player
- give 2 xp to the player
- stop
- else:
- drop 1 gunpowder
- give 2 xp to the player
- stop
Advertisement
Add Comment
Please, Sign In to add comment