Door Locker

Door Locker

Adds the ability to lock doors, trapdoors, fance gates, levers and buttons. You can also make animated doors.

by
7.1K Downloads
datapackfabricforgequiltgame-mechanicsutility
Rent Server with this Mod

Screenshots

Animated Doors

About this Mod

Description

This datapack adds the ability lock doors, trapdoors, fance gates, levers and buttons.
You can also make animated doors.

Recipes

Door Locker

Door Locker recipe

Sets the password for supported blocks. Before use, you must rename on the anvil. Must be applied on the inside of the block.

The locker owner can always open their locks without a password!

Tip: If you remove the name (just set the name as a space) then Door Locker will not have a password, which is good for double doors if you don't need a password.

Animated Door

enter image description here

Turns a locked door into an animated version of the door. Doesn't change password. After that, the door cannot be opened / closed using redstone or villagers.

Works for doors only.

Delocker

enter image description here

Allows the owner of the lock to completely remove the lock from the block. Door Locker will not be returned. When removing a lock from an animated door, the doors will be dropped as items.

For mapmakers

You can use this datapack in your project, just provide a link to this page in credits.

You can use any item with custom text in the item name as a key.

You can get Door Locker with key name in two ways:

  • Take your key to the door in your main hand and run this command in chat:
loot give @s loot door_locker:door_locker
  • Take your key in the second hand, and Door Locker in the main hand, then run this command in chat:
item modify entity @s weapon door_locker:copy_name

Also available such modifiers for keys:

Make the key one-time use:

item modify entity @s weapon door_locker:melt

Remove password for Door Locker:

item modify entity @s weapon door_locker:unlock

Remove password for Door Locker but without sounds and particles:

item modify entity @s weapon door_locker:unlock/no_sound

You can apply multiple modifiers to keys. The modifier will only work if the password matches. Door Locker checks only iten Name and does not check ID, Lore and any other data.

Available Versions

Door Locker 1.7release
MC 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2-pre1, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3-pre1, 1.20.3-pre2, 1.20.3-pre3, 1.20.3-pre4, 1.20.3, 1.20.4, 23w51a, 23w51b, 24w03a, 24w03b, 24w04a, 24w05a, 24w05b, 24w06a, 24w07a, 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5-pre1, 1.20.5-pre2, 1.20.5-pre3, 1.20.5-pre4, 1.20.5-rc1, 1.20.5-rc2, 1.20.5-rc3, 1.20.5, 1.20.6, 24w18a, 24w19a, 24w19b, 24w20a, 24w21a, 24w21b, 1.21-pre1, 1.21-pre2, 1.21-pre3, 1.21-pre4, 1.21-rc1, 1.21, 1.21.1, 24w33a, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a, 24w40a, 1.21.2-pre1, 1.21.2-pre2, 1.21.2, 1.21.3, 24w44a, 24w45a, 24w46a, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8datapack
January 27, 2026
Door Locker v1.6release
MC 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
February 10, 2025
Door Locker v1.5.01 (1.20.2 only)release
MC 1.20.2datapack
December 29, 2023
Door Locker v1.5release
MC 1.20.3, 1.20.4fabric, forge, quilt
December 25, 2023
Door Locker v1.5release
MC 1.20.3, 1.20.4datapack
December 25, 2023

How to Install Door Locker on Your Server

1

Order Server

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

2

Set datapack Loader

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

3

Install Mod

Open the mod browser in the dashboard and search for "Door Locker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgequilt

Minecraft Versions

1.21.8, 1.21.7, 1.21.6 (+81 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Door Locker server crashes on startup – what to do?

Most common cause: wrong datapack 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.8). You can switch loaders with one click in the panel.

Is Door Locker compatible with datapack and fabric and forge and quilt?

Door Locker officially supports datapack, fabric, forge, quilt for Minecraft 1.21.8, 1.21.7, 1.21.6. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Door Locker – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Door Locker 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 Door Locker 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
GNU General Public License v3.0 only
Server-side
Required

Supported Versions

1.21.81.21.71.21.61.21.51.21.424w46a24w45a24w44a1.21.31.21.2+74 more