Installation Guide
Follow these steps to install and configure cd_doorlock correctly.
1.Download
1. Download your resource from FiveM’s Portal.
2. Unzip the cd_doorlock.zip folder and place this folder in your server's resource folder.
Add the resource to your server start config (
server.cfg). Make surecd_doorlockis listed below your framework resource e.g., es_extended, not above it.
ensure es_extended
ensure cd_doorlock3. Configure Resource
You must review all configurable options in [cd_dispatch3d/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 sections are under the Framework and Important categories 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.

5. Move the JSON Files
Why do we do this?
Because the
door_data.jsonand the other JSON files contain your server's door data (basically your door database). When existing customers update to a new version, we don't want you to accidentally overwrite your saved door data.
First time installing this script?
YES: You must complete this step — the script won’t work otherwise.
NO: Do not do this step, or you’ll lose all your existing door data.
Instructions
Go to [cd_doorlock/JSON files/INSTALLATION STEP FROM DOCS].
Copy the following:
door_data.jsonlocation_groups.jsonFolder:
import_locations
Paste them into your [JSON files] folder.
That’s it — installation done!
Last updated
Was this helpful?


