Finally, you mined a diamond block.... YOU ARE GOING TO EXTREMELY RICH, MY FRIEND!!! Wait! What's that!? OH GOD A THIEF JUST STOLE YOUR DIAMOND!!!!!!!!!!!!
so you just realised you need a plugin to save your loot
This plugin will help you do it!
ANTIBLOCKDROP
When a player breaks a block, it won't drop on the ground, but go to the player's inventory with the help of the great PROGRAMMING MAGIC
However, when the player's inventory is full, it go to a mysterious place called /claim list and player can use /claim to claim these items when his/her inventory is not full.
The owner or the admin can also set will the claim function enabled, if not, it will drop on the ground near the player instead of going to the /claim list
If you are a developer, you can use its api to custom the drops
this plugin provides an event called 'PlayerGetItemEvent', check the documention to learn more
(By the way, I'm recently making my own server and if you are intrested in it please add my discord: huan_moon)