Hello everyone! I started creating a crate plugin for my server. It is almost the same as the plugin on Desteria or CosmicPvP. I already implemented opening a crate and choosing slots, but not the rewards. I decided to scrap that plugin because of the way I programmed it. The code was messy and hard to use. Now I have started rewriting it but I need a way to somehow have different types of crates using different rewards. I am not sure how to do this since I am using a HashMap<Player, Inventory>. That way everyone can open a different crate. If I didn't have that line, everyone would open the SAME inventory. I think what I am trying to do might be done using classes and inheritance, but I am just not sure how to do it. I need a way to open different kind of crates with different loot??? I'm kind of stuck, any help would be appreciated! Thank you in advance!