Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===========================#
- #= OPCutClean Skript [v-1.0] =#
- #===========================#
- #Feel free to alter anything in the by xxRickyh211xx
- #=====================#
- #= OPCutClean Commands =#
- #=====================#
- command /OPcutclean <text>:
- description: OPCutClean Enable:Disable:Toggle
- usage: /OPcutclean <enable:disable:toggle>
- permission: cutclean.admin
- trigger:
- if arg 1 is "enable":
- set {OPcutclean} to true
- message "&cOPCutClean Enabled!"
- if arg 1 is "disable":
- set {OPcutclean} to false
- message "&cCutClean Disabled!"
- if arg 1 is "toggle":
- if {OPcutclean} is true:
- set {OPcutclean} to false
- message "&cOPCutClean Disabled!"
- stop
- if {opcutclean} is false:
- set {OPcutclean} to true
- message "&cOPCutClean Enabled!"
- stop
- #===================#
- #= OPCutClean Mining =#
- #===================#
- on mine of gravel:
- if {cutclean} is true:
- set block to air
- chance of 15%
- drop 1 flint
- cancel the event
- on mine of oak leaves:
- if {cutclean} is true:
- set block to air
- chance of 2%
- drop 1 apple
- cancel the event
- on mine of iron ore:
- if {cutclean} is true:
- set block to air
- drop 1 iron block
- cancel the event
- on mine of gold ore:
- if {cutclean} is true:
- set block to air
- drop 1 gold block
- cancel the event
- on mine of diamond ore:
- if {cutclean} is true:
- set block to air
- drop 1 diamond block
- broadcast %player% has mined a Diamond ore and changed to a Diamond Block
- cancel the event
- on death of a pig:
- if {cutclean} is true:
- clear drops
- drop 3 cooked porkchop at the pig
- drop 1 leather at the pig
- on death of a cow:
- if {cutclean} is true:
- clear drops
- drop 3 steak at the cow
- drop 1 leather at the cow
- on death of a chicken:
- if {cutclean} is true:
- clear drops
- drop 3 cooked chicken at the chicken
- drop 2 feather at the chicken
- drop 1 leather at the chicken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement