• • 10/24/25 11:54 am • 4 logs
- 4.9k views • 2 today
- save_alt 592 downloads • 0 today
- Compatibility
- Minecraft 1.21
- Changes include
90
With this datapack you can place a server global shop for your multiplayer world, where (almost) all items in the game can be bought and sold for diamonds!
The shop uses an easy-to-use chest menu, where you can browse the available items conveniently placed in different categories. With a few clicks of the mouse you can buy/sell your items from/to the server shop. You can only buy items that other players have sold to the shop. This means that everything is player-generated, as opposed to villager trading where villagers "create" new items.
Every item in the game has been assigned a value and a demand. When the shop storage of a certain item is large compared to the demand, the value is reduced so that you won't continue to make profits after selling a million cobblestone blocks... (The buying price is still fixed though, as the trader is a clever businessman!)
Multiple shops can be placed different places in your world without problem, and will all contribute to the same global server economy.
Let me know if I have missed some important items, and especially if you discover any bugs or exploits... :)
Installation:
- Download the .zip file and place it inside the datapacks folder in your world save.
- Place/remove the shop in your world using the commands below:
/function shop:place_shop
/function shop:remove_shop
The shop uses an easy-to-use chest menu, where you can browse the available items conveniently placed in different categories. With a few clicks of the mouse you can buy/sell your items from/to the server shop. You can only buy items that other players have sold to the shop. This means that everything is player-generated, as opposed to villager trading where villagers "create" new items.
Every item in the game has been assigned a value and a demand. When the shop storage of a certain item is large compared to the demand, the value is reduced so that you won't continue to make profits after selling a million cobblestone blocks... (The buying price is still fixed though, as the trader is a clever businessman!)
Multiple shops can be placed different places in your world without problem, and will all contribute to the same global server economy.
Let me know if I have missed some important items, and especially if you discover any bugs or exploits... :)
Installation:
- Download the .zip file and place it inside the datapacks folder in your world save.
- Place/remove the shop in your world using the commands below:
/function shop:place_shop
/function shop:remove_shop
4 Update Logs
Update to 1.21.10 : by Exandreal 10/24/2025 11:54:14 amOctober 24, 2025 @ 3:54 pm UTC
Added new copper items to shop
Added wooden/stone/leather tools and armor
Added wooden/stone/leather tools and armor
LOAD MORE LOGS
6421344
119



Have something to say?
for instance, I don't quite understand why this uses diamonds/custom NBT assigned shards when there's already a currency in minecraft called emeralds and emerald blocks which already has scarcity based on the villager trading system mojang already has set up. Maybe i'm just weird for noticing that none of these economy/trader things use emeralds when there's no other use for emeralds aside from trading.
It's a good datapack though. I did have it spawn 2 traders for some reason but that's probably just a random bug.
I agree that it is a bit annoying with the different currencies different mods/datapacks uses... :)
I think the reason that emeralds are not widely used as a currency, is because they are fairly easy to farm with a raid farm, thus destroying the value of the currency. Diamonds on the other hand have no means of easy automatic farming, so they keep their value better. :)
Weird with the 2 traders... I have not encountered that myself.
the 2 traders thing happened at around 250 Y when I left the area and re-entered with a draw distance of about 2 and a simulation distance of 5. I had other datapacks enabled so it might be a bug on my end but figured i'd just report that.
I don't think diamonds are very hard to get. Besides with my shop, you can trade items for diamonds first, and then buy stuff with those diamonds :)
It's a matter of balance for me. The guy who makes a raid farm will instantly become a billionaire in emeralds without much effort, while diamonds do not have this issue. But I suppose it's a matter of taste :)
Thank you for the bug report. It might have been the very low render distance you use, that makes the datapack think the trader is gone and spawns a new one, but in reality the trader just hasn't loaded yet...