Download B1nd C0mmandz! — Minecraft Mods — ModStock
B1nd C0mmandz!

B1nd C0mmandz!

Active

Downloads

1

Last update

8 months ago

Versions

1.21.1 — 1.21.2
Client
Fabric
Social
Utils

Welcome to B1nd C0mmandz!

We noticed that Masa's MaLiLib provides a powerful system of keybinds and configs. So why not redesign those Mojang-based Command Macros/Keybinds to fit this wonderful system? Here comes this mod! If you are a architect or server operater, and you always have some frequent used commands, this is right for you.

THIS IS ESPECIALLY USEFUL if you HAVE TONES OF COMMANDS that wish to bind to a set of keys.

Features

  • Bind a sequence of command to a MaLiLib keybinds! (NEED TO EDIT THE CONFIG FILE)
  • GUI config screen to quickly change bindings to each configured command bindings.Replace this with a description
  • Dynamic reload in the GUI config screen.

Config File

This is what the default config file looks like:

{
  "Toggles": {
    "Open config gui": {
      "keys": "B,C"
    }
  },
  "bindingNodes": [
    {
      "hotkeyStorageString": "LEFT_CONTROL,C",
      "name": "Example",
      "comment": "This is an example of how to configure the file",
      "commandNodes": [
        {
          "name": "Example Command",
          "command": "say Hello,world!",
          "comment": "Say hello world to all other players in the server!"
        },
        {
          "name": "Next Command",
          "command": "say End!",
          "comment": "You can add more to this list, and will be executed in sequence!"
        }
      ]
    }
  ]
}

$.Toggles."Open config gui".keys is the keybind to open the GUI config.

$.bindingNodes is a array of command keybinds. You can copy the example one and paste it in this list. Don't worry about the hotkeyStorageString if you do not know how to describe a key sequence. You can config it in the in-game GUI config screen.

Every entry in the commandNodes represents a command. You can add more to the commandNodes array. When the binding is triggered, the commands in the commandNodes will be sent in order.

Future Plans

  • Implement some client-side Placeholder Apis, to make it possible to create dynamic commands.
  • (Maybe) add some full GUI config