Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /barebones <text>:
- permission: skript.op
- trigger:
- if arg-1 is not set:
- message "&7[&cPermission Denied&7]"
- else:
- if arg-1 is equal to "enable" or "true" or "on":
- set {barebones} to true
- broadcast "&f&lBarebones - &aEnabled"
- if arg-1 is equal to "disable" or "false" or "off":
- delete {barebones}
- broadcast "&f&lBarebones - &cDisabled"
- on craft of golden apple or anvil or enchantment table:
- {barebones} is true:
- cancel event
- message "&f&lDid you forget it's &cBarebones?"
- on mine of gold ore or diamond ore:
- {barebones} is true:
- {cutclean} is false:
- cancel event
- set block to air
- drop 1 iron ore at event-block
- else:
- drop 1 iron ingot at event-block
- on death of player:
- {barebones} is true:
- drop 1 diamond at victim
- drop 2 string at victim
- drop 32 arrow at victim
- drop 1 golden apple at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement