90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Icon

CommandKeys

A powerful command macro mod.

Environment Latest Minecraft

Loader Loader Loader

Download on Modrinth Download on GitHub

Features

  • Multiple commands per macro
  • Multiple macros per keybind
  • Optional delay timing between commands
  • Efficient keybind conflict management with modifier key support
  • Four modes:
    1. Send all commands when the key is pressed
    2. Cycle through commands, one per keypress
    3. Repeat on a configurable interval
    4. Type the command in chat, but don't send it
  • Profiles with automatic switching based on server address or world name
  • Fully custom GUI for easy configuration

Usage

Profiles

  • Access

    • View the profile menu by selecting CommandKeys from your mod list (ModMenu list on Fabric), or by pressing the edit key (default: K) in-game and clicking the Switch Profile button.
  • Automatic Switching

    • When you join a world/server, the name/address will be checked against the list of profiles. If there is a profile linked to that world/server, it will be activated. Otherwise, the default profile will be used.
    • Use the S and M buttons to make a profile the default for singleplayer or multiplayer.
  • Manual Switching

    • To activate a profile manually, click the up-arrow button on the left.
    • Click the link button to link the profile to the world/server for future automatic activation.
    • Click the settings button to rename the profile or remove links.

Macros

  • Access

    • Edit a profile by clicking the large button on the profile selection screen, or by pressing the edit key (default: K) in-game.
  • Binding Keys

    • You can bind almost any keyboard key or mouse button to a macro, similar to Minecraft's own Controls. However, you can also bind any pair of keys; just press one while holding the other (e.g. press 'T' while holding 'Shift').
  • Conflict Strategy

    • If a key is already in use by Minecraft, you can choose a conflict strategy;
      • Submit: The macro will be ignored, the Minecraft keybind will function normally.
      • Assert: The macro and the Minecraft keybind will both function.
      • Veto: The macro will function, the Minecraft keybind will be cancelled (if possible).
      • Avoid: The macro will not work in-game, but you can still activate it by pressing the key while on the edit screen (with nothing selected). For example, if you have a macro bound to W, press K then W to activate it.
  • Send Mode

    • Send: All commands for the macro will be sent. You can configure delays between commands.
    • Type: The first command will be typed into the chat box, but not sent.
    • Cycle: The commands will be cycled through, with one command sent each time you press the key.
      • Note: In Cycle mode, if you need more than one command to be sent for a single key-press, enter those commands into a single box, separated by pairs of commas (e.g. /tick freeze,,/say Stopped).
    • Repeat: Like Send, but the macro will be repeated (delay is configurable) until you press the key again.

Dependencies

Fabric: Fabric API (required), ModMenu (optional)

NeoForge: None

License

Apache-2.0

Contact

Discord Server

GitHub Issues


Project members

TerminalMC

TerminalMC

Organization

NotRyken

Developer

Details

Licensed Apache-2.0
Published a year ago
Updated a month ago