ZoneOptions
Defined in: server/api.d.ts:4923
Where a zone exists and what it watches.
Properties
Section titled “Properties”hazard?
Section titled “hazard?”
optionalhazard?:ZoneHazard|null
Defined in: server/api.d.ts:4942
What it does to the players inside: damage over time, fog, a tint, and what protects from them. Needs “player” in track. Default none.
optionalmap?:string
Defined in: server/api.d.ts:4932
The map it is in, as player.location().areaId names it; “Overland” or “” (the default) for the shared map.
track?
Section titled “track?”
optionaltrack?: ("beast"|"player"|"npc"|"worldObject"|"character")[]
Defined in: server/api.d.ts:4937
Entity kinds it reports. Default [“player”].
virtualWorld?
Section titled “virtualWorld?”
optionalvirtualWorld?:number
Defined in: server/api.d.ts:4927
The virtual world it watches, within map as an entity’s is. Default 0.