ModsFinder

Keys4Macros

by DenisD3D

Keys4Macros lets players bind a key to a chat command, so a single press runs a macro that is defined in a configuration file.

ForgeClient-side onlyApache License 2.0Open source1.16.1 – 1.19.2

What it does

Each macro pairs a key with a command that is sent to the chat as if typed, and the server processes it like any other command. Macros are defined in a configuration file, where several can be created, and a block can be defined as a macro too. Keys are assigned by number, so any key the player wants can trigger a given command, and a list of the keys found in the game helps when choosing one.

The mod is a Forge utility for the 1.16.1 – 1.19.2 range, with files for 11 release versions. Only the client needs it, but it also works on a server. Keys4Macros is open source under the Apache License 2.0, and its source code and issue tracker are public. The latest Forge file is 3.0.2 for 1.19.2, published 2022-11-19.

Key features

  1. Key-bound macros

    A pressed key runs a chosen command, so repeated commands need only one keystroke.

  2. Configuration file setup

    Macros are written into a configuration file, and the Reload button applies changes without restarting the game.

  3. Block macros

    A block can be defined as a macro, and duplicating that block gives the same trigger wherever it is placed.

  4. Key number lookup

    Keys are referenced by number, and a list of the keys found in the game helps players pick the right one.

Compatibility

Latest build for each game version and loader.

1.19.x3 of 3 versions with builds
1.19.23.0.2
1.19.13.0.2
1.193.0.2
1.18.x3 of 3 versions with builds
1.18.23.0.1
1.18.13.0.1
1.183.0.1
1.16.x5 of 5 versions with builds
1.16.52.0.4
1.16.42.0.4
1.16.32.0.4
1.16.22.0.4
1.16.12.0.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Repeated server commands

A player who types the same command often can bind it to a key and send it with one press.

Who it’s for: Players who use the same chat commands often, and server owners who want a shared command shortcut for their players.

How it compares

Full comparison

MacroMenu is a Forge mod for 1.20.1 – 1.20.6 that requires the client, with the server optional, and is released under the MIT License. Command Keys covers Fabric, Forge, NeoForge and Quilt for 1.19.3 – 26.3, is client-side only and is open source under the Apache License 2.0. Default Key Setup is client-side only for Forge across 1.12.2 – 1.20.4, and is not open source.

ModLoadersGame versionsEnvironmentUpdated
Keys4MacrosForge1.16.1 – 1.19.2Client-side only2022-11-19
MacroMenuForge1.20.1 – 1.20.6Client required, server optional2025-07-31
Command KeysFabric, Forge, NeoForge and Quilt1.19.3 – 26.3Client-side only2026-10-09
Default Key SetupForge1.12.2 – 1.20.4Client-side only2025-03-31

Questions

Does the server need Keys4Macros?

No. Players add it to their own game, and a server needs no copy.

Which versions does Keys4Macros cover?

Its Forge files cover 1.16.1 – 1.19.2, with 11 release versions. The latest file is 3.0.2 for 1.19.2.

Where are macros set up?

Macros are created in the configuration file. After editing it, the Reload button in the config applies the changes.

In the catalog

Keys4Macros is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 12,559 mods support Minecraft 1.19.2.

More from DenisD3D

All projects

Similar mods

What the author says

Each [[Macros.Macro]] block define a macro. You can duplicate this block as much as you want. - key is the number corresponding to the key you want. The list can be found here: - command is the command to execute when the key is pressed, including the '/' When you're satisfied with your configuration, hit the Reload…
DenisD3D, on the Modrinth page

Official listing

Owner
DenisD3D
Published
2021-04-04
Updated on Modrinth
2022-11-19
Facts verified
2026-10-15

Tags