Compatibilité
- Frameworks
- Standalone
- Mode de jeu
- FiveM

Free download (ad supported)
Free downloads are supported by a brief ad page (Linkvertise) to keep this service running.
Serveur de production ?
Parcourez des scripts payants avec livraison instantanée, signaux de support et sans étape publicitaire.
Are you looking to manage server access efficiently during specific time periods? The trt_lockdown script is the perfect solution, allowing you to control who can connect to your server when you want to enforce lockdown periods. Here’s how you can install and configure this resource.
What is trt_lockdown?
The trt_lockdown script allows you to set designated lockdown hours for your server. During these hours, only players who are whitelisted can connect. This feature is particularly useful for server administrators who want to maintain oversight over player access during specific times.
Key Features
How to Install the trt_lockdown Script
Installing the trt_lockdown script is straightforward. Just follow these steps:
Download the Script: You can find the trt_lockdown script on GitHub. Make sure to download the latest version.
Place It in the Resource Directory: Once downloaded, place the script folder in your server’s resource directory. This is usually located in your server files.
Edit the Server Configuration: Open your server.cfg file and add the line:
start trt_lockdown
This command ensures that the script starts when your server runs.
config/server file within the trt_lockdown script folder. Here, you can specify the lockdown hours, allowed identifiers, and Discord role checks. Configuration Options
In the configuration file, you can set the following options:
Here’s an example of how the lockdown settings look in the configuration file:
return {
versionCheck = true,
lockdown = {
enabled = true,
kickAllPlayers = true,
from = { hour = 3, minute = 15 },
to = { hour = 17, minute = 30 },
},
allowedIdentifiers = {
-- Add player identifiers here
},
discord = {
token = false,
guildId = '',
allowedRoles = {
-- Add allowed role identifiers here
}
}
}
Additionally, you can set permissions for certain players to bypass the lockdown with the following commands:
add_ace identifier.discord:xxx lockdown.bypass allow
add_ace group.mod lockdown.bypass allow
Simply replace identifier.discord:xxx with the correct identifier for the player.
Usage
Once set up, the script will automatically manage server access according to the lockdown times you’ve specified. Players trying to connect during a lockdown will receive a rejection message unless they are on the whitelist.
With the trt_lockdown script, you gain full control over when and how players access your server, making it an excellent tool for enhancing your server management. Don't forget to check out the GitHub repository for any updates or further customization options. Happy gaming!
Premium Alternative
Get premium scripts with dedicated support, lifetime updates, and one-click installation.
Réponses rapides basées sur les informations publiées pour Lockdown Script.
Vous avez une autre question ? Consultez la description du mod ci-dessus pour plus de détails.
Découvrez plus de ressources pour votre serveur FiveM ou GTA 5.
Free mods are a good starting point. When your server needs stronger support, cleaner installs, and premium systems, move into the commercial hubs below.
Premium catalog
See paid scripts, framework labels, bundles, and install-ready products once the free version no longer covers your server needs.
Open premium shopMoney page
Add police, mechanic, gang, and economy systems around this mod with stronger commercial scripts.
See job scriptsLaunch faster
Bundles shorten setup time by grouping the highest-leverage systems into one commercial starting point.
View bundlesRédigé par l'équipe éditoriale FiveMX sur la base de l'artefact CitizenFX actuel et du framework cible — non copié du post original.
resources/[standalone]/lockdown-script sur votre serveur. Conservez le nom du dossier tel quel — la plupart des manifests le référencent directement.ensure lockdown-script à votre server.cfg.ensure lockdown-script dans la console en direct pour confirmer que le mod se charge sans erreurs rouges. Si vous rencontrez une erreur de dépendance, le mod a probablement besoin de ox_lib ou ox_inventory — installez-les d'abord, puis réessayez.D'autres mods gratuits populaires qui pourraient être utiles pour votre serveur.
Le téléchargement reste gratuit, mais comparez des scripts et packs serveur prêts pour la production avant d'intégrer cette ressource dans un serveur roleplay en ligne.

This mod will make the streets european (German Roads)! Hand-crafted mod, for your server. With the Roads mod, you'll experience an authentic European feel with every step you take. Hand-crafted with precision and attention to detail, this mod is designed to give your server a unique touch
4,49 $US
Voir le produit
FiveM Anticheat script/mod | OPTIMIZED and perfect for ESX detects modders and ban them instantly. Many server owners struggle because of cheaters, modders and hackers. There are a couple of hacks and mod menus for FiveM and money hacks for ESX framework. ? Hackers are quite annoying but the
21,99 $US
Voir le produit
The #1 FiveM Jobs Creator Script - that allows server administrators to easily create generic jobs with many customizable interaction points.
22,99 $US
Voir le produit
100 luxury residential properties in Mirror Park with detailed interiors, custom exteriors, optimized FiveM streaming, and housing-script compatibility.
6,99 $US
Voir le produit