
Lockable
Adds locks and keys to allow players to protect their items, or steal from others.
Screenshots






About this Mod

About
Lockable is a mod that adds locks and keys to allow players to protect their items, or steal from others. Lockable focuses on balance and integration into Minecraft, trying to feel like it belongs in the game.
Configuration
You can configure the mod by editing lockable/config.json in the config folder of your Minecraft directory.
Features
Scrap Lock
In an anvil, name the scrap lock to something no one else will know, like a password. Then, right-click any lockable container block to place the lock on!

Golden Key
In an anvil, name the golden key to the same name as the scrap lock you want to unlock. Then, right-click the container with the lock on to unlock or lock it.

Locked Blocks
When a block is locked, it cannot be mined or interact with a hopper. However, the chest is still vulnerable to explosions!


Keychain
The keychain can be found in the chests within a Nether fortress. By default, the keychain can hold up to 6 golden keys in it. It functions similarly to a bundle. You can use it instead of a golden key on a locked block to unlock / lock it, so long as the relevant key is contained!

Bone Key
A bone key is a rare type of key that can only be found in suspicious sand or gravel. It's a very flimsy key and oddly shaped. By default, it has a 30% chance not to break on use. Once used on any lock, it will unlock or lock it. Think of this as a lock pick!

Weathered Lock
A weathered lock is rare type of lock that is only found in ocean ruins or ship wrecks. The weathered lock is unable to be locked or unlocked by any key other than the bone key.


Available Versions
How to Install Lockable on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set quilt Loader
In the panel under "Egg", select the quilt loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Lockable". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.21
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lockable server crashes on startup – what to do?
Most common cause: wrong quilt 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 (1.21.1). You can switch loaders with one click in the panel.
Is Lockable compatible with quilt?
Lockable officially supports quilt for Minecraft 1.21.1, 1.21. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lockable – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lockable 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 Lockable with just one click on your server.