Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

DoorUnlock

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

A lock a player opened by key or Alohomora.

id: string

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

The door’s persistent id; empty for a lockable that is not a door.


name: string

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

The lockable’s actor name.


path: string

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

The lockable’s asset path.


shared: boolean

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

Whether the server now holds it unlocked for every player. False while Doors.setShareUnlocks(false) is in force or the server holds that door locked, unless Doors.allowUnlock let this player open it.