Interactive RedM door lock system with job/gang/item permissions, lockpicking, database persistence, and an in-game visual door editor (/doorlock) for Wraith Framework RedM.
- Lock/unlock single and double doors across the RedM map (press
J). - Job, grade, gang, citizen, and item-based access control.
- Built-in lockpicking support.
- In-game admin board and door picker (
/doorlock) backed by thew_doorlockMySQL table.
- Place
w_doorlockinresources/[wraith]/w_doorlock. - Add
ensure w_doorlocktoserver.cfgafterw_libandw_core.
-- 1 = locked, 0 = unlocked
exports.w_doorlock:setDoorState(doorId, 1)
local door = exports.w_doorlock:getDoor(doorId)
local byName = exports.w_doorlock:getDoorFromName('valentine_sheriff_cell_1')
local closest = exports.w_doorlock:getClosestDoor()- Developer Docs: https://wraith-core.github.io/docs/#/resources/interface-world
- txAdmin Recipe: https://github.com/Wraith-Core/txAdminRecipe
- Credits: See CREDITS.md
GPL-3.0 — see LICENSE.