Keys4Macros

Quick rating

Keys4Macros

No reviews yet

Assign keys to commands

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client Only

Runs entirely on the client. Works on vanilla servers.

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
keys4macros-forge-1.19.x-3.0.2.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Assign keys to commands

Features :

- Define a key to execute a command or send chat message (called a macro)
- Mod need to be installed on client only
- Work fine in multiplayer. When you press the key, the command is sent as a chat message and proceeded by the server like if you had typed it.
- Create as many macros as you want
- Macro can have some variable (changing part like a player name)

- Server admins can now force macros for players with the mod

- Create macros for a specific world / server (called location)

- Edit macro in your default text editor

- Execute mutiple command in one macro (use \n to separate 2 commands)

Create a macro :

To open the macro configuration screen :
- While in-game : press key K (configurable with other minecraft key)
- While on main menu : Go to mods, then select Keys4Macros and finally Config

To define a new Macro, hit the New Macro button
Then fill the text box with the text that will be sent in chat (Start with a / for a command)
Then next button define the key for the macro
Next button switch between SEND (directly send the value of the text box) & WRITE (prefill the chat with the content of the text box)
Last button allow you to delete the macro

You can create as much macro as you want, it come in addition of Minecraft keybindings

Screenshots :

unknown.pngunknown.png

Discord :

Feel free to join my discord if you need help or fi you have any issue, any questions or any suggestions :

Discord-LogoWordmark-Color.png

Misc :

Can I use this mod in multiplayer?
- Yes technically the mod work fine on server. However, it can be against some server rules, be sure to check them out. I won't handle any responsibility for a sanction due to this mod.


Can I use this mod in my mod pack / make a video on or with this mod ?
- Yes, you can use this mod freely, and put it in every modpack you want. Just remember to give credit and link back to the official download page, it's the only links that are SAFE.

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.

Screenshots

Gallery

  • Splash
    Splash
  • Change Macro Step 2
    Change Macro Step 2
  • Change Macro Step 1
    Change Macro Step 1

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~6,000
Total Downloads
CurseForge
~4,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works