📘Shop Guide

How to create shops and add items into shops.

Create Shop In-Game

  1. Create the menu: /shop create shop <name>

  2. 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

  1. Open the shops.yml and create a new key under the shops key, this will be the name of the shop.

  2. Under your new shop key input a title and the items key, along with the required details for each key.

  3. When you have completed that it should look something like this:

shops:
    new-shop:
        title: '&3&lEpic Shop'
        items:      
            '1':
                item: rO0ABXNyABpvcmcuYnVra2l0LnV0aWwuaW8uV3JhcHBlcvJQR+zxEm8FAgABTAADbWFwdAAPTGphdmEvdXRpbC9NYXA7eHBzcgA1Y29tLmdvb2dsZS5jb21tb24uY29sbGVjdC5JbW11dGFibGVNYXAkU2VyaWFsaXplZEZvcm0AAAAAAAAAAAIAAkwABGtleXN0ABJMamF2YS9sYW5nL09iamVjdDtMAAZ2YWx1ZXNxAH4ABHhwdXIAE1tMamF2YS5sYW5nLk9iamVjdDuQzlifEHMpbAIAAHhwAAAAA3QAAj09dAABdnQABHR5cGV1cQB+AAYAAAADdAAeb3JnLmJ1a2tpdC5pbnZlbnRvcnkuSXRlbVN0YWNrc3IAEWphdmEubGFuZy5JbnRlZ2VyEuKgpPeBhzgCAAFJAAV2YWx1ZXhyABBqYXZhLmxhbmcuTnVtYmVyhqyVHQuU4IsCAAB4cAAADDB0AAhSRURTVE9ORQ==        
                buy: 2.0        
                sell: 1.0

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

  1. 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.

  2. While holding the item run the command /shop add shop <shop> <buy> <sell>.

  3. 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

  1. 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.

  2. Now with that item in your hand run the command /shop remove shop <shop>.

  3. 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