📘Shop Guide
How to create shops and add items into shops.
Create Shop In-Game
Create the menu:
/shop create shop <name>
Set menu title:
/shop set shop <name> title <title>
If you followed these steps you should now know how to create shops in-game. To test the shop after you created it run /shop open shop <shop>
.
Create Shop In YAML
Open the
shops.yml
and create a new key under theshops
key, this will be the name of the shop.Under your new shop key input a
title
and theitems
key, along with the required details for each key.When you have completed that it should look something like this:
When you've made all your changes in the file, run the command /shop reload
to apply your changes in-game or restart your server.
Add Shop Item In-Game
Get the item you want to add and put it in your main-hand slot. You can also edit the item if needed with
/shop item
.While holding the item run the command
/shop add shop <shop> <buy> <sell>
.If you ran that command the item you're holding should now be added to the target shop with the set buy and sell value. No restart or reload needed.
Remove Shop Item In-Game
Open the shop that has the item you want to remove and sneak-click it. If you're OP it should give you a copy of the shop display item.
Now with that item in your hand run the command
/shop remove shop <shop>
.If you ran that command the item you are holding should now be removed from the target shop. No restart or reload needed.
Last updated