Command Keys
A powerful command macro mod that significantly simplifies performing repetitive actions in Minecraft.
Main Features
Create complex macros with multiple commands, assign them to hotkeys, and configure various execution modes. Supports multiple macros per key and the ability to use modifiers (e.g., Shift+T).
Command Send Modes
- Send All - all commands execute when the key is pressed
- Cycle - commands execute sequentially with each key press
- Repeat - automatic command repetition at specified intervals
- Random - random command selection from the list
- Type - command is typed into chat but not sent
Profiles and Automation
Create separate configuration profiles for different servers and worlds. The system automatically switches profiles when connecting to a server or loading a world based on its name or address.
Key Conflict Management
Flexible system for resolving conflicts with standard Minecraft keys:
- Ignore - standard key function works
- Share - both macro and standard function work
- Block - only macro works
- Avoid - macro works only in edit mode
Placeholders
Use dynamic substitutions in commands:
- Player coordinates (%pos%, %x%, %y%, %z%)
- Targeted block coordinates (%lpos%, %lx%, %ly%, %lz%)
- Player name (%myname%)
- Clipboard (%clipboard%)
- Message history (%lastsent%, %lastcmd%)
- Regular expressions for complex substitutions
![]() |
![]() |
![]() |
Compatibility
The mod is available for Fabric, Forge, and NeoForge. Fabric requires Fabric API and ModMenu.
Support
If you encounter issues, contact us via Discord or GitHub.


