Source-checkedAdmin & protection

Command Items

by Yamakaja · for Minecraft

Create consumable items that trigger commands

36KDownloads
5 yr agoLast updated
Spigot · PaperLoaders
1.17Latest game version

About Command Items

From SpigotMC

Create consumable items that trigger commands

If you need support for Minecraft versions 1.8-1.12, download version 2.0.5 here!

This plugin aims to allow creation of special items that trigger certain actions like commands, including more complex and timed chains of events.

See the README.md over at GitHub for detailed information. To get you started, you can just take a look at the example items in the default config:

Code (YAML):

#########################################
#                                       #
#       Command Items by Yamakaja       #
#                                       #
#########################################

# Note, item use requires the cmdi.item.<name> permission. I.e. to use the fly items you'll have to give the player cmdi.item.fly

items:
  fly:
    item:
      type : FEATHER
      name : "&a&lFlight token"
      lore : [ "&1Click for 10 seconds of flight!", "&kRandom second line" ]
      glow : true
    consumed : true
    cooldown : 20
    sneaking : true
    actions:
      - { action : COMMAND, by : CONSOLE, command : "fly {player} on" }
      - { action : MESSAGE, to : PLAYER, message : "&aFlight has been enabled!" }
      - { action : REPEAT, from : 9, to : 1, increment : -1, delay : 20, period : 20, actions : [ { action : MESSAGE, to : PLAYER, message : "&a{i}s to go" } ] }
      - { action : WAIT, duration : 200, actions : [
          { action : COMMAND, by : CONSOLE, command : "fly {player} off" },
          { action : MESSAGE, to : PLAYER, message : "&cFlight has been disabled!" }
        ] }
  helpstick:
    item:
      type : STICK
      name : "&a&lHelp Stick"
      lore : [ "&1Click to send a help request to moderators!" ]
      glow : true
    consumed : false
    cooldown : 60
    actions:
      - { action : MESSAGE, to : PERMISSION, perm : group.moderator, message : "&6{player} &arequested help!" }
      - { action : MESSAGE, to : PLAYER, message : "&aModerators have been notified!" }
  xpparty:
    item:
      type : EXP_BOTTLE
      name : "&a&lEXP PARTY"
    consumed : true
    actions:
      - { action : REPEAT, period : 1, delay : 0, from : 0, to : 99, actions : [
          { action : ITER, what : ONLINE_PLAYERS, actions : [
            { action : CALC, a : "{iter_locY}", b : "4", op : ADD, target : "y", actions : [
              { action : COMMAND, by : CONSOLE, command : "minecraft:summon minecraft:xp_bottle {iter_locX} {y} {iter_locZ}" } ] } ] } ] }
      - { action : MESSAGE, to : EVERYBODY, message : "&a&l{player} has started an XP party!" }
You can then give out the item using the /cmdi give <target> <item> command.

Permissions overview:
Code (Text):
/cmdi reload        cmdi.reload
/cmdi help          cmdi.help
/cmdi give          cmdi.give
Item use            cmdi.item.<name>

Highlights

From source data

Game versions

Supports 10 Minecraft versions, the newest being 1.17.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Command Items on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2.4.0, released 2021-08-08

Game versions by loader

LoaderGame versionsNewest
Paper1.8 to 1.17 (10 versions)1.17
Spigot1.8 to 1.17 (10 versions)1.17

From 10 recorded builds of Command Items.

Recent builds

BuildReleasedGame versionsLoaders
2.4.02021-08-081.8 to 1.17 (10 versions)Spigot, Paper
2.3.02021-06-22n/aSpigot, Paper
2.2.12020-07-21n/aSpigot, Paper
2.2.02020-07-20n/aSpigot, Paper
2.1.12019-06-10n/aSpigot, Paper
2.1.12019-06-10n/aSpigot, Paper

Run Command Items on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists Command Items as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.17 and 9 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorYamakaja, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

Command Items, answered

Generated from the mod’s own source data.

Do my players need to install Command Items?

SpigotMC lists Command Items as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. Command Items is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Command Items on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Command Items in one click.