Standalone
Agency-Doorlock
The smartest way to lock down your city. Agency-Doorlock turns any door into a secure, persistent lock with effortless in-game setup — aim at a door, press E, done (double doors auto-pair). Open via the [E] prompt or with ox_target / qb-target. Control access by job + grade, gang + grade, specific players, or leave it open to everyone. Locked doors physically stay shut (native door system), every lock state is saved to the database and synced to all players, and every action is validated server-side. Sleek glassmorphism setup UI, 25 languages, QBCore / QBox / ESX / Standalone — auto-detected.

01 Installation
Die Resource in deinen resources-Ordner legen
sql/install.sql importieren (oder die Tabelle beim ersten Start automatisch erstellen lassen)
ensure Agency-Doorlock in server.cfg hinzufügen
config.lua konfigurieren (Sprache, Interaktionstaste, Setup-Berechtigung)
Abhängigkeiten
oxmysql — erforderlichox_target oder qb-target — optionalESX / QBCore / QBox — optional
SQL Datei
Importiere diese SQL-Datei in deine Datenbank bevor du die Ressource startest:
-- 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;