Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&bFavonius&8]&r
- command /xOres <text> [<integer>]:
- permission: skript.xOres
- trigger:
- if arg-1 is "on" or "enable":
- if arg-2 is not set:
- message "{@P} Please specify how many ores should drop!"
- if arg-2 is set:
- set {xOres} to true
- set {xOres.drop} to arg-2
- if arg-1 is "off" or "off":
- set {xOres} to false
- on mine of iron ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 1 iron ingot at the event-block
- spawn 1 experience orb at event-block
- on mine of gold ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 1 gold ingot at the event-block
- spawn 1 experience orb at event-block
- on mine of diamond ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 1 diamond at the event-block
- spawn 1 experience orb at event-block
- on mine of coal ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 1 coal at the event-block
- spawn 1 experience orb at event-block
- on mine of redstone ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 4 redstone at the event-block
- spawn 1 experience orb at event-block
- on mine of lapis ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 4 lapis lazuli at the event-block
- spawn 1 experience orb at event-block
- on mine of emerald ore:
- if {xOres} is true:
- cancel the event
- set the block to air
- if {xOres.drop} is not set:
- loop 5 times:
- broadcast "{@P} An admin has not set the ore drops!"
- wait 0.1 seconds
- if {xOres.drop} is set:
- loop {xOres.drop} times:
- drop 1 emerald at the event-block
- spawn 1 experience orb at event-block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement