Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

GatePolicy

Defined in: client/api.d.ts:7901

Streamed-gate enforcement policy.

optional allExcept?: string[]

Defined in: client/api.d.ts:7930

Exclusions for unlockAll / openAll.


optional freezeSchedule?: boolean

Defined in: client/api.d.ts:7915

Cancel every portcullis’ open/close clock callbacks, so the hour no longer moves a gate.


optional lockGates?: string[]

Defined in: client/api.d.ts:7935

Gates to close and lock; beats any unlock or open. A kind without a lock is closed instead, until a player opens it their own way. Entries are actor names, or path names when they hold ‘/’ or ‘:’.


optional openAll?: boolean | ("portcullis" | "runeGate" | "swingGate" | "crawlGrate")[]

Defined in: client/api.d.ts:7910

Open every gate of these kinds (true: every kind) and keep a portcullis raised.


optional openGates?: string[]

Defined in: client/api.d.ts:7925

Gates to open, whatever their kind.


optional unlockAll?: boolean | ("portcullis" | "runeGate" | "swingGate" | "crawlGrate")[]

Defined in: client/api.d.ts:7905

Unlock every gate of these kinds (true: every kind), leaving it closed. Only portcullises have a lock.


optional unlockGates?: string[]

Defined in: client/api.d.ts:7920

Gates to unlock but leave closed, whatever their kind.