Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &7[&eUHC&7]
- command /veinminer <text>:
- permission: skript.op
- trigger:
- if arg 1 is "enable":
- set {veinminer} to true
- message "{@P} &bVein Miner &2Enabled&7!"
- stop
- if arg 1 is "disable":
- set {veinminer} to false
- message "{@P} &bVein Miner &cDisabled&7!"
- stop
- message "{@P}/veinminer <enable/disable>"
- on mine of coal ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to coal ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (1 of coal):
- give player (1 of coal)
- else:
- drop (1 of coal) at (location 0.5 above player)
- drop 1 xp at player
- on mine of iron ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to iron ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (1 of iron ore):
- give player (1 of iron ore)
- else:
- drop (1 of iron ore) at (location 0.5 above player)
- on mine of gold ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to gold ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (1 of gold ore):
- give player (1 of gold ore)
- else:
- drop (1 of gold ore) at (location 0.5 above player)
- on mine of lapis lazuli ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to lapis lazuli ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (6 of lapis lazuli):
- give player (6 of lapis lazuli)
- else:
- drop (6 of lapis lazuli) at (location 0.5 above player)
- drop 1 xp at player
- on mine of redstone ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to redstone ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (4 of redstone):
- give player (4 of redstone)
- else:
- drop (4 of redstone) at (location 0.5 above player)
- drop 1 xp at player
- on mine of diamond ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to diamond ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (1 of diamond):
- give player (1 of diamond)
- else:
- drop (1 of diamond) at (location 0.5 above player)
- drop 1 xp at player
- on mine of emerald ore:
- if {veinminer} is true:
- player is sneaking
- loop blocks in radius 2 around event-block:
- loop-block is equal to emerald ore
- set loop-block to air
- damage player's tool by 1
- if player has space for (1 of emerald):
- give player (1 of emerald)
- else:
- drop (1 of emerald) at (location 0.5 above player)
- drop 1 xp at player
Add Comment
Please, Sign In to add comment