Player Shops - Buy and sell items to and from other players

Player Shops
Buy and sell items to and from other players

Download (v1.0.0): https://github.com/Nentify/PlayerShops/releases/tag/v1.0.0
Source: https://github.com/Nentify/PlayerShops

Description

Player Shops is my take on ChestShop, allowing players to use signs and chests to create shops to buy and sell items to and from other players on a server.

I have had to use NMS for inventory handling, although only a small amount. As a result of this - Player Shops supports all inventories. You could even set up a shop from a SAG mill or a furnace.

I have used the data API to store the shop data, so there are absolutely zero files for storing shop data.

The shop stores items as item stacks. This means all items are supported, even custom Chisel & Bits designs can be sold in these shops.

Usage

The usage is simple.

  1. Hold the item you wish to buy or sell
  2. Use the command /shop <buy|sell> <price> [quantity]
  • The quantity is not required and will be taken from your held item stack if it’s not specified
  1. Place the sign you want to use for your shop
  • :warning: Leave space for a chest underneath! This is the only supported direction at the moment.
  1. Place a chest (or any inventory) under the sign and fill it with items if it’s a sell shop
  2. Success! Players can now buy/sell from your shop!
1 Like