🔐 Magic Door Lock
Magic Door Lock is a complete door and access-control system for FiveM, allowing server owners to create, secure, and manage everything from single doors to complete buildings through an advanced in-game interface.
Configure jobs, gangs, keypads, keys, keycards, schedules, lockdowns, forced entry, alarms, sounds, and detailed access logs without manually entering door hashes or coordinates.
Features
Complete in-game door creator
Single and double doors
Gates, garages, barriers, shutters, and vaults
Multi-entity door groups
Direct world-door targeting
Automatic double-door suggestions
Door highlighting and duplicate detection
Door explorer and bulk management
Flexible access permissions
Secure keypad system
Physical keys and keycards
Temporary and one-time access codes
Automatic relocking
Door schedules
Building lockdowns
Lockpicking and police breaching
Door damage and repair
Custom sound profiles
Network-synchronised door states
Detailed access logging
Secure server-side validation
Door Creator
Administrators can:
Target doors directly in the world
Create single or double doors
Configure gates and garage doors
Build grouped access points
Test lock and unlock behaviour
Edit, duplicate, or delete doors
Enable or disable access points
Flash configured doors
Set waypoints
Teleport to doors
Bulk-edit multiple doors
No manual model hash or coordinate entry is required for normal setup.
Access Control
Doors can be restricted using ANY or ALL rule logic.
Supported access methods include:
Public access
Jobs and grades
On-duty requirements
Gangs and gang grades
Player identifiers
ACE permissions
Required inventory items
Physical keys
Metadata keycards
Clearance levels
Keypad PINs
Temporary visitor codes
One-time codes
Reusable access presets make common configurations faster.
Secure Keypads
The keypad system supports:
Configurable 4–8 digit PINs
Server-side PIN validation
Duress PINs
Temporary visitor codes
One-time codes
Attempt limits
Timed lockouts
Randomised keypad layouts
Success and error feedback
Custom keypad sounds
Detailed access logs
Incorrect PINs cannot be bypassed through unrelated job, item, or administrator permissions.
Keys and Keycards
Administrators can issue:
Door-specific keys
Building-group keys
Master keys
Door-specific keycards
Group keycards
Master keycards
Clearance-based cards
Expiring credentials
Credentials can include unique metadata and issuance history.
Schedules and Lockdowns
Doors can use:
Weekly schedules
Automatic opening and closing
Overnight schedules
Closed-day rules
Group lockdowns
Building-wide lockdowns
Global emergency lockdowns
Administrator lockdown controls
All schedule and lockdown activity can be logged.
Forced Entry
Configure immersive security breaches with:
Basic and advanced lockpicks
Multiple difficulty levels
Lockpick cooldowns
Police breaching charges
Temporary breach unlocks
Damaged door states
Repair kits
Alarm chances
Security reset timers
Dispatch alerts
All forced-entry actions are authorised and validated by the server.
Compatibility
Frameworks
✅ Qbox
✅ QBCore
✅ ESX
✅ Standalone fallback
Inventory
✅ ox_inventory
✅ qb-inventory
✅ qs-inventory
Dispatch
✅ ps-dispatch
✅ cd_dispatch
✅ core_dispatch
✅ Custom dispatch events
Libraries
✅ ox_lib
✅ oxmysql
✅ OneSync recommended
Configuration
Server owners can customise:
Door types
Door groups
Access rules
Jobs and gangs
Keypads and PIN behaviour
Keys and keycards
Credential expiry
Auto-lock settings
Door schedules
Lockdowns
Lockpicking
Breaching
Alarms
Repairs
Sound profiles
Interaction distances
Streaming distances
Dispatch integrations
Log retention
Admin permissions
Perfect For
Police stations
Hospitals
Businesses
Player properties
Government buildings
Restricted rooms
Garages
Gates
Vaults
Apartment complexes
Complete building access systems
Support
Need help?
Join our Discord community for support, updates, and announcements.