Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

DoorStateUpdate

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

Axes to change. Absent leaves an axis alone; null releases it.

optional locked?: boolean | null

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

Hold the door locked or unlocked. Only a door carrying a lock can be locked.


optional lockLevel?: 2 | 1 | 3 | null

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

Hold the Alohomora level its padlocks ask for: the callout shows it and a player needs that level to cast Alohomora on the door. Only padlocked doors carry a level. Held together with locked: true, a qualifying cast is refused and raises doorUnlockRequest.


optional open?: boolean | null

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

Hold the door open, or closed. A closed door still swings for anyone who walks into it unless locked.