Mireacul

CutClean.sk

Apr 18th, 2026
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. command /cutclean <text>:
  2. permission: skript.op
  3. trigger:
  4. if arg-1 is set:
  5. if arg 1 is "enable":
  6. set {scenario::CutClean}to true
  7. message "&7[&eCutClean&7] &eCutClean Enabled!"
  8. if arg 1 is "disable":
  9. set {scenario::CutClean}to false
  10. message "&7[&eCutClean&7] &eCutClean Disabled!"
  11. if arg 1 is "toggle":
  12. if {scenario::CutClean}is true:
  13. set {scenario::CutClean}to false
  14. message "&7[&eCutClean&7] &eCutClean Disabled!"
  15. stop
  16. if {scenario::CutClean}is false:
  17. set {scenario::CutClean}to true
  18. message "&7[&eCutClean&7] &eCutClean Enabled!"
  19. stop
  20. if arg 1 is "help":
  21. message "&7[&eCutClean&7]&6/CutClean <enable/disable/toggle>"
  22. else:
  23. message "&7[&eCutClean&7]&6/CutClean <enable/disable/toggle>"
  24.  
  25. on mine of iron ore:
  26. {scenario::CutClean}is true
  27. cancel the event
  28. damage player's tool by 1
  29. set event-block to air
  30. drop (1 of iron ingot) at (location 0.5 above player)
  31. drop 1 xp at player
  32.  
  33. on mine of gold ore:
  34. {scenario::CutClean}is true
  35. cancel the event
  36. damage player's tool by 1
  37. set event-block to air
  38. drop (1 of gold ingot) at (location 0.5 above player)
  39. drop 1 xp at player
  40.  
  41. on death of a pig:
  42. {scenario::CutClean}is true
  43. clear drops
  44. drop ((random integer between 0 and 3) of cooked porkchop) at the victim
  45. drop 1 xp at the victim
  46.  
  47.  
  48. on death of a cow:
  49. {scenario::CutClean}is true
  50. clear drops
  51. drop ((random integer between 0 and 3) of cooked beef) at the victim
  52. drop 1 leather at the victim
  53. drop 1 xp at the victim
  54.  
  55. on death of a sheep:
  56. {scenario::CutClean}is true
  57. clear drops
  58. drop ((random integer between 0 and 3) of cooked mutton) at the victim
  59. drop 1 xp at the victim
  60.  
  61.  
  62. on death of a chicken:
  63. {scenario::CutClean}is true
  64. clear drops
  65. drop ((random integer between 0 and 3) of cooked chicken) at the victim
  66. drop ((random integer between 1 and 3) of feathers) at the victim
  67. drop 1 xp at the victim
  68.  
  69. on death of a rabbit:
  70. {scenario::CutClean}is set
  71. clear drops
  72. drop ((random integer between 0 and 3) of cooked rabbit) at the victim
  73. drop 1 xp at the victim
Tags: UHC CutClean
Advertisement
Add Comment
Please, Sign In to add comment