Is there a mod in Minecraft where you can shop? So I'll open a server and you can do certain things there. For example, with the Custom NPCs Mod I set an NPC in a restaurant and he'll give you something to eat if, in my case, you give him iron bars. The problem is that the bars are then gone but I want it to be so that you can get the income back. So I want to buy myself food in Minecraft and pay for it with iron bars that you get back like in a cash register.
It all sounds a bit strange, but that's how it is.
It would make more sense to use a server plugin, otherwise everyone would want to enter your server exactly the mods your server uses.
As for the question, the offer is rather low. It's best to build a Redstone-based system if you really want to do everything with mods.
Here you can get plugins and / or server software:
For Java: https://www.spigotmc.org/...gotmc.org/ or https://dev.bukkit.org/...ukkit.org/
For PE: https://cloudburstmc.org/