OCT_DOORS
This script receives regular updates and support.
Feature requests and support are handled through DISCORD ← Click here to join
Feature requests and support are handled through DISCORD ← Click here to join
Description
OCT_DOORS is a flexible door lock and creator system for RedM. It lets authorized staff create, configure, and delete doors directly in game without manually copying coordinates or writing a separate configuration for every door.
Create anything from a simple locked door to a synchronized multi-door entrance, then decide who can use it. Doors can be public, restricted to specific jobs, or require an inventory item to unlock. Every door set is stored in the database and synchronized for all players.
What Players Experience
- Synchronized locked and unlocked door states for all players
- Clear interaction prompts showing the door name and current state
- Optional hidden prompts for clean and immersive interactions
- Configurable interaction distance for every door set
- Job-restricted, item-locked, or fully public doors
- Immersive unlocking animation with a configurable key prop
- Single doors and multi-door entrances that operate as one set
In-Game Door Creator
- Create doors with the configurable /createdoor command
- Aim at door objects and select them directly in the world
- Combine up to four door objects into one set by default
- Set the door name, initial lock state, and interaction distance
- Show or hide the interaction prompt
- Add one or multiple authorized jobs
- Set an optional required inventory item
- Choose whether the required item is kept or consumed on unlock
- Find and safely remove nearby saved doors with /deletedoor
Access Control
- Public Doors: leave the job list empty to allow everyone access
- Job Doors: allow one or multiple configured jobs to use a door
- Item Doors: require a key or any other configured inventory item to unlock
- Consumable Keys: optionally remove one required item after a successful unlock
- Admin Bypass: optionally allow authorized staff to use every door
- ACE Support: configure an ACE permission for door administration
- Lockpick System: Supports Multiple Doorlock Systems (lockpick(VORP), rsg-lockpick, rsd_lockpick, bcc-minigames, SS-Lockpick or custom integrations -> Soon Custom Lockpick)
Door Compatibility and Synchronization
- Supports any RedM door-system objects
- Persistent lock states stored with oxmysql
- New, deleted, and toggled doors synchronize with all connected players
- Door states are restored when the resource starts and when a character loads
- Distance-based streaming and configurable refresh intervals for efficient operation
Framework Support
- Built-in support for VORP
- Built-in support for RSG Core
- Included custom bridge functions for your own framework
- Framework-aware permissions, jobs, inventory checks, item removal, and notifications
Configuration Highlights
- Change the create and delete commands
- Configure allowed roles or Ace Permission
- Choose the default lock state and default interaction distance
- Define selectable distance options and the maximum doors per set
- Customize all controls, menu titles, prompts, and state labels
- Fully configure or disable the key animation and attached prop
- Tune selection, creation, deletion, streaming, refresh, and cooldown distances
- Add Lockpicks to doors
- Job Doors
Dependencies
- jo_libs for menus, prompts, and input dialogs
- oxmysql for persistent door storage
- VORP, RSG Core, or your own framework through the included custom bridge
Includes
- In-game door creator and deletion menus
- Framework and inventory bridge
- Editable configuration file
- Ready-to-import SQL file