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.

v1.1.0Free5 Pages
Agency-Doorlock

01 Installation

Placer la ressource dans votre dossier resources
Importer sql/install.sql (ou laisser la table se créer automatiquement au premier démarrage)
Ajouter ensure Agency-Doorlock dans server.cfg
Configurer config.lua (langue, touche d'interaction, permission de configuration)

Dépendances

  • oxmysql — requis
  • ox_target ou qb-target — optionnel
  • ESX / QBCore / QBox — optionnel

Fichier SQL

Importez ce fichier SQL dans votre base de données avant de démarrer la ressource :

⬇ doorlock.sql
-- 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;

Besoin d'aide ? Rejoignez notre Discord !

Rejoindre Discord