Player Shops

# Chest Shops

Player Shops on the Dashrealms Server are a way of exchanging goods. They take the form of chests in-game with the item being bought or sold appearing on top. This guide will walk through the process of setting up shops using the Shop plugin used by the server. The plugin also has a tutorial video that can be found here (skip to Barter Shop Section).

### Using Shops

To create a chest shop, players will need a chest and a sign. First, place the chest, and then the sign onto the chest or on the block in front of it. The vanilla sign writing interface will appear. Each of the four written line of the sign indicate a certain specification of the resulting shop. This must be placed in a town on a **shop plot**. This is set by a town mayor doing ***/plot set shop***.

#### Barter Shops

*A completed barter shop, swapping 1 dirt for 10 beacons.*
Must be formatted as such;

* Top Line: To indicate to the server that this will be a shop, the sign must contain the text `[shop]` on the top row.

* Second Line: Type the numerical amount of an item you are willing to barter away.

* Third Line: Type the numerical amount of a different item you are willing to barter for the entry placed on the second line.

* Bottom Line: Type the text `barter`, to indicate a barter shop.

Once this is entered onto the sign, press 'Done'. You will exit the sign interface and the text will format and turn red. Afterwards, left-click (punch) the sign with the item you would like to barter away. Then, left-click (punch) the sign with the item you would like to barter for. If you do not own the item you would like to barter for, punch the chest without an item in your hand. Then, open your inventory using as usual, and you will enter the creative menu. Find and select the item you would like to buy and 'throw' it out of your inventory. At this point, the text on the sign should turn from red to green, and the shop is activated. Remember to stock the shop with the item it is bartering away.

To use a barter shop, go up to it and right-click the sign itself. Ensure that you have the item the shop is bartering for in your inventory. The shop will take items from there in increments of the amount the shop barters for and replace them with the item and amount it barters away. To see a preview of the shop's specifications, right-click the chest itself.

## Shop Ownership and Tips

Once the shop has been finalised, you can toggle the item above the chest shop. Using your bare fist and right clicking will toggle between:

* The item
* The item in a frame
* Nothing (shop item appears as text on shop sign instead)

Shops can be made using chests, trapped chests, barrels, or shulker boxes, and double chests can be used in order to double a shop's capacity. To limit the capacity of a shop (particularly for buy shops), put a 'filler' item in each slot that you want blocked. A chest with 26 slots of cobble, for example, will only buy carrots until it has one full stack of carrots. Any other items in the chest shop will not be sold, so you may also put shulkers of your shop item to make restocking the shop more expedient.

You can see extended information about your owned shop by shift-right-clicking the chest itself, similar to what customers do with a simple right click.

Other players will not be able to open or break someone's chest shop irrespective of the claim situation, and it is not possible to allow people to do so with commands. To remove your chest shop, break the sign attached to the chest. The chest will become a vanilla chest once again.