Added proposed protection models.
This commit is contained in:
parent
a5814c4b32
commit
5e75bf36c3
|
@ -0,0 +1,11 @@
|
|||
- id: worldguard.build
|
||||
when: block-break
|
||||
if:
|
||||
- ?: region-of
|
||||
block: target
|
||||
- ?: is-member
|
||||
entity: source
|
||||
negate: true
|
||||
then:
|
||||
- ?: cancel
|
||||
- ?tell: Sorry, you don't have permission for this area.
|
|
@ -0,0 +1,24 @@
|
|||
- id: worldguard.build
|
||||
when: block-break
|
||||
if:
|
||||
- ?: region-of
|
||||
block: target
|
||||
- ?: is-member
|
||||
entity: source
|
||||
negate: true
|
||||
then:
|
||||
- ?: cancel
|
||||
- ?tell: Sorry, you don't have permission for this area.
|
||||
- id: worldguard.pvp
|
||||
when: entity-damage
|
||||
if:
|
||||
- ?: region-of
|
||||
entity: target
|
||||
- ?: is-member
|
||||
entity: target
|
||||
- ?: is-member
|
||||
entity: source
|
||||
negate: true
|
||||
then:
|
||||
- ?: cancel
|
||||
- ?tell: Sorry, you can't attack that person in this area.
|
Loading…
Reference in New Issue