This door lock script gives you far greater control over how you players can gain access through doorways.
You can restrict door lock usage to job type and rank, using items to unlock, or you can use basically any minigame with a callback.
Each door is highly configurable,
allowing you to set values such as break-in minigame difficulties, raid access for certain jobs, and whether or not the door can be broken into using minigames.
Multiple door control from a single access point, with only one set of drawtext/interact text per set of doors.
A shop where you can sell keys is also included in this mod (and you can also add as many other shops as you might want), with a neat and functional UI frame.
Shop keys are also restricted by job rank and grade, allowing you to make job-specific keys available for purchase.
Configurable options for chunking of door locations, giving you greater control over resource responsiveness and resource usage.