{"id":86937,"date":"2026-06-05T02:11:46","date_gmt":"2026-06-04T23:11:46","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/"},"modified":"2026-06-05T02:11:46","modified_gmt":"2026-06-04T23:11:46","slug":"itemcommander","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/","title":{"rendered":"Item Commander"},"content":{"rendered":"<p># Item Commander<br \/>\n> Shiny item do stuff<\/p>\n<p>A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks).<br \/>\nIt works by adding NBT data to the item, then when a player uses an item the NBT data for that item is checked, if it contains the `ItemCommander` tag tree it executes the specified command.<\/p>\n<p>To embed a command in an item, hold it in your main hand and run `\/commander create &#8220;<command>&#8221; [CONSUME_ACTION] [COMMAND_SOURCE] [cooldownTicks] [CustomItemNBT]`<\/p>\n<p>_consume actions:_<\/p>\n<p>| Action      | Description       |<br \/>\n|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| **CONSUME** | Consumes the item |<br \/>\n| KEEP        | Keeps the item    |<\/p>\n<p>_command sources:_<\/p>\n<p>| Action           | Description                                                                                                                                                                    |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;|<br \/>\n| **SERVER**       | Command executed by the server                                                                                                                                                 |<br \/>\n| PLAYER           | Command executed by the player                                                                                                                                                 |<br \/>\n| OP               | Command executed by the player with OP                                                                                                                                         |<br \/>\n| SERVER_AS_PLAYER | Command executed by the server as the player (like OP)                                                                                                                         |<br \/>\n| DANGEROUSLY_OP   | Command executed by the player whilst being OP \u26a0\ufe0f |<\/p>\n<p>_defaults in **bold***_<\/p>\n<p>### Command placeholders<br \/>\n_when creating a command you can use the following vanilla-like placeholders:_<\/p>\n<p>| Placeholder   | Action                              |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `@itemname`   | Item Name                           |<br \/>\n| `@pich`       | Player pitch                        |<br \/>\n| `@yaw`        | Player yaw                          |<br \/>\n| `@ix`         | Item use X coordinate               |<br \/>\n| `@iy`         | Item use Y coordinate               |<br \/>\n| `@iz`         | Item use Z coordinate               |<br \/>\n| `@x`          | Player use X coordinate             |<br \/>\n| `@y`          | Player use Y coordinate             |<br \/>\n| `@z`          | Player use Z coordinate             |<br \/>\n| `@p` and `@s` | The player using the Commander Item |<\/p>\n<p>To append more commands to one item, hold a Commander Item in your main hand and run `\/commander append &#8220;<command>&#8220;`<br \/>\nTo save a Commander Item, hold it in your main hand and run `\/commander save <fileName>`<br \/>\nTo load\/give a Commander Item, run `\/commander give <fileName> [quantity] [player(s)]`<\/p>\n<p>### This mod supports Patbox&#8217; Text Placeholders API.<br \/>\n&#8211; You can use `%modid:type%` or `%modid:type\/data%` inside a Commander Item to make use of a custom placeholder<br \/>\n&#8211; Example: `commander create `<\/p>\n<p>### This mod supports LuckPerms&#8217; Fabric Permission API.<br \/>\n&#8211; `commander.command.create` allows a player to use this mod to embed commands in items<br \/>\n&#8211; `commander.command.append` allows a player to use this mod to append commands to Commander Items<br \/>\n&#8211; `commander.command.give` allows a player to use this mod to give itself Commander Items<br \/>\n&#8211; `commander.command.save` allows a player to use this mod to save Commander Items to a file on the server<\/p>\n<p>### Examples<br \/>\n#### Creating a Commander Item<br \/>\n&#8220;`mcfunction<br \/>\n\/commander create &#8220;say Hello myself (@s), you clicked at @ix, @iy, @iz!&#8221; KEEP OP 20 paper{display:{Name:'[{&#8220;text&#8221;:&#8221;Commander Test Item!&#8221;,&#8221;italic&#8221;:false}]&#8217;}}<br \/>\n&#8220;`<br \/>\n#### Appending an extra command to a Commander Item<br \/>\n&#8220;`mcfunction<br \/>\n\/commander append &#8220;If you have Text Placeholder API, this will be your name: %player:name%&#8221;<br \/>\n&#8220;`<br \/>\n#### Saving a Commander Item<br \/>\n&#8220;`mcfunction<br \/>\n\/commander save commander_test_item<br \/>\n&#8220;`<br \/>\n#### Giving\/loading a saved item to a player<br \/>\n&#8220;`mcfunction<br \/>\n\/commander give commander_test_item 1 @p<br \/>\n&#8220;`<\/p>\n<p>## Bleeding edge builds<br \/>\nUpstream builds are available via GitHub Actions.<\/p>\n<p>___<\/p>\n<p>## Setup<\/p>\n<p>For setup instructions please see the fabric wiki page that relates to the IDE that you are using.<\/p>\n<p>## License<\/p>\n<p>This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks)<\/p>\n","protected":false},"featured_media":86938,"template":"","meta":{"_minecraft_slug":"itemcommander","_minecraft_project_id":"VUnrj0Dx","_minecraft_author":"Camper_Samu","_minecraft_license":"CC0-1.0","_minecraft_downloads":6378,"_minecraft_follows":19,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"itemcommander.zip","_minecraft_size_bytes":1257494,"_minecraft_version_count":20,"_minecraft_updated_at":"2026-05-17T00:32:19.303781Z","_minecraft_date_created":"2022-02-17T19:44:13.035197Z","_minecraft_date_modified":"2024-09-18T00:03:47.846990Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/itemcommander","_minecraft_icon_attachment_id":86938,"_minecraft_imported_at":"2026-06-04T23:11:47+00:00","_minecraft_import_hash":"1f4a7397ad0ff7e4926a65583609d551","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[43,97,873,126,98,92],"mod_loader":[99,100],"minecraft_version":[51,52,53,59,36,60,93,94,101,102,62,37],"class_list":["post-86937","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-cursed","mod_category-fabric","mod_category-library","mod_category-management","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-18","minecraft_version-1-18-1","minecraft_version-1-18-2","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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Item Commander - 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\/itemcommander\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Item Commander - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/\",\"name\":\"Item Commander - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp\",\"datePublished\":\"2026-06-04T23:11:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/itemcommander\\\/#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\":\"Item Commander\"}]},{\"@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":"Item Commander - 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\/itemcommander\/","og_locale":"en_US","og_type":"article","og_title":"Item Commander - Minecraft","og_description":"A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks)","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/","name":"Item Commander - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp","datePublished":"2026-06-04T23:11:46+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/itemcommander-icon-cf4c706d956dbfd18ad23da295eb64c397ec0eeb_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/itemcommander\/#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":"Item Commander"}]},{"@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\/86937","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\/86938"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=86937"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=86937"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=86937"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=86937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}