
Command Items (or item commands) allows you to generate items with commands linked to them using NBT data.
Create custom items that execute commands when right-clicked — perfect for mapmakers, admins, or creative setups!
c:<command>) %player%, %world%, %x%, and more | Command | Description |
|---|---|
/createitem <item> <command> |
Creates an item that runs the specified command |
/applycommand <command> |
Applies a command to the item in your hand |
/info |
Displays any commands linked to the held item |
Use these placeholders inside your command strings:
| Placeholder | Replaced With |
|---|---|
%player% |
Player's name |
%uuid% |
Player's UUID |
%world% |
Player's current world |
%x% |
Player's X coordinate (block) |
%y% |
Player's Y coordinate (block) |
%z% |
Player's Z coordinate (block) |
%location% |
Combined XYZ: x y z |
%health% |
Player's current health (rounded) |
%food% |
Player's current food level |
%gamemode% |
Player's gamemode (survival, etc.) |
%exp% |
Player's total experience |
| Node | Description |
|---|---|
command.item.create |
Lets you generate and edit command items |
command.item.use |
Allows using command items as a player |
command.item.use.console |
Allows running commands from items as console (dangerous!) |
🧱 Works with: Paper, Spigot, and Bukkit (1.13+)
📂 Just drop the plugin in your plugins/ folder — no setup required!