ChestShop Plugin
ChestShop is a plugin that allows players to create their own stores that can function make sales or buy items while they are offline. The ability to sell and buy items without the actual presence of a player is incredibly important to the flow of the economy.
Setting up a Chestshop
How to create a ChestShop?- Place a chest, if you haven't already.
- Place a sign 1 block near the chest (for example, above the chest)
- On the sign, write:
(Item name can actually be item ID or alias. Information on item IDs can be found
HERE or by typing
/iteminfo <Item name> or holding the item in hand. So
/iteminfo diamond would tell you the alias:
Diamond and item ID:
264.)
First line will be filled in by the plugin automatically.
Price is a combination of buy and sell price.
You have to have
B near buy price (people buy from you), and
S near sell price (people sell to you).
If you have both B and S, separate them with a colon - :For example:means that AcrobotPL wants to
sell 64 diamonds for
10 currency, and
buy them back from you for
5 currency.
Also, if you put "free" instead of price, it is free to buy or sell
- Now, when you finish editing the sign your shop will be automatically created and people won't be able to break chest, sign or the block the sign is on
Use and Maintenance
USING SHOPSYou could buy and sell by right and left clicking the sign for a long time.
Now it's the only way to use the shops.
It's SIMPLE!
Just
LEFT-CLICK to
SELL to shop, and
RIGHT-CLICK to
BUY from shop.
(This can be changed in the config file)
DESTROYING SHOPSIf you want to delete your old shop, simply SNEAK and destroy the sign.
It's that easy =)
STOCKING THE SHOPSYou can either open the chest and stock it up, or click on your own sign - it will open chest's inventory
Example Image