Command crafting plugin

Hello plugin devs,
I am looking for a plugin that i can define multiple item with custom nbt names and remove them from the players inventory, after that i’d like to run a command.

I’ve zero coding experience or i would likely work on it myself…
I’ve got the logic worked out (i think)

get player running the commands name
check said players inventory for correct item, nbt data, and quantity.
repeat above checks for each item to remove.
if success run command, if error output a message.

Is there a plugin that can do this? and if not… anyone want to make one? :slight_smile:

So basically… you want an item (Lets say Paper of Night) which would get consumed when clicked, and run the command associated with it?

Right Click Paper, Runs /time set night and then removes the paper, but only if the Paper was called “Paper of Night”?

Try this one: Eufranio / CommandItems

No no,
I’d like to run a command like:

/craft minecraft:coal %nbtname% 2 minecraft:iron %nbtname% 4 %commandidliketorun%
Which will check and take 2 coal and 4 iron from inventory with whatever names I give them, and run a command.