Skip to main content

Protection Region Audience

Filter players based on if they are in a protection region

Fields

FieldTypeDefaultDescription
regionRef<RegionDefinitionEntry>—Region definition that should be considered by this audience filter
invertedBooleanfalse—
Common TypeWriter fields (children)
FieldTypeDefaultDescription
childrenList<Ref<AudienceEntry>>empty—

How to use it​

Players are in the audience while they are inside region. Use inverted to include everyone outside the region instead. Children of the entry (for example a scoreboard or a boss bar) are shown to that audience only. The audience updates when a player crosses a block border or teleports.