{"id":44597,"date":"2026-06-02T05:53:37","date_gmt":"2026-06-02T02:53:37","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/"},"modified":"2026-06-02T05:53:37","modified_gmt":"2026-06-02T02:53:37","slug":"commandkeys","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/","title":{"rendered":"Command Keys"},"content":{"rendered":"<div align=\"center\"><center><\/p>\n<p><img decoding=\"async\" alt=\"Icon\" width=100 src=\"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/common\/src\/main\/resources\/assets\/commandkeys\/icon.png\"><\/p>\n<p>## CommandKeys<\/p>\n<p>A powerful command macro mod.<\/p>\n<p>![Environment]()<br \/>\n![Latest Minecraft](https:\/\/modrinth.com\/project\/65UyswbY\/versions)<\/p>\n<p>![Loader](https:\/\/fabricmc.net\/)<br \/>\n![Loader](https:\/\/files.minecraftforge.net)<br \/>\n![Loader](https:\/\/neoforged.net\/)<\/p>\n<p>![Available on Modrinth](https:\/\/modrinth.com\/project\/65UyswbY)<br \/>\n![Available on CurseForge](https:\/\/curseforge.com\/minecraft\/mc-mods\/commandkeys)<br \/>\n![Available on GitHub](https:\/\/github.com\/TerminalMC\/CommandKeys)<\/p>\n<p><\/center><\/div>\n<p>### Features<\/p>\n<p>&#8211; Multiple commands per macro<br \/>\n&#8211; Multiple macros per keybind<br \/>\n&#8211; Optional delay timing between commands<br \/>\n&#8211; Efficient keybind conflict management with modifier key support<br \/>\n&#8211; Five modes:<br \/>\n  1. Send all commands when the key is pressed<br \/>\n  2. Cycle through commands, one per keypress<br \/>\n  3. Repeat on a configurable interval<br \/>\n  4. Select a random message and send<br \/>\n  5. Type the command in chat, but don&#8217;t send it<br \/>\n&#8211; Profiles with automatic switching based on server address or world name<br \/>\n&#8211; Fully custom GUI for easy configuration<\/p>\n<table style=\"width:100%;\">\n<tr>\n<td style=\"width:33%;\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/assets\/images\/config_01.png\" style=\"width:100%;\"><\/td>\n<td style=\"width:33%;\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/assets\/images\/config_02.png\" style=\"width:100%;\"><\/td>\n<td style=\"width:33%;\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/assets\/images\/config_03.png\" style=\"width:100%;\"><\/td>\n<\/tr>\n<\/table>\n<p>### Usage<\/p>\n<p>#### Profiles<\/p>\n<details>\n<summary><b>Automatic Switching<\/b><\/summary>\n<p>&#8211; When you join a world\/server, the name\/address will be checked against the list of profiles. If<br \/>\n  there is a profile linked to that world\/server, it will be activated. Otherwise, the default<br \/>\n  profile will be used.<br \/>\n&#8211; Use the `S` and `M` buttons to make a profile the default for singleplayer or multiplayer.<\/p>\n<\/details>\n<details>\n<summary><b>Manual Switching<\/b><\/summary>\n<p>&#8211; To activate a profile manually, click the up-arrow button on the left.<br \/>\n&#8211; Click the link button to link the profile to the world\/server for future automatic activation.<br \/>\n&#8211; Click the settings button to rename the profile or remove links.<\/p>\n<\/details>\n<p>#### Macros<\/p>\n<details>\n<summary><b>Access<\/b><\/summary>\n<p>&#8211; Edit a profile by clicking the large button on the profile selection screen, or by pressing the<br \/>\n  edit key<br \/>\n  (default: `K`) in-game.<\/p>\n<\/details>\n<details>\n<summary><b>Binding Keys<\/b><\/summary>\n<p>&#8211; You can bind almost any keyboard key or mouse button to a macro, similar to Minecraft&#8217;s own<br \/>\n  Controls. However, you can also bind any *pair* of keys; just press one while holding the other (<br \/>\n  e.g. press &#8216;T&#8217; while holding<br \/>\n  &#8216;Shift&#8217;).<\/p>\n<\/details>\n<details>\n<summary><b>Conflict Strategy<\/b><\/summary>\n<p>&#8211; If a key is already in use by Minecraft, you can choose a conflict strategy;<br \/>\n  &#8211; `Submit`: The macro will be ignored, the Minecraft keybind will function normally.<br \/>\n  &#8211; `Assert`: The macro and the Minecraft keybind will both function.<br \/>\n  &#8211; `Veto`: The macro will function, the Minecraft keybind will be cancelled (if possible).<br \/>\n  &#8211; `Avoid`: The macro will not work in-game, but you can still activate it by pressing the key<br \/>\n    while on the edit screen (with nothing selected). For example, if you have a macro bound to `W`,<br \/>\n    press `K` then `W` to activate it.<\/p>\n<\/details>\n<details>\n<summary><b>Send Mode<\/b><\/summary>\n<p>&#8211; `Send`: All commands for the macro will be sent. You can configure delays between commands.<br \/>\n&#8211; `Type`: The first command will be typed into the chat box, but not sent.<br \/>\n&#8211; `Edit`: A GUI will be shown to allow you to enter a replacement for the `%edit%` placeholder, then<br \/>\n  the first message will be sent.<br \/>\n&#8211; `Cycle`: The commands will be cycled through, with one command sent each time you press the key.<br \/>\n&#8211; Note: In `Cycle` mode, if you need more than one command to be sent for a single key-press, enter<br \/>\n  those commands into a single box, separated by pairs of commas (e.g.<br \/>\n  `\/tick freeze,,\/say Stopped`).<br \/>\n&#8211; `Random`: A message will be chosen at random and sent each time the key is pressed.<br \/>\n&#8211; `Repeat`: Like `Send`, but the macro will be repeated (delay is configurable) until you press the<br \/>\n  key again.<\/p>\n<\/details>\n<details>\n<summary><b>Placeholders<\/b><\/summary>\n<p>&#8211; Simple Placeholders<br \/>\n  &#8211; `%lastsent%`: The most recently-sent message or command in history, if any.<br \/>\n  &#8211; `%lastcmd%`: The most recently-sent command in history, if any.<br \/>\n  &#8211; `%clipboard%`: The contents of the clipboard, if any.<br \/>\n  &#8211; `%myname%`: Minecraft username.<br \/>\n  &#8211; `%pmsender%`: The name of the sender of the most recently-received private message, if any. (<br \/>\n    Searches max of 50).<br \/>\n  &#8211; `%pos%`: The integer coordinates of the player (`x y z`).<br \/>\n  &#8211; `%x%`: The integer X coordinate of the player. Also available for Y and Z.<br \/>\n  &#8211; `%lpos%`: The integer coordinates of the block the player is looking at, if any. Also provides<br \/>\n    `%lx%`, `%ly%`,<br \/>\n    `%lz%`.<\/p>\n<p>&#8211; Regex Placeholders<br \/>\n  &#8211; `%#(.*)%`: Regex Group 1 from the most recently-received message matching the regex following<br \/>\n    the `#`, if any. Note: regex pattern must have at least 1 capturing group.<br \/>\n  &#8211; `%clipboard#(.*)%`: The contents of the clipboard, if any, verified to match a regex pattern<br \/>\n    following the<br \/>\n    `#`. This can be used to prevent unintentional exposure of clipboard contents. E.g. use<br \/>\n    `%clipboard#^-?d+ -?d+ -?d+$%` to only send the clipboard contents if it&#8217;s formatted like a<br \/>\n    set of coordinates.<br \/>\n  &#8211; `%pos([FBLR])(d+)%`: `%pos%` but offset some number of blocks in a direction relative to the<br \/>\n    cardinal direction that the player is nearest to facing. E.g. use `%posL20%` to get the<br \/>\n    coordinates 20 blocks to the player&#8217;s left.<br \/>\n  &#8211; `%x([+-]d+)%`: `%x%` but offset some number of blocks. E.g. use `%x-10%` to get the X<br \/>\n    coordinate 10 blocks to the player&#8217;s West. Also available for Y and Z.<br \/>\n  &#8211; `%lpos([FBLR])(d+)%`: As per `pos` above but for the block the player is looking at, if any.<br \/>\n  &#8211; `%lx([+-]d+)%`: As per `x` above but for the block the player is looking at, if any.<\/p>\n<\/details>\n<p>### Dependencies<\/p>\n<p>Fabric: Fabric API, ModMenu<\/p>\n<p>NeoForge: None<\/p>\n<p>### Compatibility<\/p>\n<p>If you encounter issues, please report on Discord or GitHub.<\/p>\n<p>### Contact<\/p>\n<p>![Discord Server](https:\/\/discord.terminalmc.dev)<\/p>\n<p>![GitHub Issues](https:\/\/github.com\/TerminalMC\/CommandKeys\/issues)<\/p>\n<p>![License](https:\/\/github.com\/TerminalMC\/CommandKeys\/blob\/HEAD\/LICENSE.txt)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A powerful command macro mod.<\/p>\n","protected":false},"featured_media":44598,"template":"","meta":{"_minecraft_slug":"commandkeys","_minecraft_project_id":"65UyswbY","_minecraft_author":"NotRyken","_minecraft_license":"Apache-2.0","_minecraft_downloads":1876917,"_minecraft_follows":332,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"commandkeys.zip","_minecraft_size_bytes":52752922,"_minecraft_version_count":209,"_minecraft_updated_at":"2026-05-16T10:37:46.390488Z","_minecraft_date_created":"2023-06-14T00:34:06.509715Z","_minecraft_date_modified":"2026-04-16T21:26:38.668259Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/commandkeys","_minecraft_icon_attachment_id":44598,"_minecraft_imported_at":"2026-06-02T02:53:38+00:00","_minecraft_import_hash":"5bcf083b3fe969cad1bf2af6700e6123","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,104,158,98,92],"mod_loader":[99,106,160,100],"minecraft_version":[57,58,59,36,60,93,94,101,102,62,37,40,41,73,74,38,78,79,80,81,82,83,831,167,163],"class_list":["post-44597","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-forge","mod_category-neoforge","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-forge","mod_loader-neoforge","mod_loader-quilt","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-26-1","minecraft_version-26-1-rc-2","minecraft_version-26-1-1","minecraft_version-26-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Command Keys - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command Keys - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A powerful command macro mod.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta property=\"og:image\" content=\"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/common\/src\/main\/resources\/assets\/commandkeys\/icon.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/\",\"name\":\"Command Keys - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp\",\"datePublished\":\"2026-06-02T02:53:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/commandkeys\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Command Keys\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command Keys - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/","og_locale":"en_US","og_type":"article","og_title":"Command Keys - Minecraft","og_description":"A powerful command macro mod.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/","og_site_name":"Minecraft","og_image":[{"url":"https:\/\/raw.githubusercontent.com\/TerminalMC\/CommandKeys\/HEAD\/common\/src\/main\/resources\/assets\/commandkeys\/icon.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/","name":"Command Keys - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp","datePublished":"2026-06-02T02:53:37+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/commandkeys-icon-d3b3bb722591aef4312e67efe4e93d91341e97a7_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/commandkeys\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Command Keys"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/44597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/44598"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=44597"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=44597"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=44597"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=44597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}