The In Region Fact (Documentation Index
Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
Use this file to discover all available pages before exploring further.
in_region) allows you to check if a player is currently within one or more specific protected zones. This is useful for conditional actions, such as enabling specific menus only in certain areas.
Configuration
| Parameter | Type | Description |
|---|---|---|
regions | List<Ref<RegionDefinition>> | The list of regions to check against. |
Usage
This fact returnstrue if the player is standing inside any of the regions specified in the list.