Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 3 hours ago
Updated 4 days ago
What is ItemCommand?
ItemCommand turns any item into a one-click shortcut. Hold an item, run /ic add <command>, and from then on clicking that item makes the player run the command, with no typing at all.
Use it for spawn and warp items, kit selectors, server menus, staff tools, or any custom item that should trigger something when it is clicked. Everything is set up in-game, in a few seconds.
Features
- Bind commands in-game. Hold an item and use
/ic add. No config editing, no restarts. - Multiple commands per item. Add as many as you like, they run in order.
- Player or console. Run a command as the clicking player, or as console with the
-cflag. - Placeholders. Use
{player}and{uuid}inside commands. - Saved on the item itself. Commands survive dropping, trading, chests and server restarts.
- Easy to recognize. Command items get a glow and a custom lore line, both configurable and removed automatically when you remove the commands.
- Choose the click. Right click, left click, or both.
- Built-in cooldown. Stop click spam, with a bypass permission for staff.
- Flexible access. Let everyone use command items, or limit them to OPs and permission holders.
- LuckPerms friendly. Plain permission nodes that work with any permissions plugin.
- Fully customizable messages. All messages live in the config and support
&color codes. - Tab completion for every subcommand.
- Lightweight. No dependencies and no database.
Quick start
- Hold the item you want to use, for example a compass.
- Run
/ic add spawn. - Right click the item. The player runs
/spawn.
Console example, giving a diamond to whoever clicks:
/ic add -c give {player} diamond 1
Commands
Alias: /ic or /itemcommand
| Command | Description |
|---|---|
/ic add <command> |
Adds a command to the held item, run as the player |
/ic add -c <command> |
Adds a command to the held item, run as console |
/ic list |
Shows the commands on the held item |
/ic remove [number or all] |
Removes one command, or all of them |
/ic reload |
Reloads the config |
Permissions
| Permission | Description | Default |
|---|---|---|
itemcommand.admin |
Use /ic to add, remove, list and reload |
OP |
itemcommand.use |
Click command items (only checked when all-players-can-use is false) |
OP |
itemcommand.bypass.cooldown |
Ignore the click cooldown | OP |
To let your members use command items with LuckPerms:
/lp group default permission set itemcommand.use true
Or skip permissions entirely and set all-players-can-use: true in the config.
Configuration
# true = every player can use command items
# false = only players with itemcommand.use (OP by default)
all-players-can-use: false
# RIGHT, LEFT or BOTH
click-type: RIGHT
# Seconds between clicks per player (0 = no cooldown)
cooldown-seconds: 1
# Make command items easy to spot
marker:
glow: true
lore:
enabled: true
lines:
- "&7Click to use"
Every message can also be edited in config.yml.
Good to know
- Clicking a command item cancels the item's normal action, so for example a block will not be placed.
- Only the main hand triggers commands.
- Stacked items share the same commands, since they are the same item.
- Commands added with
-crun with full console permissions. Only giveitemcommand.adminto people you trust.


