Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skripted by CaptainKoala72 - Feel Free to edit in any way!
- options:
- P: &8[&bCutclean&8] # - Edit your own prefix
- Perm: Set.Your.Own # - Set your own permission
- command /selectcutclean [<integer>] [<text>]:
- permission: {@Perm}
- aliases: /sc, /selcutclean
- trigger:
- if arg-2 is not set:
- message "{@P} &6/SelectCutclean &7<Amount> <Barebones On:Off>"
- else:
- if arg-1 is less than 0:
- message "{@P} &7You can't set select cutclean to less than 0!"
- stop trigger
- if arg-1 is more than 0:
- set {sc.amt} to arg-1
- message "{@P} &7Select Cutclean has been set to %arg-1%!"
- set {cutclean} to true
- if arg-2 is "on" or "true":
- set {bb} to true
- message "{@P} &7Barebones is set to 'True'"
- if arg-2 is "off" or "false":
- set {bb} to false
- message "{@P} &7Barebones is set to 'False'"
- if arg-1 is 0:
- message "{@P} &7You set Select Cutclean to default!"
- delete {sc.amt}
- delete {bb}
- on mine of iron ore:
- if {sc.amt} is set:
- set the block to air
- loop {sc.amt} times:
- cancel the event
- drop 1 iron ingot
- spawn 1 experience orb at event-block
- on mine of coal ore:
- if {sc.amt} is set:
- set the block to air
- loop {sc.amt} times:
- cancel the event
- drop 1 coal
- spawn 1 experience orb at event-block
- on mine of gold ore:
- if {sc.amt} is set:
- set the block to air
- loop {sc.amt} times:
- if {bb} is false:
- cancel the event
- drop 1 gold ingot
- if {bb} is true:
- cancel the event
- set the block to air
- drop 1 iron ingot at the event-block
- spawn 1 experience orb at event-block
- on mine of diamond ore:
- if {sc.amt} is set:
- set the block to air
- loop {sc.amt} times:
- if {bb} is false:
- cancel the event
- drop 1 diamonds
- if {bb} is true:
- cancel the event
- set the block to air
- drop 1 iron ingot at the event-block
- spawn 1 experience orb at event-block
- on mine of emerald ore:
- if {sc.amt} is set:
- set the block to air
- loop {sc.amt} times:
- if {bb} is false:
- cancel the event
- drop 1 gold ingot
- if {bb} is true:
- cancel the event
- set the block to air
- drop 1 iron ingot at the event-block
- spawn 1 experience orb at event-block
- on death of pig:
- if {sc.amt} is set:
- clear the drops
- loop {sc.amt} times:
- drop 1 cooked porkchop
- on death of cow:
- if {sc.amt} is set:
- clear the drops
- loop {sc.amt} times:
- drop 1 steak
- on death of chicken:
- if {sc.amt} is set:
- clear the drops
- loop {sc.amt} times:
- drop 1 cooked chicken named "KFC"
- on death of sheep:
- if {sc.amt} is set:
- clear the drops
- loop {sc.amt} times:
- drop 1 cooked porkchop
- on death of squid:
- if {sc.amt} is set:
- clear the drops
- loop {sc.amt} times:
- drop 1 cooked fish
- on death of player:
- if {bb} is true:
- drop 2 string at event-player
- drop 1 diamond at event-player
- drop 1 diamond pickaxe at event-player
- drop 1 golden apple at event-player
- drop 32 arrows at event-player
- on craft of enchantment table:
- if {bb} is true:
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement