# ChestShop

### Setting Up a Shop

To create a shop in *Chest Shop*, follow these steps:

1. **Place a Chest**: First, find a suitable location and place a chest where you want to set up your shop.
2. **Hold the Item You Want to Sell**: Make sure the item you want to sell is in your hand.
3. **Left-Click the Chest**:
   * Left-click the chest with the item in your hand to begin setting up the shop.
   * You’ll be prompted to enter a price in chat. Type in the price you want to charge per item.
   * Your chest is now set up as a shop, and other players can buy the item at the set price.

### Buying from a Shop

To purchase items from another player’s shop, do the following:

1. **Right-Click on the Shop Chest**: Find a chest with an item you want to buy, then right-click on the chest.
2. **Review the Price and Item Details**: The plugin will display the item type, quantity, and price. Make sure it’s the item and price you want.
3. **Complete the Purchase**: If everything is correct, confirm your purchase. The cost will be deducted from your balance, and the item will be added to your inventory.

### Selling to a Shop

If a player’s shop is configured to *buy* items, you can sell to it with these steps:

1. **Look for a Shop Buying Items**: Check for chests labeled as *Buying* to know which items the shop is buying.
2. **Right-Click with the Item in Hand**: Hold the item you want to sell, then right-click on the chest.
3. **Confirm the Sale**: Verify the quantity and price, then confirm. You’ll receive in-game currency for the item, and it will be removed from your inventory.

### Managing Your Shop

Once you’ve created a shop, you can manage it by updating prices, restocking, or removing items:

* **Adjust Prices**: Right-click your shop chest.
* **Restock Your Shop**: Open the chest and add more items of the same type to keep your shop active.
* **Remove or Delete the Shop**: Right-click your shop chest and click twice on \[Remove Shop].

### Tips for a Successful Shop

* **Competitive Pricing**: Check the prices of similar items across other shops to ensure your shop remains competitive.
* **Let Others Know**: Spread the word about your shop location and the items you sell.
* **Regular Restocking**: Keep a good inventory of items in your shop to ensure you don’t miss potential sales.
