Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bWebcage&f]
- C: &b
- H: &f
- command /Webcage <text>:
- permission: {@Perm}
- usage: /Webcage <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {Webcage} to true
- broadcast "{@P}{@C} Webcage {@H}Enabled{@C}!"
- if arg-1 is "disable" or "off":
- delete {Webcage}
- broadcast "{@P}{@C} Webcage {@H}Disabled{@C}!"
- on death of player:
- {Webcage} is true
- set {_loc} to location of player
- loop blocks in radius 10 around {_loc}:
- set {_distance} to rounded down distance between {_loc} and loop-block
- {_distance} is 4
- loop-block is air
- set block at loop-block to cobweb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement