MiranaSMP

How to make a chest shop

Chest shops let you sell your items to other players, or buy items from them, while you are offline. A shop is a single chest with a sign on its front. Players walk up, tap the sign, and trade using a simple menu.

What you need

  • A land claim. Shops only work inside a claim where you have build trust: your own claim, or one where the owner gave you /trust. The chest and the sign must both be inside the same claim.
  • A single chest. Use a normal chest. Double chests, trapped chests and barrels don’t work.
  • A sign. Any wood type works.
  • The item you want to trade. One kind of item per shop.
  • Money, if you are making a buy shop (you pay players for their items).

Tip: Need a claim? Type /claim where you stand, or see How to claim land.

Sell shop or buy shop?

When you create a shop, you pick a trade direction:

Direction What happens Good for
Sell (players buy from you) Players pay you and take items out of your chest. Selling farm output, ores, wood, food, enchanted books
Buy (players sell to you) Players give you items and you pay them. The items go into your chest. Collecting materials you need without gathering them yourself

Your sign shows [Sell] or [Buy] at the top, so other players can tell which kind of shop it is.

Bundles and prices

Shops trade in bundles. You pick:

  • Bundle size: how many items are in one bundle, from 1 up to a full stack (64 for most items, 16 for things like ender pearls, 1 for tools and armour).
  • Bundle price: what one bundle costs. Prices are whole numbers only, so 5 works but 2.5 doesn’t.

Players can only trade whole bundles. For example, with a bundle of 16 Oak Logs for 4:

  • 16 logs cost 4
  • 32 logs cost 8
  • 64 logs cost 16
  • 10 logs can’t be bought, because it’s not a multiple of 16

Tip: A bundle size of 1 gives players the most freedom. Bigger bundles are handy for cheap bulk items, where a price per single item would be less than 1.

Making your shop, step by step

1. Place the chest

Place a single chest inside your claim. Don’t put another chest right next to it, or it will turn into a double chest.

2. Fill it with the item

Put the item you want to trade into the chest. Only one kind of item can be in the chest.

  • Sell shop: fill it with the items you’re selling. You need at least one bundle in the chest to create the shop.
  • Buy shop: put in at least one of the item so the shop knows what you want to buy. Leave empty space for the items players will sell you.

3. Attach a sign to the chest

Place a wall sign on the side of the chest, so it hangs on the chest itself. A sign on the floor or on a nearby block won’t work.

4. Write [Shop] on the first line

On the first line of the sign, type [Shop]:

Capital letters don’t matter: [shop] works too. Leave the other lines empty, because the shop fills them in. Then press Done.

5. Fill in the shop form

A form opens with three questions:

Field What to enter
Trade direction Pick Sell (players buy from you) or Buy (players sell to you).
Bundle size How many items per bundle, for example 16.
Bundle price (whole number) What one bundle costs, for example 4.

Tap Submit.

If something is wrong, for example a price with a decimal, the form opens again with a red message at the top explaining what to fix. Your other answers are kept.

6. Done!

You’ll see “Shop created” in chat, and:

  • The sign updates to show the shop:

  • The sign gets waxed, so nobody can edit its text.

  • The item floats above the chest so players can see what you’re trading from far away.

Changed your mind? If you close the form without submitting, nothing is created. Tap the [Shop] sign again to reopen the form.

Running your shop

Restocking and collecting

Only you can open your shop chest. Open it the normal way to:

  • Restock a sell shop with more items.
  • Collect the items players sold to your buy shop, and make room for more.

Tip: The shop can only trade what fits. A sell shop with an empty chest can’t sell, and a buy shop with a full chest can’t buy. Check on your shops now and then.

Your shop menu

Tap your own sign to open the Manage shop menu. Tapping the chest just opens the chest. It shows your current bundle, price and stock, plus two buttons:

  • Change bundle size and price: opens a form to set a new bundle size and price. The sign updates right away.
  • Remove shop: asks you to confirm, then removes the shop. The chest and every item inside it stay where they are.

You can’t trade with your own shop.

Getting paid

  • Sell shop: the money goes straight to you whenever someone buys, even while you’re offline.
  • Buy shop: you pay players when they sell to you. Keep enough money, or players see “The shop owner can’t pay right now” and can’t sell.

Removing a shop

Use Remove shop in your shop menu, or break the sign or the chest. Breaking the chest drops its items like any chest.

Trading at someone else’s shop

  1. Walk up to the shop (within about 5 blocks).
  2. Tap the sign or the chest.
  3. A menu opens showing the bundle, the price and how much stock the shop has.
  4. Tap a quantity button, for example 16x for 4. You only see amounts the shop can actually do right now, based on its stock, your money and your inventory space.
  5. Or tap Custom amount… and type any multiple of the bundle size.

You’ll see “Bought …” or “Sold …” in chat when it’s done.

Safe trading: If anything goes wrong in the middle of a trade, the items go back and the money is refunded automatically. If you ever see a message with an id to give an admin, send that id to staff and they’ll sort it out.

Rules and limits

  • Up to 10 shops per player.
  • One kind of item per shop.
  • Single chests only, with one wall sign on the chest.
  • The chest and sign must be inside one claim where you have build trust.
  • Whole-number prices only.
  • Items that can’t be sold in shops: renamed items, items with lore or custom data, damaged tools and armour, items with extra enchantments (enchanted books with a single enchantment are fine), filled shulker boxes, written books, maps, potions, tipped arrows, fireworks, goat horns, suspicious stew and bundles.
  • Shops are protected. Other players can’t break your sign or chest, and explosions, pistons, fire, mobs and hoppers can’t touch them either.
  • Shops close if the claim goes away. If the claim is deleted, or given to someone who doesn’t trust you, your shop is removed. Your chest and items stay where they are.

Troubleshooting

Message What to do
Shops must be inside a GriefPrevention claim… Make a claim first, and make sure the chest and sign are both inside it.
You need build trust in this claim… Ask the claim owner to /trust you.
Put the item you want to trade in the chest… The chest is empty. Add the item, then tap the sign again.
The chest must hold only one kind of item. Take out everything except the item you’re trading.
The chest holds an item that can’t be traded… The item is renamed, damaged, has lore or is on the list above. Use a plain one.
Put at least … of the item in the chest to open a sell shop. Add at least one full bundle to the chest.
Only single chests can be used for shops. Break the chest next to it so your shop chest is a single chest.
The shop sign must be a wall sign attached to the chest. Place the sign on the side of the chest itself.
The bundle price must be a whole number… Remove the decimal, for example 3 instead of 2.5.
You already own 10 shops, which is the limit. Remove a shop you don’t use anymore.
You are too far from the shop chest. Move closer, within about 5 blocks.
The shop owner can’t pay right now. The buy shop’s owner is out of money. Try later.
Someone else is trading with this shop. Wait a second and try again.
Something went wrong during this trade. Give an admin this id… Send the id to staff. They can check the trade and refund you.

Still stuck? Ask a staff member in game or on our Discord.

← All guides