Ok, I'm trying again with the Kit PVP questions. Here's an explanation of what I'm trying to do: My friend and I have our own server. The main part that we're working on right now is the KitPVP section. We have I think 10 or 11 kits so far. You start out with two which are Brute and Stinky. The others are locked. We already have the maps under control but the main part we need is a way to get the actual kits. I already made it so when you kill another player you get an emerald and we have an emerald storage system. I was thinking that in the KitPVP lobby, there would be a villager which is modded to sell the keys to the locked shulker boxes (which have the kits in them). I also need them to refill after someone takes the kits out of there. Basically, I need a way to make it so when they take the kit out, they can't take another kit unless they want to replace it, but then I also need a way so the shulker box automatically refills after they take the kit out of it.
I think you should try this site: https://www.digminecraft.com/generators/villager_trade.php It has helped me with costume villager trades and more. As for the kits I would say no kits. Make it so the player gets starter gear and let them battle it out and when they get kills let them trade with the villager to get better armor, weapons, etc. I hope you found this helpful =)