ModsFinder

Item Commander

by Camper_Samu

Item Commander lets server operators attach commands to item stacks, so a player who holds a configured item in the main hand runs the command when using it.

FabricQuiltServer-side onlyCC0 1.0 UniversalOpen source1.18 – 1.21.1

What it does

The mod is a server-side Fabric and Quilt addon that assigns commands to item stacks. Commands are written into an item's NBT data under an ItemCommander tag tree, which lists the command to execute, and a cooldown in ticks can be set for each item. A player who uses the item triggers the stored command, and the item can store several commands at once.

Commands are attached with the commander family of commands. Operators create a command item, append further commands to an existing one, give a copy to a player, or save an item to a file on the server. Custom values can be read at run time when a command item contains placeholders in the form modid:type or modid:type/data. Optional support for LuckPerms and Text Placeholder API is listed as a dependency.

Environment is server-side only, so players join without installing anything. The code is released under the CC0 1.0 Universal license and is open source. Files exist for 1.18 – 1.21.1, with the latest 1.7.0-pre.2 build for 1.21.1 in the beta channel, published on Fabric and Quilt. Setup instructions for IDE use are on the Fabric wiki page.

Key features

  1. Commands on item stacks

    A command written to an item runs when a player holding it in the main hand uses it, with no separate command input.

  2. Command item creation

    The create command turns a held item into a command item, and the commander.command.create permission controls who can use it.

  3. Appending and giving

    Further commands can be appended to an existing command item, and the give command hands a copy to a player.

  4. Saving to a file

    A command item can be saved to a file on the server, so its configuration can be kept and loaded again later.

  5. Custom placeholders and cooldowns

    Placeholders read values inside command text, and a cooldown in ticks limits how often an item can fire.

Compatibility

Latest build for each game version and loader.

1.21.x2 of 2 versions with builds
1.21.11.7.0-pre.2+1.21.11.7.0-pre.2+1.21.1
1.211.7.0-pre.2+1.21.11.7.0-pre.2+1.21.1
1.20.x7 of 7 versions with builds
1.20.61.7.0-pre.1+1.20.51.7.0-pre.1+1.20.5
1.20.51.7.0-pre.1+1.20.51.7.0-pre.1+1.20.5
1.20.41.6.2+1.20.41.6.2+1.20.4
1.20.31.6.2+1.20.41.6.2+1.20.4
1.20.21.6.2+1.20.21.6.2+1.20.2
1.20.11.6.2+1.20.21.6.2+1.20.2
1.201.6.2+1.20.21.6.2+1.20.2
1.18.x3 of 3 versions with builds
1.18.21.3.01.3.0
1.18.11.3.01.3.0
1.181.3.01.3.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 2

LuckPermsA permissions plugin/mod for Minecraft servers.
Optional
Text Placeholder APIPlaceholder and Text manipulation library for your Minecraft mods.
Optional

Questions

Does Item Commander need to be installed on the client?

No. Players join without it, since only the server has to run the mod.

Which loaders does Item Commander support?

The mod is published for Fabric and Quilt, and the latest 1.7.0-pre.2 build for 1.21.1 is available for both.

Are LuckPerms and Text Placeholder API required?

No. Both are listed as optional dependencies, so the commands work without them.

In the catalog

Item Commander is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from Camper_Samu

All projects

Similar mods

What the author says

A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks). It 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. To embed a command in an item, hold it in your…
Camper_Samu, on the Modrinth page

Official listing

Owner
Camper_Samu
Published
2022-02-17
Updated on Modrinth
2024-09-18
Facts verified
2026-10-15

Tags