Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cutclean <text>:
- permission: skript.op
- trigger:
- if arg-1 is set:
- if arg 1 is "enable":
- set {scenario::CutClean}to true
- message "&7[&eCutClean&7] &eCutClean Enabled!"
- if arg 1 is "disable":
- set {scenario::CutClean}to false
- message "&7[&eCutClean&7] &eCutClean Disabled!"
- if arg 1 is "toggle":
- if {scenario::CutClean}is true:
- set {scenario::CutClean}to false
- message "&7[&eCutClean&7] &eCutClean Disabled!"
- stop
- if {scenario::CutClean}is false:
- set {scenario::CutClean}to true
- message "&7[&eCutClean&7] &eCutClean Enabled!"
- stop
- if arg 1 is "help":
- message "&7[&eCutClean&7]&6/CutClean <enable/disable/toggle>"
- else:
- message "&7[&eCutClean&7]&6/CutClean <enable/disable/toggle>"
- on mine of iron ore:
- {scenario::CutClean}is true
- cancel the event
- damage player's tool by 1
- set event-block to air
- drop (1 of iron ingot) at (location 0.5 above player)
- drop 1 xp at player
- on mine of gold ore:
- {scenario::CutClean}is true
- cancel the event
- damage player's tool by 1
- set event-block to air
- drop (1 of gold ingot) at (location 0.5 above player)
- drop 1 xp at player
- on death of a pig:
- {scenario::CutClean}is true
- clear drops
- drop ((random integer between 0 and 3) of cooked porkchop) at the victim
- drop 1 xp at the victim
- on death of a cow:
- {scenario::CutClean}is true
- clear drops
- drop ((random integer between 0 and 3) of cooked beef) at the victim
- drop 1 leather at the victim
- drop 1 xp at the victim
- on death of a sheep:
- {scenario::CutClean}is true
- clear drops
- drop ((random integer between 0 and 3) of cooked mutton) at the victim
- drop 1 xp at the victim
- on death of a chicken:
- {scenario::CutClean}is true
- clear drops
- drop ((random integer between 0 and 3) of cooked chicken) at the victim
- drop ((random integer between 1 and 3) of feathers) at the victim
- drop 1 xp at the victim
- on death of a rabbit:
- {scenario::CutClean}is set
- clear drops
- drop ((random integer between 0 and 3) of cooked rabbit) at the victim
- drop 1 xp at the victim
Advertisement
Add Comment
Please, Sign In to add comment