Advertisement
Guest User

SFFS

a guest
Jun 8th, 2016
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. command /sffs <text>:
  2. permission: skript.op
  3. usage: /sffs <enable|disable|on|off>
  4. trigger:
  5. if arg-1 is "enable" or "on":
  6. set {SFFS} to true
  7. broadcast "&2[&aSFFS&2] &fShiny Fruits and Fruity Shinies has been &aenabled!"
  8. else if arg-1 is "disable" or "off":
  9. set {SFFS} to false
  10. broadcast "&2[&aSFFS&2] &fShiny Fruits and Fruity Shinies has been &4disabled!"
  11.  
  12. command /setsffs <integer>:
  13. permission: skript.op
  14. usage: /setsffs <rate>
  15. trigger:
  16. set {SFFSRate} to arg-1
  17. broadcast "&2[&aSFFS&2] &fThe Shiny Fruits and Fruity Shinies rate is now &a%arg-1%"
  18.  
  19.  
  20. on mine of diamond ore:
  21. {SFFS} is true
  22. cancel event
  23. set the event-block to air
  24. drop 1 apple at the event-block
  25.  
  26. on leaves decay:
  27. {SFFS} is true
  28. cancel event
  29. set the event-block to air
  30. chance of {SFFSRate}%
  31. drop 1 diamond at the event-block
  32.  
  33. on break of leaves:
  34. {SFFS} is true
  35. cancel event
  36. set the event-block to air
  37. chance of {SFFSRate}%
  38. drop 1 diamond at the event-block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement