This Doorlock Code System is an addon for Ox_doorlock, designed for a single door β ideal for hidden gun markets, VIP rooms, or secret areas. Players discover clues, figure out the random code, and unlock the door using a sleek virtual keypad, while all attempts are logged to Discord.
Players uncover clues, piece together a random 4-digit code, and unlock the door through a sleek keypad β with every attempt logged to Discord. Best of all: the code automatically changes keeping things fresh and secure.
ποΈ Highlights
πΉ One Door, Fully Secured β works on a single configured ox_doorlock door.
πΉ Perfect for Hidden Locations β ideal for gun markets, VIP rooms, or escape rooms.
πΉ Random 4-Digit Code β resets automatically on a timer (default: 12 hours).
πΉ Clue Hunt β find props or floating 3D text revealing each digit of the current code.
πΉ Sleek Virtual Keypad β responsive, easy-to-use interface with sound effects & feedback.
πΉ Discord Logging β all unlock attempts (correct & incorrect) recorded with player details.
πΉ Automatic Relock β door re-locks after a short configurable delay.
πΉ Fully Customizable β props, clues, keypad location, timers & more.
π Features
β Works seamlessly with ox_doorlock & QBCore.
β Supports bothΒ ox_target and `[E]` key interaction.
β Code resets automatically based on your configured interval (minutes or hours).
β Players see clues via props or floating 3D text.
β Every attempt (success or fail) logs to Discord.
β Clean, immersive keypad UI with sound & feedback.
π Example Scenario
A player finds a secret room, inspects 4 clues (props or text) scattered nearby to learn the current code, then enters it on the keypad to unlock the door.
If correct: the door unlocks & logs to Discord.
If wrong: the failed attempt is still logged.
After a short time, the door re-locks.
Later, the code resets automatically β players will need to find the new clues!