
Lockkey
Modern Fabric Minecraft mod for Locks, Keys and other things
About this Mod
Lockkey
Lockkey is a Fabric mod that adds simple security mechanics for blocks and entities.
Features
- Lock and key system with items to control access to blocks and entities
- Add locks (with grooves data) to blocks and entities
- use the
lockkey:all_blocks_lockableGamerule to enable every block being lockable, not just the ones in thelcokkey:lockableblock tag - use keys with matching groove data to enable interaction / attacking / breaking with that block or entity
- for now (WIP) use the
/lockcommands to manage anything lock related, like setting grooves and managing lock states of entities and blocks manually
Requirements
- Fabric Loader
- Fabric API
Usage
Craft locks and keys to secure blocks and entities. This mod is still work in progress! Currently, you can only set
lock and key grooves by using the /lock commands!
Planned Features and Content
- Better locking of multi-blocks, like doors and double chests (potentially providing an easy-to-use Mod API for other mods / datapacks)
Anything else? If you have any ideas, please let me know and open an Issue on GitHub
Credits
The textures of the lock and the key items have been cleaned up by Aethyus.
Check them out!
Available Versions
How to Install Lockkey on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Lockkey". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lockkey server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Lockkey compatible with fabric?
Lockkey officially supports fabric for Minecraft 26.1.2, 26.1.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lockkey – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lockkey consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Lockkey with just one click on your server.