Keys4Macros

Keys4Macros

A mod to execute macros command with a key

by
1.2K Downloads
forgeutility
Rent Server with this Mod

About this Mod

image

A mod to execute macros command with a key

Features :

  • Define key to execute command. This mod is only needed on the client and work well on server too.
  • When you press the key. The command is sent as a chat message and proceded by the server like any other command.
  • Create as many macros as you want through a configuration file.

Discord

Feel free to join my discord if you need help or fi you have any issue, any questions or any suggestions : https://discord.gg/rzzd76c

Create a macro

To open the configuration file, open the forge mod list GUI, select Keys4Macros and hit the Config button. Finally hit the Open config button.

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 : https://www.glfw.org/docs/3.3/group__keys.html
  • command is the command to execute when the key is pressed, including the '/'
    When you're satisfied with your configuration, hit the Reload Config button or restart the game.

Example configuration

The following configuration set the numpad key 0 to 3 to switch between all the gamemodes :

[Macros]
    [[Macros.Macro]]
        key = 320
        command = "/gamemode adventure"
    [[Macros.Macro]]
        key = 321
        command = "/gamemode survival"
    [[Macros.Macro]]
        key = 322
        command = "/gamemode creative"
    [[Macros.Macro]]
        key = 323
        command = "/gamemode spectator"

Misc

Can I use this mod in my mod pack / make a video on or with this mod ?
Yes, just remember to give credit and link back to the official download page, since they're the only links that are SAFE. You can use the mod freely, and put it in every modpack you want. You just need to put a link to this page, in the place where you tell people the mods in your modpack. If you make a video on this mod make sure to put a link to this page in the decription of the video.

Available Versions

keys4macros-1.19.x-3.0.2release
MC 1.19, 1.19.1, 1.19.2forge
November 19, 2022
keys4macros-1.18.x-3.0.1release
MC 1.18, 1.18.1, 1.18.2forge
November 19, 2022
keys4macros-1.16.x-2.0.4release
MC 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5forge
April 4, 2021

How to Install Keys4Macros 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.19.2).

3

Install Mod

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

Compatibility

Mod Loaders

forge

Minecraft Versions

1.19.2, 1.19.1, 1.19 (+8 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Keys4Macros 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.19.2). You can switch loaders with one click in the panel.

Is Keys4Macros compatible with forge?

Keys4Macros officially supports forge for Minecraft 1.19.2, 1.19.1, 1.19. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Keys4Macros – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Keys4Macros 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 Keys4Macros 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
Apache License 2.0
Server-side
Unsupported

Supported Versions

1.19.21.19.11.191.18.21.18.11.181.16.51.16.41.16.31.16.2+1 more