Hello there! I am currently creating a plugin in which emeralds are used as a form of currency. here is my dilemma: when a player dies, I want them to keep all of their items, but lose, say 25%, of all of the emeralds in their inventory. How would I go about doing this? I'm fairly new to java, but I am able to understand semi-complicated code. Any thoughts on how I could do this?