DoorStateUpdate
Defined in: server/api.d.ts:3694
Axes to change. Absent leaves an axis alone; null releases it.
Properties
Section titled “Properties”locked?
Section titled “locked?”
optionallocked?:boolean|null
Defined in: server/api.d.ts:3698
Hold the door locked or unlocked. Only a door carrying a lock can be locked.
lockLevel?
Section titled “lockLevel?”
optionallockLevel?: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.
optionalopen?: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.