Chest-Like random loot crate

Before people start slinging off suggestions, let me explain.

What ideally I’m looking for one of either two options; A sign that upon clicking, opens a double chest GUI that shows random items selected from the list in a config file. Say you have all the different armour types, it would randomly pick one and give you it. Then, upon exiting, there’s a cool down for as long as chosen in the config until you can reopen it.
Either that or it’s a chest you open and the above things to happen.

This must also support modded items from different mods.

Any ideas?

You could suggest this feature to my plugin HuskyCrates in the WIP plugins section. I could add it.