> For the complete documentation index, see [llms.txt](https://bcuziwasbored.gitbook.io/sleeplessmc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bcuziwasbored.gitbook.io/sleeplessmc/custom-features/player-shops.md).

# Player Shops

## Types of Player Shops

There are three different types of player shops. You can buy, sell, or barter items to/from other players.

* Buy - Purchase items from players for a set price
* Sell - Sell items to players for a set price
* Barter -&#x20;

## Creating a Shop

### Buy Shop Format

Line 1: `[shop]`\
Line 2: `<number of items to buy>`\
Line 3: `<price>`\
Line 4: `buy`

### Sell Shop Format

Line 1: `[shop]`\
Line 2: `<number of items to sell>`\
Line 3: `<price>`\
Line 4: `sell`

### Barter Shop Format

Line 1: `[shop]`\
Line 2: `<number of items to trade for>`\
Line 3: `<number ot items to give>`\
Line 4: `barter`

### Example Sell Shop

To sell 32 string for $350, you would use the following format:

`[shop]`\
`32`\
`350`\
`sell`

You will then need to left-click the sign with the item you want to sell.

### Example Buy Shop

To buy 32 string for $175, you would use the following format:

`[shop]`\
`32`\
`175`\
`buy`

You will then need to left-click the sign with the item you want to buy.

### Example Barter Shop

To barter 8 wool in return for 32 string, you would use the following format:

`[shop]`\
`32`\
`8`\
`barter`

You will then need to left-click the sign with the item you want to give out, then left-click with the item you want to recieve.
