Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /enchanteddeath [<text>]:
- permission: skript.op
- aliases: /edeath
- trigger:
- if arg 1 is equal to "on":
- set {edeath} to true
- broadcast "&2Enchanted death enabled"
- if arg 1 is equal to "off":
- set {edeath} to false
- broadcast "&4Enchanted death disabled"
- on death of a player:
- {edeath} is true
- drop enchantment table at location of victim
- on craft of enchantment table:
- {edeath} is true
- cancel event
- message "&4You can not craft an enchantment table!"
Advertisement
Add Comment
Please, Sign In to add comment