Chestshops is the way players can buy and sell their items! In this guide you will learn how to make one.
Chestshops is the way players can buy and sell their items! In this guide you will learn how to make one.
Place down a chest and put the item you want to sell in that chest.
Place a sign on the front of the chest. Leave the first line blank. On the second line type how many items you want the player to buy at once, for this example I'm typing "1". On the third line type "B" and then the price, for this example I'm typing "B 10". On the forth line just type a "?" and when you exit the sign the "?" will turn into the items id. (If you have multiple items in the chest it will pick the first item, it won't automaticly switch item if one runs out)
When the first line turns into your name, and the forth line changes into the items id the shop is now working.
Now players can right-click the sign to buy diamonds for 10 bucks each.
You can also make a chestshop that players can sell items to. Just like the first example the first and second line does not change for this guide, only the third line does. You can type "S" instead of "B" so the player can sell their items to your chest. For this example I'm typing "B 10 : S FREE" which means players can now buy an item by right-clicking for 10 and sell the item to my chest by left-clicking for nothing.