Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

ZoneOptions

Defined in: server/api.d.ts:4923

Where a zone exists and what it watches.

optional hazard?: 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.


optional map?: 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.


optional track?: ("beast" | "player" | "npc" | "worldObject" | "character")[]

Defined in: server/api.d.ts:4937

Entity kinds it reports. Default [“player”].


optional virtualWorld?: number

Defined in: server/api.d.ts:4927

The virtual world it watches, within map as an entity’s is. Default 0.