Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sffs <text>:
- permission: skript.op
- usage: /sffs <enable|disable|on|off>
- trigger:
- if arg-1 is "enable" or "on":
- set {SFFS} to true
- broadcast "&2[&aSFFS&2] &fShiny Fruits and Fruity Shinies has been &aenabled!"
- else if arg-1 is "disable" or "off":
- set {SFFS} to false
- broadcast "&2[&aSFFS&2] &fShiny Fruits and Fruity Shinies has been &4disabled!"
- command /setsffs <integer>:
- permission: skript.op
- usage: /setsffs <rate>
- trigger:
- set {SFFSRate} to arg-1
- broadcast "&2[&aSFFS&2] &fThe Shiny Fruits and Fruity Shinies rate is now &a%arg-1%"
- on mine of diamond ore:
- {SFFS} is true
- cancel event
- set the event-block to air
- drop 1 apple at the event-block
- on leaves decay:
- {SFFS} is true
- cancel event
- set the event-block to air
- chance of {SFFSRate}%
- drop 1 diamond at the event-block
- on break of leaves:
- {SFFS} is true
- cancel event
- set the event-block to air
- chance of {SFFSRate}%
- drop 1 diamond at the event-block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement