Region
interface Region
Represents a region within housing.
A Region provides metadata (name), PvP-related configuration and entry/exit action containers.
Implementations perform sequential behavior and therefore expose suspend functions for better interaction with Housing.
Functions
Link copied to clipboard
Returns the action container executed when a player enters the region.
Link copied to clipboard
Returns the action container executed when a player exits the region.
Link copied to clipboard
Returns the PvP-related settings for this region.
Link copied to clipboard
Moves the region bounds. The caller must have a region selected for this to succeed.
Link copied to clipboard
abstract suspend fun setPvpSettings(newPvpSettings: MutableMap<Region.PvpSettings, Boolean?>): Region
Updates the PvP settings for this region.