Description


CodeRanch DoorLock


Production-Ready Door Lock & Creator System for RedM


CodeRanch DoorLock is a comprehensive and production-ready door lock and door creator system for RedM! Built specifically for VORP and RSG frameworks, this powerful system provides everything you need to secure buildings, create custom door configurations, and manage access control with ease. With a full in-game admin builder, PIN keypad authentication, time-based access windows, and lightning-fast syncing, your server's security and door management will never be the same. Here's what this script has to offer:


In-Game Admin Builder


Create, edit, and delete doors entirely in-game with live capture and preview functionality. No more tedious config editing or coordinate hunting—simply point, click, and configure your doors with an intuitive visual interface that makes door creation effortless.


Advanced Access Control


Multiple access methods including Jobs, Groups, Individual Owners, PIN keypad authentication, and time-based access windows. Configure exactly who can access which doors and when, creating flexible security solutions for any scenario.


PIN Keypad System


Secure your most important locations with PIN code protection. Players must enter the correct PIN to unlock designated doors, adding an extra layer of security for banks, vaults, and private properties.


Multiple Door Types Supported


Support for standard doors, sliding doors, gates, trapdoors, and rotating doors with customizable options. Handle any door configuration your server needs with specialized settings for each door type.


30+ Preconfigured Doors


Includes 30+ ready-to-use door configurations in Config.DoorList that are automatically imported to the database. Get your server secured quickly with popular locations already configured and ready to go.


Time-Based Access Windows


Configure doors to automatically lock and unlock based on time of day. Perfect for businesses with operating hours, government buildings, or any location that should have restricted access during certain times.


Discord Audit Logging


Complete audit trail sent to Discord webhooks tracks all door interactions, lock/unlock events, and administrative actions. Monitor your server's security and catch unauthorized access attempts.


Optimized Performance


Incredibly efficient with only 0.1-0.3ms resource usage. Fast syncing ensures doors respond instantly to lock/unlock commands without lag or delays, even on busy servers.


Multi-Language Support


Includes 7 locales out of the box: English, Turkish, Dutch, German, French, Spanish (Mexico), and Portuguese (Brazil). Make your server accessible to players worldwide.


Integration Exports


Comprehensive server-side exports allow other scripts to check door status, lock/unlock doors, grant temporary access, and more. Seamlessly integrate door locks into your existing systems and scripts.


Temporary Access System


Grant time-limited access to specific players for maintenance, deliveries, or temporary permissions. Access automatically expires after the specified duration.


Legacy Compatibility


Supports legacy config compatibility with object/object2 format, making migration from other door lock systems smooth and hassle-free.


Why Choose This Script?


* Fully optimized with 0.1-0.3ms resource usage and instant door syncing.

* Regular updates and premium support via Discord.

* Easy to set up with in-game builder and preconfigured doors.

* Perfect for serious RedM roleplay servers running VORP or RSG Core.


Transform your RedM server's security and door management with CodeRanch DoorLock. Whether you're securing a bank vault, managing business hours, or creating complex access control systems, this script provides everything needed for professional door lock functionality. Get it now and take control of your server's security!


Commands:

/doorlock - Open the admin builder

/editdoor - Edit the closest door

/togglelock - Toggle the closest door

ALT - Toggle the closest door (configurable)

Related Scripts