Advanced Search
Search Results
82 total results found
Server Exports
Server exports provide the authoritative developer API. API version: local version = exports.nord_doorlock:GetApiVersion() Current API version returned by the resource: 1 GetApiVersion local version = exports.nord_doorlock:GetApiVersion() Returns a number. IsR...
Client Exports
Client exports are intended for local door lookup, UI integrations and server-authoritative action requests. Do not use client exports as a security boundary. GetApiVersion local version = exports.nord_doorlock:GetApiVersion() GetDoor local door = exports.nord...
Authorization Hooks
Authorization hooks allow another server resource to extend or override door access without modifying Nord Doorlock. Supported hook event: doorAuthorization Basic Example local hookId = exports.nord_doorlock:RegisterHook( 'doorAuthorization', function(...
Door Data Structure
A Nord Doorlock door is represented as a Lua table. Example — Single Door { id = 1, name = 'Police Front Door', distance = 2.0, autoLock = 0, locked = true, defaultLocked = true, parts = { { model = 123456789, ...
Integration Examples
Lock a Door From Another Server Resource local success, result = exports.nord_doorlock:LockDoor(12) if not success then print(('Failed to lock door: %s'):format(result)) end Unlock a Door Temporarily If the door has an auto-lock delay, using UnlockDoo...
Operations
Operations documentation for Nord Doorlock.
Duplicate Door Protection
A physical GTA door object must only be owned by one Nord Doorlock definition. Duplicate registrations can create conflicting DoorSystem states where one definition unlocks the object while another keeps it locked. Nord Doorlock includes protections for this p...
Security Model
Nord Doorlock treats the server as authoritative for security-sensitive door actions. Server-Side Validation Normal player toggle requests are validated for: Door existence Rate limiting Player proximity Door access rules Authorization hooks Lockpick requests ...
Troubleshooting
/doors Does Not Open Check: add_ace group.admin nord.doorlock.admin allow Confirm: Config.AdminAce = 'nord.doorlock.admin' If using framework groups, verify Config.AdminGroups. Door Disappears After Restart Run: doors_storage Check that: ready=true error=none...
FAQ
Does Nord Doorlock require ox_doorlock? No. Does it require a database? No. Default persistence uses FiveM KVP with JSON mirrors. Can I use oxmysql? Yes. Config.Storage = 'mysql' Can one entry contain two physical doors? Yes. Capture Door 1 and Door 2 in the w...