Standalone
Agency-Doorlock Installation
The smartest way to lock down your city. Agency-Doorlock turns any door into a secure, persistent lock with effortless.
v1.1.0Free5 Pages

01Installation
- 1Place the resource in your resources folder
- 2Import sql/install.sql (or let the table auto-create on first start)
- 3Add ensure Agency-Doorlock to server.cfg
- 4Configure config.lua (language, interaction key, setup permission)
02Dependencies
oxmysql (required)ox_target or qb-target (optional)ESX / QBCore / QBox (optional)
03SQL File
Import this SQL file into your database before starting the resource:
-- Agency Doorlock — database table (auto-created on first start, this is a manual fallback)
CREATE TABLE IF NOT EXISTS `agency_doorlock` (
`id` INT NOT NULL AUTO_INCREMENT,
`label` VARCHAR(64) NOT NULL DEFAULT 'Door',
`locked` TINYINT(1) NOT NULL DEFAULT 1,
`doors` LONGTEXT NOT NULL,
`access` LONGTEXT NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;