
Command Macros
Create keybinds for commands!
About this Mod
Command Macros
![]()
Have a command you commonly use? Tired of repeatedly typing it in over and over? Wouldn't it be easier to press a key on your keyboard to run the command?
How to add a macro:
- Edit the config
- Opening the config menu with Mod Menu.
- Typing the following command : "Cmdkeybinds showconfig"
- Using the keybind. Editable though the controls screen or the command macros config. By default it is unbound
Command Macros provides a quick and easy method of creating and running macros.
Creating a macros is as easy as specifying the command, and the key to trigger the command.
Restart not required! Editing/Creating a macro takes effect instantly, no need to relaunch.
Keys are not limited to a single macro, multiple macros can be bound to the same key to have multiple commands run at once.
Different Types of Macros:
Delayed Macro: Command has a configurable delay between key press and execution.
Repeating Macro: Command while auto repeat while holding down the key. Delay configurable
Toggled Repeating: Same as Repeating but the key press acts as a toggle, allowing the command to repeat without holding down the key
RunNTimes(New in 1.6.0!): Command will run N times when pressed. Delay between runs is configurable
Single use Macro: Command will only execute once per key press
Display only Macro: Chat screen will be opened and command will be typed in without being executed

Available Versions
How to Install Command Macros on Your Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the Command Macros file for fabric and Minecraft 1.20.4.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.2, 1.20.1 (+5 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Does Command Macros need to be installed on the Minecraft server?
No. Modrinth marks Command Macros as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.
Which version and loader does Command Macros require?
Use a file for fabric and your exact Minecraft version. Supported versions include 1.20.4, 1.20.2, 1.20.1. Files for different loaders are not interchangeable.
Command Macros is not working – what should I check?
First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.
Similar Mods
Minecraft Server for Your Group
Command Macros stays on your client. Host a compatible world for your group.