Перейти к основному содержимому

Protection Region Audience

Filter players based on if they are in a protection region

Поля

ПолеТипПо умолчаниюОписание
regionRef<RegionDefinitionEntry>—Region definition that should be considered by this audience filter
invertedBooleanfalse—
Общие поля TypeWriter (children)
ПолеТипПо умолчаниюОписание
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.