Player shops from any chest. Server-side, theft-proof, works with vanilla clients.
Every survival server ends up with a market district, and every market runs on trust: leave some diamonds in a chest and hope your customers pay. Tradepost turns any chest or barrel into a real shop that sells (or buys) while you're offline. Only the server needs it; players join with a completely vanilla client.
/shop sell 16 2 diamond (sell 16 of the held item for 2 diamonds).A sign is placed on the side you're looking at, and the shop is open.
[Sell]
16 × Oak Log
2 Diamond
Alex
When the shop can't trade, the owner's name is replaced with Out of stock, Shop full or Out of money, so customers know before they walk over. Signs are waxed so nobody can edit them, and if one gets knocked off, it comes back.
/shop buy 32 2 emerald makes a shop that buys 32 of the held item for 2 emeralds, paid from the chest. Great for farmers and anyone collecting resources.
Only the owner (and operators) can:
Nobody else can drain a shop another way either:
Double chests are fully protected, both halves.
If you're online, you get a message for every sale. If you're offline, you get a summary when you log in: "While you were away your shops made 12 trades. Earned: 24 Diamond."
| Command | |
|---|---|
/shop sell <amount> <price> <currency> |
Open a shop that sells the held item (look at a chest or barrel) |
/shop buy <amount> <price> <currency> |
Open a shop that buys the held item |
/shop info |
Details of the shop you're looking at: stock, money, status |
/shop remove |
Close the shop you're looking at (the chest keeps its contents) |
/shop list |
All your shops, with locations and whether they're open |
Owners can also right-click their own sign to see its stock. Breaking a shop's chest closes the shop.
Licensed CC0 1.0: use it in any modpack, no permission needed.