Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sign edit:
- if block below event-block is chest:
- set line 1 of event-block to "[Privado]"
- set line 2 of event-block to "%player%"
- send "&6&l[Server] &aSeu Bau esta Protegido fique tranquilo somente você pode abri-lo"
- on right click on a chest:
- set {_acima} to block above event-block
- if {_acima} is a sign:
- if line 1 of {_acima} is "[Privado]":
- if line 2 of {_acima} is %player%:
- stop
- else:
- cancel event
- send "&4&lVocê nao tem permissao para fazer isso!"
- on break of a chest:
- set {_acima} to block above event-block
- if {_acima} is a sign:
- if line 1 of {_acima} is "[Privado]":
- if line 2 of {_acima} is %player%:
- stop
- else:
- cancel event
- send "&4&lVocê nao tem permissao para fazer isso!"
- on break of a sign:
- if line 1 of event-block is "[Privado]":
- if line 2 of event-block is "%player%":
- stop
- else:
- cancel event
- send "&4&lVocê nao tem permissao para fazer isso!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement