Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Item Commander

Item Commander

A simple Serverside Fabric mod that allows you to assign commands to Item(Stacks)

1,912
17
Cursed
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.18.x

Platforms

Fabric
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

Camper_Samu
Camper_Samu Owner

Details

Licensed CC0-1.0
Published 3 years ago
Updated 9 months ago
DescriptionGalleryChangelogVersions

Show all versions

v1.7.0-pre.2+1.21.1 - A now fully working port to 1.21.1

by Camper_Samu on Sep 18, 2024
Download

⚠️ THIS IS A PRE-RELEASE! LITTLE TO NO TESTING HAS BEEN DONE! PROCEED WITH CAUTION!

It was too good to be true...
This version fixes an issue where Commander data wouldn't be applied to new items (y'know, half of the mod functionality)

If you see any oddities, let me know!

GitHub Release: https://github.com/CamperSamu/ItemCommander/releases/tag/v1.7.0-pre.2+1.21.1

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.7.0-pre.1+1.21.1...v1.7.0-pre.2+1.21.1

v1.7.0-pre.1+1.21.1 - A less rough port to 1.21.1

by Camper_Samu on Sep 12, 2024
Download

⚠️ THIS IS A PRE-RELEASE! LITTLE TO NO TESTING HAS BEEN DONE! PROCEED WITH CAUTION!

Thank god, 1.21.1 didn't impact this.

This is a simple port of the previous release. I haven't gotten around to implement the datafixer and the new component structure, so I just decided to port this since Mojang still haven't removed the workarounds I am using to make this work.

If you see any oddities, let me know!

GitHub Release: https://github.com/CamperSamu/ItemCommander/releases/tag/1.7.0-pre.1+1.21.1

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.7.0-pre.1+1.20.5...1.7.0-pre.1+1.21.1

v1.7.0-pre.1+1.20.5 - A rough port to 1.20.5/6

by Camper_Samu on Apr 30, 2024
Download

⚠️ THIS IS A PRE-RELEASE! LITTLE TO NO TESTING HAS BEEN DONE! PROCEED WITH CAUTION!

Damn, 1.20.5 got hands.
This is a rough port that uses the old NBT system instead of the custom component system I am planning for the stable release and doesn't feature a datafixer.
If you want to update to this version, you can update old commander items by putting them in an inventory and then updating to 1.20.5. All functionality should remain intact.

If you see any oddities, let me know!

GitHub: https://github.com/CamperSamu/ItemCommander/releases/tag/1.7.0+1.20.5-pre.1

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.6.2...1.7.0-pre.1+1.20.5

v1.6.2 - Fix Text Placeholders API support

by Camper_Samu on Jan 23, 2024
Download

v1.6.2 - Fix Text Placeholders API support

by Camper_Samu on Jan 23, 2024
Download

This update fixes issues with Placeholders API, as well as adding better logging on mod initialization to report integration support.

Changelog

  • Fix Placeholders API support
  • Log mod integration support at mod initialization
  • API: Add CommanderSource#vanilla to create a ServerCommandSource from a Commander Source

GitHub: https://github.com/CamperSamu/ItemCommander/releases/tag/1.6.2

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.6.1...1.6.2

v1.6.1 - Two new command context for better compatability

by Camper_Samu on Jan 13, 2024
Download

v1.6.1 - Two new command context for better compatability

by Camper_Samu on Jan 13, 2024
Download

This update brings two new command context options, SERVER_AS_PLAYER and DANGEROUSLY_OP, improving compatability with mods that don't use Brigadier or use altered permission checking such as WorldEdit.

Changelog

  • Two new command context
    • SERVER_AS_PLAYER
      • This is the same as running a command as the server with execute as @p, but in a way cleaner and faster way.
    • DANGEROUSLY_OP
      • This context is highly discouraged, it works by briefly giving OP to the player to execute the command; this is done sequentially in a code block synchronized to the server op list, so it should generally be ok to use, but try to avoid this one if possible.
  • Updated documentation

For the curious

If you are wondering how DANGEROUSLY_OP works, here's the (Yarn) code snippet:

case DANGEROUSLY_OP -> {
    synchronized (server.getPlayerManager().getOpList()) {
        server.getPlayerManager().addToOperators(player.getGameProfile());
        server.getCommandManager().executeWithPrefix(player.getCommandSource(), parsedCommand);
        server.getPlayerManager().removeFromOperators(player.getGameProfile());
    }
}

GitHub: https://github.com/CamperSamu/ItemCommander/releases/tag/1.6.1

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.6.0...1.6.1

v1.6.0 - 1.20.x, OP context, PlaceholderAPI-free + QoL/Fixes!

by Camper_Samu on Jan 12, 2024
Download

v1.6.0 - 1.20.x, OP context, PlaceholderAPI-free + QoL/Fixes!

by Camper_Samu on Jan 12, 2024
Download

This version brings the mod to Minecraft 1.20.1 and Minecraft 1.20.2, adding the OP Player context as a bonus! This version also drops Placeholders API as a mandatory, embedded dependency along fixing some quirks and updating documentation.

Changelog

  • Backport to 1.20.1 and 1.20.2
  • OP Player command context
    • This allows players to run a command as administrator (SERVER execute as @p begone!)
  • /commander give can now give items to another player (or multiple players, like /give)
  • From now on, Placeholders API will not be included with this mod and won't be needed for basic functionality
  • If the player's hand is empty when trying to create a Commander Item (without a specified item), the command will now throw an error.
  • Improved error logging
  • Very minor code refactoring
  • This mod now suggests Placeholders API and LuckPerms
  • Updated documentation

GitHub: https://github.com/CamperSamu/ItemCommander/releases/tag/1.6.0

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.5.0...1.6.0

v1.5.0 - 1.20.4, Custom Item NBT fix & save/give!

by Camper_Samu on Dec 24, 2023
Download

Merry Christmas! This update brings the mod to 1.20.4, allows Commander Items to be saved and loaded via /commander save & /commander give and fixes an issue with Custom Item NBTs not working inside the /commander create command!

GitHub Release: https://github.com/CamperSamu/ItemCommander/releases/tag/1.5.0

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.4.0...1.5.0

v1.3.0 - Even more Placeholders!

by Camper_Samu on Feb 25, 2022
Download

This version adds Vanilla-Like placeholders: https://github.com/CamperSamu/ItemCommander#command-placeholders

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.1.0...1.3.0

v1.2.0 - Lecterns and Placeholders

by Camper_Samu on Feb 24, 2022
Download

This release brings support for Placeholders, fixes issues with @p and @s in commands and now items on lecterns are supported!

Full Changelog: https://github.com/CamperSamu/ItemCommander/compare/1.0.0...1.1.0

v1.0.0 - Initial Release

by Camper_Samu on Feb 17, 2022
Download

Modrinth is open source.

main@81b0922

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.