How to setup a shop

Shop plugin guide!

 

For player item protection in the hub, we use a plugin to control the selling of items in the shop, this short guide will teach you how to open your very own shopkeeper shop.

 

 

How to create a shop?

There are 4 different types of shop you can create. These are either Buying, Selling, Trading or Book Shop. Each of these shops do something very different so it's important to know the difference and how you set each one up.
Shops are easy to setup and only require a chest and a villager egg which you can purchase from the egg-shop villagers in the middle of each shop level.

To switch between the shop type, simply right click the egg when facing the air.
To switch between what entity the shopkeeper displays as simply shift right click. They can either be Villager, Snowman, Witch, Evoker, Illusioner or simply a sign.

You can customize each villager when inside the gui with the many different customization tools, you can also name them.

                                                     customize.png

Selling Shop:

Begin by right clicking a chest, this chest will act as your storage for shops and payment. Fill this chest with the items that you wish to stock.

                                   sign.png

Then proceed by right clicking the place where you would like your villager to be.

                                         villager.png

Then with an empty hand, shift right click the villager to open their GUI. Inside you will all the items you are selling with barrier blocks below them. Use these barrier blocks to set the price by simply clicking them. Remember to also set the quantity by pressing the item you are selling

                          inside.png

Buying Shop:

Begin by right clicking a chest, this chest will act as your storage for shops and payment. Fill this chest with diamonds to give to your customers, and also with the items you wish to buy of people, 1 of each item is enough you can set the quantity of how much you wish to buy when inside the GUI.

                                   sign.png

Then proceed by right clicking the place where you would like your villager to be.

                                         villager.png

Then with an empty hand, shift right click the villager to open their GUI. Inside you will all the items you are buying from players, Using the barrier blocks set the how much you would like to purchase the goods for. Remember to also set the quantity by pressing the item you are buying

                          inside.png

 

Trading Shop:

Begin by right clicking a chest, this chest will act as your storage for shops and payment. Fill this chest with the items you want to trade to your customers. 1 of each item is enough you can set the quantity of how much you wish to buy when inside the GUI.

                                   sign.png

Then proceed by right clicking the place where you would like your villager to be.

                                         villager.png

Then with an empty hand, shift right click the villager to open their GUI. Inside you will find the items you are wishing to give to people, to set a trade simply place the item you wish to trade for on the third row (as shown on gif below). This will set the trade. You are able to increase the amount of these items by simply clicking the item again, same as setting how many of your items to trade for.

                          howto.gif