Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {barebones}=false
- command /barebones <text>:
- permission: skript.op
- trigger:
- if arg 1 is "enable":
- if {barebones} is false:
- set {barebones} to true
- broadcast "<orange>Barebones <purple>is now enabled!"
- stop
- if {barebones} is true:
- message "<red>Barebones is already enabled!"
- stop
- if arg 1 is "disable":
- if {barebones} is true:
- set {barebones} to false
- broadcast "<orange>Barebones <purple>is now disabled!"
- stop
- if {barebones} is false:
- message "<red>Barebones is already disabled!"
- stop
- if arg 1 is "toggle":
- if {barebones} is true:
- set {barebones} to false
- broadcast "<orange>Barebones <purple>is now disabled!"
- stop
- if {barebones} is false:
- set {barebones} to true
- broadcast "<orange>Barebones <purple>is now enabled!"
- stop
- on mine of gold ore:
- if {barebones} is true:
- set the block to air
- cancel the event
- drop 1 iron ingot
- on mine of diamond ore:
- if {barebones} is true:
- set the block to air
- cancel the event
- drop 1 iron ingot
- on craft of enchantment table:
- if {barebones} is true:
- cancel the event
- on craft of anvil:
- if {barebones} is true:
- cancel the event
- on craft of golden apple:
- if {barebones} is true:
- cancel the event
- on death of a player:
- if {barebones} is true:
- drop 1 golden apple at the player
- drop 1 diamond at the player
- drop 32 arrows at the player
- drop 2 string at the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement