Installation Guide
Follow these steps to install and configure cd_doorlock correctly.
1. Download
Download your resource from FiveM’s Portal.
Unzip the
cd_doorlock.zipfolder and place this folder in your server's resource folder.
2. Bridge
This resource is the core of all Codesign scripts. It handles framework connections, database setup, and error handling behind the scenes. When the bridge starts, it automatically detects and starts every compatible resource—including all Codesign scripts and any Codesign-compatible scripts you have installed.
Download cd_bridge from FiveM’s Portal.
Add cd_bridge to your server start config (
server.cfg). Make surecd_bridgeis placed below your framework resource e.g., es_extended, not above it.
ensure cd_bridgeFor more information on how to install the bridge, check out the full guide.
3. Config.lua
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. 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_dispatch3d/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.

Last updated
Was this helpful?

