Follow these steps to install and configure cd_doorlock correctly.
1
1. Codesign Bridge
Framework, Database, and Integration Handling
This resource requires cd_bridge to be installed and running before it can function.
cd_bridge is drag-and-drop and requires no configuration or file editing.
It handles framework connections, database setup, and error handling behind the scenes. When the bridge starts, it automatically detects and initializes all compatible resources — including all Codesign scripts and any Codesign-compatible scripts you have installed.
In your server’s resources directory, create a folder named [codesign] if it does not already exist
Place cd_dispatch3d (and all other Codesign resources) inside the [codesign] folder
Example resources folder with a [codesign] directory
3
3. Configure Resource
Review and Adjust config.lua Options
You must review all configurable options in [cd_doorlock/configs/config.lua] and adjust them to suit your server’s needs.
Be sure to read the commented help text at the end of each line — it explains the purpose of each configuration option.
The most important config options are in the Important category at the top of config.lua.
All other settings are optional.
4
4. Configure Key Binds
Before Starting the Resource
Before launching this resource on your main or live server, we strongly recommend configuring your key binds, as this resource uses FiveM’s Key Mapping system.
Where Can I Configure My Key Binds?
You can configure all key binds directly in [cd_doorlock/configs/config.lua].
Why Is This Important?
Once a player joins your server with this resource running, you can no longer force key bind changes through the config file — players must adjust them manually through the in-game pause menu settings.
However, any changes you make will still apply to new players who join afterward.
This system is more optimized and gives players the flexibility to customize their key binds for both keyboard and controller use.
You can also review the Default Keybinds provided with this resource.