Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {enchants} = false
- {anvils} = false
- command /enchants [<text>]:
- usage: /enchants <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {enchants} to true
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <Light Cyan>Enchantment Tables Enabled"
- if arg 1 is "off":
- set {enchants} to false
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <Light Cyan>Enchantment Tables Disabled"
- on craft of enchantment table:
- {enchants} is false
- cancel the event
- command /anvils [<text>]:
- usage: /anvils <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {anvils} to true
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <white>Anvils Enabled"
- if arg 1 is "off":
- set {anvils} to false
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <white>Anvils Disabled"
- on craft of anvil:
- {anvils} is false
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement