MacroGrid
ModMIT

MacroGrid

A customizable GUI for command macros.

54
Downloads
1
Followers
2 months ago
Updated
📦
5
Versions

📖About MacroGrid

MacroGrid

MacroGrid is a client-side mod that adds a customizable GUI with buttons to execute commands, send chat messages, or run macros instantly.

⚠️ Requires Fabric API

❓ Why use MacroGrid?

Are you tired of typing the same commands over and over again?

  • For Builders: Instantly run WorldEdit commands like //pos1, //copy, //paste with a single click.
  • For Admins: Access punishment or management commands quickly.
  • For Players: Create shortcuts for /home, /warp, or chat phrases.

🎥 Showcase


📖 How to use

If the video above doesn't load, here is how to use the mod:

  1. Open Menu: Press G (default key, configurable in Options > Controls).
  2. Add Button: Click the + Add button at the bottom. Enter a name, command (e.g., /time set day), choose an icon/color, and click Save.
  3. Edit/Delete: Toggle the Edit or Delete switches at the bottom, then click on any button to modify or remove it.
  4. Sort: Toggle the Move switch. Click a button to select it, then click another button to swap their places.

✨ Features

  • Unlimited Buttons: Add as many buttons as you need.
  • Command & Chat Support: Buttons can execute commands or send chat messages.
  • Icon Library: Choose from 40+ icons (Swords, Pickaxes, Hearts, Stars, etc.) to visually organize your grid.
  • Smart Colors: Customize the text color of each button.
  • Drag & Drop Sorting: Easily reorganize your layout using the "Move" mode.
  • Search Bar: Instantly find buttons by name.

✨ Features in Action

Demo

📸 Click to view Static Screenshots

Here is how the mod looks in-game:

Main Menu - The dashboard where you organize buttons.
Main Menu

Add Button - Simple interface to add new buttons.
Add Button

⚙️ Configuration

The mod saves your layout in a JSON file located at: .minecraft/config/command_gui_buttons.json.

You can edit buttons in-game or manually in the file:

{
  "buttons": [
    {
      "name": "Creative",
      "color": "GOLD",
      "icon": "STAR",
      "commands": [
        {
          "command": "/gamemode creative",
          "type": "COMMAND"
        }
      ]
    },
    {
      "name": "Set Home",
      "color": "BLUE",
      "icon": "HOME",
      "commands": [
        {
          "command": "/sethome",
          "type": "COMMAND"
        }
      ]
    }
  ]
}