Lockkey

Lockkey

Modern Fabric Minecraft mod for Locks, Keys and other things

by
933 Downloads
fabricgame-mechanicsmanagementstorage
Rent Server with this Mod

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_lockable Gamerule to enable every block being lockable, not just the ones in the lcokkey:lockable block tag
    • use keys with matching groove data to enable interaction / attacking / breaking with that block or entity
    • for now (WIP) use the /lock commands 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

Lock And Key 0.1.3beta
MC 26.1.1, 26.1.2fabric
May 26, 2026
Lock And Key 0.1.2beta
MC 26.1.1, 26.1.2fabric
May 16, 2026
Lock And Key 0.1.1beta
MC 26.1.1, 26.1.2fabric
May 16, 2026
Lock And Key 0.1.0beta
MC 26.1.1, 26.1.2fabric
May 15, 2026
Lock And Key 0.0.1alpha
MC 26.1.1, 26.1.2fabric
May 3, 2026

How to Install Lockkey on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

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

fabric

Minecraft Versions

26.1.2, 26.1.1

Server-side

Required

Recommended 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.

Rent Modded Server

Install Lockkey with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.1