Our website has moved! For a better experience, visit tgiann.com.
Close
Door Lock

ShowCase

tgiann-doorlock is a fully configurable door lock and access control system designed for FiveM servers.

Instead of managing doors through large config files and restarting the server after every change, the entire system can be managed directly in-game through an admin panel. Doors can be created with freecam, edited live, grouped, duplicated, assigned presets, and updated instantly for all players.

The system supports everything from simple job-based doors to advanced keypad, lockpick, business, Discord role, item, and character-based access setups.

Main Features

  • In-Game Admin Panel - Create, edit, duplicate, delete, import, export, and manage doors directly in-game without editing config files.

  • Freecam Door Creation - Fly around with freecam, select door objects directly, highlight targets, and create single or double doors quickly.

  • Live Door Editing - Changes are instantly synced to all players without requiring a server restart.

  • Preset System - Create reusable presets for interaction, access, lockpick, schedules, sounds, or complete door configurations.

  • Advanced Access Rules - Control access using jobs, grades, businesses, items, character IDs, ACE permissions, Discord roles, or unrestricted access.

  • Flexible Access Logic - Configure whether any access rule is enough, all rules are required, or specific rules must always be satisfied.

  • Real Keypad System - Place an interactive keypad beside doors with clickable buttons, keyboard support, sounds, visual feedback, attempt limits, lockouts, and optional police alerts.

  • Lockpick System - Allow selected doors to be lockpicked with configurable items, minigames, break chances, and police alert chances.

  • Opening Hours - Automatically unlock or lock doors based on configured server times.

  • Door Groups - Group multiple doors together and control them at once, perfect for lockdown systems and restricted areas.

  • 3D Prompt System - Interaction text follows the actual door position and works correctly with sliding doors, barriers, and double doors.

  • Target Support - Use the default 3D interaction system or integrate with ox_target and qb-target.

  • Door Knock System - Players can knock on locked doors with animations and positional sounds that nearby players can hear.

  • 3D Door Sounds - Lock, unlock, and knock sounds use directional 3D audio with distance-based volume.

  • Normal, Sliding & Barrier Doors - Support standard doors, sliding gates, garage doors, and barriers with specific behavior settings.

  • Automatic Locking - Doors can automatically relock after a configurable amount of time, with timers preserved through restarts.

  • Keycard Animations & Custom Keybinds - Includes door interaction animations, customizable keybinds, and fully editable notifications.

  • Unowned Business Support - Business doors can automatically remain accessible when a business has no owner or employees, allowing players to enter and purchase it.

  • ox_doorlock Import - Existing ox_doorlock doors can be imported with a command.

  • Door Duplication & Settings Copy - Duplicate complete doors or copy selected settings and apply them to other doors.

  • JSON-Based Door Storage - Door data is stored server-side in data/doors.json and can be imported or exported between servers.


Admin Panel

  • Easily create and edit doors directly from the in-game Admin Panel without dealing with config files.
  • After creating a door for a specific job or use case, you can save its complete setup as a preset, or create separate presets for categories such as Access Rules.
  • If you do not want to use presets, you can simply copy a door’s settings and paste them onto other doors, or create a new door directly using the copied configuration.

c630f5576d175147d745fff87ef6a0f04181dcc7.png

1b0e09cf43a14aee2b0e708a7c4fdcf488eb4067.png

a779d9a0f7320d167c708fac4934aa307d9f9eaf.png

Preset System

  • Create reusable presets so you do not have to configure the same door settings again and again.
  • The system includes two preset types:
    • Full Preset - Saves and applies the complete door configuration.
    • Category Presets - Create separate presets for individual setting categories.
  • Using a preset does not lock the door configuration. You can enable Override for specific settings and customize them separately for that door.
  • Presets make it much easier to manage repeated setups such as job doors, business doors, and other shared access configurations.

a1161b1c0107c3e2cac9aaa42083481ee9a0461a.png

af40e55be6f5ed77857b6bff956daf027fcd18db.png

213d61cad840cd65b5d64d121903f8e9b28759d8.png


Door Access Settings

  • Configure exactly who can interact with each door using flexible access rules.
  • Access options include jobs, tgiann-core player-ownable businesses, required items, character Citizen ID or License ID, ACE permissions, and Discord roles.
  • You can also allow the door to be used by everyone, while blocking specific jobs from interacting with it.
  • Access rules support two different logic types. You can require any enabled rule to match, or require all enabled rules to match before the player can use the door.

2c73e94ffb8e82a7422d3af5bba351c7d2c5d6f1.png

070af5b20812278eb247d5381718acdfb6eea85a.png


Passcode Keypad

  • Add passcodes to doors as an additional security layer. Players can be required to both match the configured Access Rules and know the correct passcode.
  • You can also configure a door for Everyone and use the passcode as the main access requirement.
  • The keypad is not a simple UI popup. It uses a real 3D world interaction, allowing players to enter the code directly through the keypad placed next to the door.

0e1a016bfa95e2c7f944d7212d0206ce6f82d604.png

a6cb3e53b5e661bf1f00c6a3944b8dceca356b24.png

b99c5817b9f9f1f39d468afe121d2ab6e3be7df5.png

7d5da63bb011c7f797848c6940617b9773c525de.png

ff0ddf8dc89e35434ba03616f856c2165af5fcf8.png

7ef40a3b012d42531f7002520e5eaa9ac6f64e7e.png


Opening Hours

  • If you want a location to remain inaccessible outside certain hours, you can configure its doors to work only within a specific time range.
  • Doors can automatically unlock and lock at the hours you define, making them ideal for businesses or locations with scheduled opening times.

81e7f4680ed9e1ee44f32f663648919efa4e7947.png


Lockpicking System

  • Configure selected doors to be lockpickable using specific items.
  • You can decide whether required items are removed after use, require multiple different items, or allow lockpicking without any item requirement.
  • Different minigames can be assigned per door through the editable files.
  • Add an optional preparation progress bar before the minigame starts.
  • Configure the chance of notifying the police after a lockpick attempt.
  • You can also set the chance of required items breaking after the minigame.

f3d876e0e3efd3b4f35dd29d81577043e8b17c78.png

517f2b97f5cf49477467f562fda3ea26b66a7f5a.png

0461f33ac1c512306790587068bdf6ccf1e4a09e.png

e4d3103d8c8dd0ecf27d419eb08785aa2a594aba.png


Door Knock System

  • Configure selected doors as knockable directly from the Admin Panel.
  • When a player knocks on the door, a 3D positional sound is played from the actual door location.
  • Because the sound comes from the door itself, it feels natural and directional instead of sounding like a generic sound playing inside the player’s head.

c82dafb5e4c69109047cab709d4a788801f83c15.png

5e619f373b58ae11296455a8c7e04ec3c07e6802.png


Hold Open When Unlocked

  • For sliding doors and gates, you can configure them to remain open while they are unlocked.
  • This is useful for garages, barriers, and entrances that should stay open until they are locked again.

b76bd7a76160eb8dc1b111df0478ae2a1ee1f83e.png


Lock & Unlock Sounds

  • Configure separate lock and unlock sounds for each door.
  • Sounds can be customized individually per door or disabled completely when not needed.

5e2584ed2865e90fc106e4edf2fb7a271140bdcb.png

ox_doorlock Migration

  • Use the built-in migration command to transfer your existing ox_doorlock doors directly into tgiann-doorlock.
  • This makes it easy to switch systems without recreating all of your doors manually.

Requirements