Count items by name
How many items with an exact name a player has, optionally only of one type.
A Minecraft element (a value) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks → Count items by name Ticket → Answer: You have {node.c.count} tickets.
Also called
count named, ticket count, custom item count
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Item
- Name
What it gives back
- Count