Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #No Enchants + No Anvils
- options:
- P: &8[&7UHC&8]&c
- command /enchants [<text>]:
- usage: /enchants <on/off>
- permission: skript.host
- trigger:
- if arg 1 is "on":
- set {enchants} to true
- broadcast "{@P} &cEnchantment Tables &aEnabled"
- if arg 1 is "off":
- set {enchants} to false
- broadcast "{@P} &cEnchantment Tables &4Disabled"
- on craft of enchantment table:
- if {enchants} is false:
- cancel the event
- send "{@P} &cEnchanting Tables are &4Disabled&c!"
- on place of enchantment table:
- if {enchants} is false:
- cancel the event
- send "{@P} &cEnchanting Tables are &4Disabled&c!"
- on break of enchantment table:
- if {enchants} is false:
- cancel the event
- send "{@P} &cEnchanting Tables are &4Disabled&c!"
- on rightclick on enchantment table:
- if {enchants} is false:
- cancel the event
- send "{@P} &cEnchanting Tables are &4Disabled&c!"
- command /anvils [<text>]:
- usage: /anvils <on/off>
- permission: skript.host
- trigger:
- if arg 1 is "on":
- set {anvils} to true
- broadcast "{@P} &cAnvils &aEnabled"
- if arg 1 is "off":
- set {anvils} to false
- broadcast "{@P} &cAnvils &4Disabled"
- on craft of anvil:
- if {anvils} is false:
- cancel the event
- send "{@P} &cAnvils are &4Disabled&c!"
- on break of anvil:
- if {anvils} is false:
- cancel the event
- send "{@P} &cAnvils are &4Disabled&c!"
- on place of anvil:
- if {anvils} is false:
- cancel the event
- send "{@P} &cAnvils are &4Disabled&7!"
- on rightclick on anvil:
- if {anvils} is false:
- cancel the event
- send "{@P} &cAnvils are &4Disabled&c!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement