This Spigot plugin allows you to assign (op-level) commands to items, that can ultimately be
sold or given to players, and that will deplete after a specified amount of "executions".
The relevant meta-data are stored as NBT tags, so you can generate these items via
or even sell them as Essentials kits.
Similarly, it's also possible to assign commands to signs.
For example, you will be able craft a book that grants 5 XP levels to the player who uses/executes it (right-click while holding it in the main hand), and that will disappear (deplete) just after using it.
This plugin is in beta stage. Please report any bug you find at the dedicated issue-tracker.