Skip to main content

Installation

1. Install the Resource

Place the resource in your FiveM resources directory:

resources/[nord]/nord_doorlock

Keep the resource folder name as:

nord_doorlock

2. Start the Resource

Add to server.cfg:

ensure nord_doorlock

When using optional integrations, start them before Nord Doorlock. Example:

ensure oxmysql
ensure ox_lib
ensure ox_target
ensure nord_doorlock

Only include resources you actually use.

3. Administrator Permission

The default administrator ACE is:

Config.AdminAce = 'nord.doorlock.admin'

Example:

add_ace group.admin nord.doorlock.admin allow

Framework administrator groups can also be accepted through:

Config.AdminGroups = {
    admin = true,
    superadmin = true,
    god = true
}

4. Select Storage

Default:

Config.Storage = 'json'

This uses FiveM Resource KVP as the authoritative persistence source and mirrors the data to JSON files.

For MySQL:

Config.Storage = 'mysql'

Start oxmysql before Nord Doorlock. The table is automatically created.

An optional SQL installer is also provided:

sql/install.sql

5. Start and Verify

Restart the resource:

restart nord_doorlock

Then check persistence health:

doors_storage

A healthy result should report that storage is ready and show no active error.

6. Open the Door Manager

In game:

/doors

If the menu does not open, verify your ACE or framework admin group.