Описание
# 🔒 KeybindingLocker – Server-Controlled Keybind Locking for Fabric
**KeybindingLocker** is a lightweight Fabric mod designed for server administrators and event organizers who need to remotely lock specific keybind actions on connected clients.
It enables fine-grained control over player inputs by disabling configurable keybinds during events or gameplay scenarios, enhancing server-side control without client-side mod dependency.
## ✨ Key Features
- ⛔ Server-Side Keybind Locking
> Block specific keybind actions like chat (`key.chat`), inventory, or other controls based on server configuration.
- 🔄 Real-Time Sync
> When activated via server commands, all connected clients receive updates and have the matching keys locked immediately.
- 🔧 Simple Configuration
> Define which keybind actions are locked through an easy-to-edit config file.
- 🎮 Enhances Custom Gameplay & Events
> Ideal for roleplay servers, minigames, or events where player controls must be limited temporarily.
## ⚙️ Compatibility & Requirements
> ✅ **Mod Loader**: Fabric
>
> 🧩 **Minecraft Versions**: Supports 1.20.1 and 1.20.4
>
> 📦 **Dependencies**: Fabric API
## 🔧 Use Cases
1. 🎭 Roleplay servers needing to restrict player UI or chat during scenes
2. 🎮 Minigames or custom events requiring temporary disabling of specific controls
3. 🛡️ Servers aiming to control player input for balance or narrative reasons
## 📌 Notes
- Requires both client and server installation for full functionality.
- This mod does not modify vanilla keybind behavior outside the server lock state.
## 🌐 Source Code & Contributions
This mod is open-source and available on [GitHub](https://github.com/superstrellaa/KeybindingLocker).
Contributions, bug reports, and feedback are welcome!