CommandItems
PluginMIT

CommandItems

Command Items (or item commands) allows you to generate items with commands linked to them using NBT data.

517
Downloads
0
Followers
6 months ago
Updated
📦
3
Versions

📖About CommandItems

🪄 CommandItems

Create custom items that execute commands when right-clicked — perfect for mapmakers, admins, or creative setups!


📹 Showcase


🔧 Features

  • Make items that run commands when used
  • Run commands as player or console (c:<command>)
  • Create, edit, or inspect command-bound items
  • Includes simple placeholders like %player%, %world%, %x%, and more
  • Tab-completion for all item names
  • Full permission control for creation and usage

📜 Commands

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

🧩 Placeholders

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

✅ Permissions

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!