Command Binds
Bind any key to a command or chat message — trigger it with one keypress
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Command Binds
Command Binds
A lightweight client-side mod for Minecraft that lets you map keyboard keys to arbitrary commands or chat text through a clean in-game GUI. No config file editing, no mods menu required — just press `V`, set up your binds, and go. Client-side only — safe to use on any server
---
Features
- singleplayer and multiplayer to a `/command` or plain chat message - singleplayer and multiplayer — open with `V` (rebindable in Controls settings) - singleplayer and multiplayer with color-coded badges (green = command, gray = message) - singleplayer and multiplayer existing binds directly from the list - singleplayer and multiplayer — binds survive restarts, saved to `config/commandbinds.json` - Works in singleplayer and multiplayer
---
Usage
| Action | How | |---|---| | Open the GUI | Press `V` in-game | | Add a bind | Type text or `/command` → click ✗ Del → press the desired key → click ✗ Del | | Edit a bind | Click any row in the list — it loads back into the input fields | | Delete a bind | Click ✗ Del on any row | | Trigger a bind | Press the bound key while no screen is open |
Commands must start with `/` — the mod strips the slash and sends them via the command channel automatically. Everything else is sent as a regular chat message.
---
Examples
| Key | Input | Result | |---|---|---| | `F5` | `/gamemode creative` | Switches to Creative mode | | `F6` | `/tp ~ ~50 ~` | Teleports 50 blocks up | | `F7` | `Hello everyone!` | Sends a chat message | | `F8` | `/kill` | Instant kill |
---
Config
Binds are stored in `.minecraft/config/commandbinds.json` and are loaded automatically on startup. You can edit the file manually if needed — the format is straightforward:
```json { "binds": [ { "keyCode": 294, "text": "/gamemode creative", "label": "/gamemode creative" }, { "keyCode": 295, "text": "Hello everyone!", "label": "Hello everyone!" } ] } ```
`keyCode` values correspond to GLFW key codes.