Well simple its a plugin that allows you to create a item (configurable) white a custom name. Wen you right click on the item it wil run a command (configurable) and the item well be removed from the inventory.
Wel i run this plugin in configuration withe Crate-Rewards so if a player votes he wil get the custom item, i used VotifierScripts to give the player a loot crate item and the loot crate token. If he right clicks the item will be removed from the inventory and the loot crate will be opend.
LootCraft config.yml
PlayerCommandOnUse: /crate open
ItemType: PAPER
ItemName: '&4 LootCrate'
/lootc gives you the custom item
CustomItemCommand.loot