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 Páginas
Agency-Doorlock

01 Instalación

Colocar el recurso en tu carpeta resources
Importar sql/install.sql (o dejar que la tabla se cree automáticamente en el primer inicio)
Añadir ensure Agency-Doorlock a server.cfg
Configurar config.lua (idioma, tecla de interacción, permiso de configuración)

Dependencias

  • oxmysql — requerido
  • ox_target o qb-target — opcional
  • ESX / QBCore / QBox — opcional

Archivo SQL

Importa este archivo SQL en tu base de datos antes de iniciar el recurso:

⬇ 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;

¿Necesitas ayuda? ¡Únete a nuestro Discord!

Unirse a Discord