Universal Shops
Universal Shops is a Fabric (and Quilt compatible) trade shop mod designed to be flexible and usable in many types of servers. It works purely server side (still works on singleplayer), so it can work on your vanilla client compatible or modpack based servers. It includes craftable, Trade Shop block for players and Admin Trade Shop for admins/map makers. Setup of both is the same.
It also checks against Common Protection API, to make sure player has access to source chests/containers. Using some Common Protection API compatible protection mod is suggested (for example GOML or HTM).
Using Trade Shops
First thing you need to do (as a player) is to craft Trade Shop block. You can do it with any 4 planks, 1 wool and 1 iron ingot.
Then you need to place it against some container (either on top of one or on the side).
After that, Shop Settings will open. You need to set up things like what type of stock is sold and the price. Optionally you can enable support for hoppers or disable hologram.
To change settings, just click item corresponding to them. In case of item based one you can set them by clicking (empty/set) slot. If your cursor holds item, it will be copied as a settings. Otherwise, it will open menu to set it manually.
And done, shop is fully operational. You only need to put required stock in your container and others can just buy it.
To buy things you just click to open the shop and then take sold item. You can hold shift to move it directly to your inventory!
Download
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+