Overview
Access viaDoors (server-side only).
Lock Control
Lock and unlock doors
Elevators
Multi-floor elevator management
Dynamic Doors
Runtime door creation
Lockpicking
Lockpick support
Door Methods
Doors:SetLock
Set the lock state of a door.string|number
required
Door string ID or numeric index
boolean|nil
required
true = locked, false = unlocked, nil = toggleboolean
Internal flag for double-door handling (do not set manually)
boolean|nil
New lock state, or
nil if door not found- If the door has a
doubleproperty, both doors are updated - If the door has
autoLock, it will re-lock after the specified seconds - Broadcasts
Doors:Client:UpdateStateto all clients
Doors:IsLocked
Check if a door is currently locked.string|number
required
Door string ID or numeric index
boolean
true if lockedDoors:SetForcedOpen
Force a door to open visually (e.g., after breaching).string|number
required
Door string ID or numeric index
Doors:SetElevatorLock
Set the lock state of an elevator floor.string
required
Elevator identifier
number
required
Floor index
boolean|nil
required
true = locked, false = unlocked, nil = toggleboolean|nil
New lock state, or
nil if not foundDynamic Door Exports
These are resource exports (not component methods) for runtime door management.GetAllDoors
table
All door definitions
AddDynamicDoor
Add a door at runtime (saved to database).table
required
Door definition (see Configuration page)
RemoveDynamicDoor
Remove a dynamic door.UpdateDynamicDoor
Update an existing dynamic door.GetAllElevators
AddDynamicElevator
UpdateDynamicElevator
RemoveDynamicElevator
Server Callbacks
Events
Best Practices
Use String IDs for Important Doors
Use String IDs for Important Doors
Check Lock State Before Actions
Check Lock State Before Actions
Next Steps
Doors - Configuration
Door and elevator definitions
Jobs API
Job restrictions for doors
Admin Callbacks
Admin door management tools