HomeJavaModsCommand Binds
Command Binds
ModsJava

Command Binds

by CardeJIbka · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.2⬇ Download for 1.21.11⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21.6–1.21.8⬇ Download for 1.21–1.21.5
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Command Binds — screenshot 1

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


Usage

Action How
Open the GUI Press V in-game
Add a bind Type text or /command → click Pick Key → press the desired key → click Add
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:

{
  "binds": [
    {
      "keyCode": 294,
      "text": "/gamemode creative",
      "label": "/gamemode creative"
    },
    {
      "keyCode": 295,
      "text": "Hello everyone!",
      "label": "Hello everyone!"
    }
  ]
}

keyCode values correspond to GLFW key codes.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more