Added proposed protection models.

This commit is contained in:
sk89q 2012-11-06 22:04:25 -08:00
parent a5814c4b32
commit 5e75bf36c3
2 changed files with 35 additions and 0 deletions

View File

@ -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.

View File

@ -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.