Zum Hauptinhalt springen

Protection Region Audience

Filter players based on if they are in a protection region

Felder

FeldTypStandardBeschreibung
regionRef<RegionDefinitionEntry>—Region definition that should be considered by this audience filter
invertedBooleanfalse—
Gemeinsame TypeWriter-Felder (children)
FeldTypStandardBeschreibung
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.