Home›Java›Mods›CommandItem [Folia Support]
CommandItem [Folia Support]
A custom items plugin that add a way to execute commands when those custom items are eaten!


No dependency!

But we recommend you to use:
FarmCraft [Folia Support] | SpigotMC - High Performance Minecraft Software


Folia support! (Paper, Folia and Purpur or other forks)

Commands and Permissions:

- /commanditem reload ( commanditem.reload )
- /commanditem give player item (commanditem.give)

config.yml
Code (Text):

# Custom Items Configuration
Items:
  1:
    ItemName: default
    Name: "&eCustom Item"
    Item: PAPER
    Lore:
      - "&bRight-click to activate"
      - "&7Consumes instantly"
    NBT: "custom"
    Eat: true
    Cooldown: 5
    Commands:
      - "say %player% used the custom item!"
      - "announce %player%"
      - "minecraft:effect give %player% minecraft:absorption 10 1 true"

  2:
    ItemName: special_apple
    Name: "&aSpecial Apple"
    Item: PAPER
    Lore:
      - "&6Eat to gain effects"
    NBT: "special_apple"
    Eat: true
    Cooldown: 10
    Commands:
      - "say %player% ate the special apple!"

 
Thanks for downloading!!!

:D

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CommandItem [Folia Support] is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21, 26.1 and newer. Downloaded 7 times (via Spigot). Download it and open it directly in the game.

Explore more