Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /diamondless <text>:
- usage: /diamondless <enable:disable:toggle>
- permission: skript.op
- trigger:
- if arg 1 is "enable":
- set {diamondless} to true
- message "&cDiamondless Enabled!"
- if arg 1 is "disable":
- set {diamondless} to false
- message "&cDiamondless Disabled!"
- if arg 1 is "toggle":
- if {diamondless} is true:
- set {diamondless} to false
- message "&cDiamondless Disabled!"
- stop
- if {diamondless} is false:
- set {diamondless} to true
- message "&cDiamondless Enabled!"
- stop
- on mine of gold ore:
- if {diamondless} is true:
- chance of 50%:
- set block to air
- drop 1 gold ingot
- cancel the event
- else:
- set block to air
- cancel the event
- on mine of diamond ore:
- if {diamondless} is true:
- set block to air
- cancel the event
- on death of player:
- if {diamondless} is true:
- drop 4 gold ingots at the victim
- drop 1 diamond at the victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement