Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cutclean <text=help>:
- aliases: /kutklean, /cc
- permission: skript.op
- trigger:
- if arg 1 is "enable":
- set {cc} to true
- message "&7[&eCutClean&7] &eCutClean Enabled!"
- if arg 1 is "disable":
- set {cc} to false
- message "&7[&eCutClean&7] &eCutClean Disabled!"
- if arg 1 is "toggle":
- if {cc} is true:
- set {cc} to false
- message "&7[&eCutClean&7] &eCutClean Disabled!"
- stop
- if {cc} is false:
- set {cc} to true
- message "&7[&eCutClean&7] &eCutClean Enabled!"
- stop
- if arg 1 is "help":
- message "&7[&eCutClean&7]&6/CutClean <enable/disable/toggle>"
- on mine of iron ore or deepslate iron ore:
- if {cc} is true:
- cancel the event
- damage player's tool by 1
- set event-block to air
- if player has space for (1 of iron ingot):
- give player (1 of iron ingot)
- else:
- drop (1 of iron ingot) at (location 0.5 above player)
- drop 1 xp at player
- on mine:
- if event-block is gold ore or deepslate gold ore:
- if {cc} is true:
- cancel the event
- damage player's tool by 1
- set event-block to air
- if player has space for (1 of gold ingot):
- give player (1 of gold ingot)
- else:
- drop (1 of gold ingot) at (location 0.5 above player)
- drop 1 xp at player
- on death of a pig:
- if {cc} is true:
- clear drops
- drop 3 cooked porkchop at the victim
- drop 1 xp at the victim
- else:
- stop
- on death of a cow:
- {cc} is true
- clear drops
- drop 3 steak at the victim
- drop 1 leather at the victim
- drop 1 xp at the victim
- on death of a sheep:
- {cc} is true
- clear drops
- drop 3 cooked mutton at the victim
- drop 1 xp at the victim
- on death of a chicken:
- {cc} is true
- clear drops
- drop 3 cooked chicken at the victim
- drop 2 feathers at the victim
- drop 1 xp at the victim
- on death of a spider:
- {cc} is true
- clear drops
- drop 2 string at the victim
- chance of 30%:
- drop 1 spider eye at the victim
- drop 4 xp at the victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement