Command Macro Key

Command Macro Key

Do you have any common commands? Do you think it is boring and tedious over and over again, then you can bind shortcut keys to execute commands now

by
8.1K Downloads
forgegame-mechanicsutility
Rent Server with this Mod

Screenshots

Command Macro Key Screenshot 1

About this Mod

Do you have any common commands? Do you think it is boring and tedious over and over again, then you can bind shortcut keys to execute commands now

Macro Type

  • single

  • delayed

  • repeating

  • key is the number corresponding to the key you want. The list can be found here : https://www.glfw.org/docs/3.3/group__keys.html

  • You can use the/macro reload command to hot load an update

  • If there is no "/" in the command field, it will be sent as chat text

  • You can use \n as a separator to execute multiple commands consecutively, such as "Hello World\nHello Minecraft"

  • For specific scenarios, the mod provides common placeholders as an alternative, such as "/gamemode creative %player_name%".

Placeholder

player_name
player_pos_x
player_pos_y
player_pos_z
player_pos
player_health
player_food
player_exp
player_level
player_dimension
player_biome
player_facing
player_xRot
player_yRot
player_uuid
[
  {
    "macro":"command_macro_key:single",
    "command": "/gamemode creative",
    "primaryKey": 334,
    "modifierKey": 0
  },
  {
    "macro":"command_macro_key:delayed",
    "command": "/gamemode creative",
    "primaryKey": 334,
    "modifierKey": 0,
    "delay": 60
  },
  {
    "macro":"command_macro_key:repeating",
    "command": "/gamemode creative",
    "primaryKey": 334,
    "modifierKey": 0,
    "repeat": 5,
    "interval": 20
  },
  {
    "macro":"command_macro_key:single",
    "command": "/gamemode creative",
    "primaryKey": 334,
    "modifierKey": 0,

    //optionalField
    //It can only take effect in macros-server.json5 configuration, if there is this field, the permission will be ignored.
    "hasOp": true,

    //optionalField
    //Valid for a specific archive only
    "location": ".\\saves\\~~~~~"
  }
]

Available Versions

Command Macro Key 1.20.1-0.0.2release
MC 1.20.1forge
June 11, 2024
Command Macro Key 1.20.1-0.0.1release
MC 1.20.1forge
June 6, 2024

How to Install Command Macro Key on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Command Macro Key". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Command Macro Key server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Command Macro Key compatible with forge?

Command Macro Key officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Command Macro Key – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Command Macro Key consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Command Macro Key with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.1