Advertisement
Guest User

OPCutClean by: xxRickyh211xx

a guest
Aug 4th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. #===========================#
  2. #= OPCutClean Skript [v-1.0] =#
  3. #===========================#
  4. #Feel free to alter anything in the by xxRickyh211xx
  5.  
  6. #=====================#
  7. #= OPCutClean Commands =#
  8. #=====================#
  9. command /OPcutclean <text>:
  10. description: OPCutClean Enable:Disable:Toggle
  11. usage: /OPcutclean <enable:disable:toggle>
  12. permission: cutclean.admin
  13. trigger:
  14. if arg 1 is "enable":
  15. set {OPcutclean} to true
  16. message "&cOPCutClean Enabled!"
  17. if arg 1 is "disable":
  18. set {OPcutclean} to false
  19. message "&cCutClean Disabled!"
  20. if arg 1 is "toggle":
  21. if {OPcutclean} is true:
  22. set {OPcutclean} to false
  23. message "&cOPCutClean Disabled!"
  24. stop
  25. if {opcutclean} is false:
  26. set {OPcutclean} to true
  27. message "&cOPCutClean Enabled!"
  28. stop
  29. #===================#
  30. #= OPCutClean Mining =#
  31. #===================#
  32. on mine of gravel:
  33. if {cutclean} is true:
  34. set block to air
  35. chance of 15%
  36. drop 1 flint
  37. cancel the event
  38.  
  39. on mine of oak leaves:
  40. if {cutclean} is true:
  41. set block to air
  42. chance of 2%
  43. drop 1 apple
  44. cancel the event
  45.  
  46. on mine of iron ore:
  47. if {cutclean} is true:
  48. set block to air
  49. drop 1 iron block
  50. cancel the event
  51.  
  52. on mine of gold ore:
  53. if {cutclean} is true:
  54. set block to air
  55. drop 1 gold block
  56. cancel the event
  57.  
  58. on mine of diamond ore:
  59. if {cutclean} is true:
  60. set block to air
  61. drop 1 diamond block
  62. broadcast %player% has mined a Diamond ore and changed to a Diamond Block
  63. cancel the event
  64.  
  65.  
  66. on death of a pig:
  67. if {cutclean} is true:
  68. clear drops
  69. drop 3 cooked porkchop at the pig
  70. drop 1 leather at the pig
  71.  
  72. on death of a cow:
  73. if {cutclean} is true:
  74. clear drops
  75. drop 3 steak at the cow
  76. drop 1 leather at the cow
  77.  
  78. on death of a chicken:
  79. if {cutclean} is true:
  80. clear drops
  81. drop 3 cooked chicken at the chicken
  82. drop 2 feather at the chicken
  83. drop 1 leather at the chicken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement