Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&bEnderBackPack&8]&1
- command /enderbp <text>:
- usage: {@P} /enderbp <on,enable:off,disable:set>
- permission: bp.admin
- trigger:
- if arg 1 is "on" or "enable":
- set {enderbp} to true
- message "{@P} Ender Backpacks are now on!"
- if arg 1 is "off" or "disable":
- set {enderbp} to false
- message "{@P} Ender Backpacks are now off!"
- if arg 1 is "set":
- if {enderbp} is true:
- give 1 ender chest to all players
- give 1 golden axe named "{@P} BackPack Breaker!" to all players
- on break of ender chest:
- if {enderbp} is true:
- set the event-block to air
- drop an ender chest at the event-block
- cancel the event
- on craft of ender chest:
- if {enderbp} is true:
- message "{@P} You cannot craft that item!"
- cancel the event
- on block damage:
- event-block is an ender chest:
- player is holding a golden axe:
- if {enderbp} is true:
- set the event-block to air
- drop an ender chest at the event-block
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment