KeybindingLocker is a minimal Fabric mod that allows server administrators to remotely lock specific keybind actions for all connected players.
For example, you can prevent players from opening chat, inventory, or using specific controls during events or custom gameplay scenarios.
- Minecraft 1.20.1
- Minecraft 1.20.4
- Install Fabric Loader and Fabric API.
- Download the mod
.jarfrom Modrinth or CurseForge. - Drop it into your
modsfolder on both client and server.
- Server config defines which keybinding actions (like
key.chat,key.inventory) are blocked. - When the server runs
/keybindinglocker lock, all clients receive the updated list and the matching keybinds are disabled. - Players cannot override the locked keys until the server unlocks them again.
- Roleplay servers where UI access needs to be restricted.
- Custom minigames where certain actions are temporarily disabled.
- Events where the player interface must be controlled.
Created by superstrellaa
Licensed under the GNU GPLv3.
This mod is free software — feel free to use, share, and improve it under the same license.