Command Binds
一个轻量级的 Minecraft 客户端模组,允许你通过简洁的游戏内 GUI 将键盘按键映射到任意命令或聊天文本。无需编辑配置文件,也无需进入模组菜单——只需按下“V”键,设置好绑定即可使用。仅适用于客户端,在任何服务器上均可安全使用。
功能特性
- 绑定任意按键:支持
/command或普通聊天消息 - 游戏内 GUI:按“V”键打开(可在控制设置中重新绑定)
- 可滚动的绑定列表:带有颜色编码的徽章(绿色 = 命令,灰色 = 消息)
- 直接编辑或删除:可从列表中直接编辑或删除现有绑定
- 配置持久化:绑定在重启后依然保留,保存至
config/commandbinds.json - 支持单人游戏和多人联机
使用方法
| 操作 | 方法 |
|---|---|
| 打开 GUI | 在游戏中按下“V” |
| 添加绑定 | 输入文本或 /command → 点击“Pick Key” → 按下所需按键 → 点击“Add” |
| 编辑绑定 | 点击列表中的任意行 —— 内容会重新加载到输入框中 |
| 删除绑定 | 点击任意行上的“✗ Del”按钮 |
| 触发绑定 | 在未打开任何界面的情况下按下已绑定的按键 |
命令必须以“/”开头——模组会自动去除斜杠并通过命令通道发送。其他所有内容则作为普通聊天消息发送。
示例
| 按键 | 输入 | 结果 |
|---|---|---|
| F5 | /gamemode creative | 切换到创造模式 |
| F6 | /tp ~ ~50 ~ | 向上传送 50 格 |
| F7 | Hello everyone! | 发送一条聊天消息 |
| F8 | /kill | 立即死亡 |
配置
绑定存储在 .minecraft/config/commandbinds.json 中,并在启动时自动加载。如有需要,你可以手动编辑该文件——其格式非常简单:
{
"binds": [
{
"keyCode": 294,
"text": "/gamemode creative",
"label": "/gamemode creative"
},
{
"keyCode": 295,
"text": "Hello everyone!",
"label": "Hello everyone!"
}
]
}
keyCode 值对应于 GLFW 键码。
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
- Bind any key to a /command or plain chat message
- In-game GUI - open with "V" (rebindable in Controls settings)
- Scrollable binds list with color-coded badges (green = command, gray = message)
- Edit or delete existing binds directly from the list
- Persistent config - 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 "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.
下载 Command Binds
下载 Command Binds
下载 Command Binds
下载 Command Binds
下载 Command Binds
下载 Command Binds
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Command Binds
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧