Plugin 

-=- Guide To Making Shops With Massivelock -=-

massivecraft-logotype-plugin-massivelock-2000.jpg

This tutorial will serve as a guide to making shops with the MassiveLock plugin. The example shown in this tutorial will be making a shop that sells Cookies.
  1. Start by creating the lock. Type /lock create [name]
  2. Lock the chest with the lock. You can do this by typing /lock punch and then punching the chest, or typing /lock tool and hitting the chest with the enchanted stick it gives you. If using /lock punch, remember to re-type the command again to deactivate lock mode.
  3. Once you have created a lock and applied it to a chest, edit the lock to be able to sell items. This is done by typing /lock edit mode shop.
  4. Now that your lock knows that it is supposed to sell items, you can tell it how much those items should sell for, how much it should buy them for, and in what amounts, add prices!! The easiest way to do this is to hold the item in your hand and type /lock edit shopprices add B# S# Q#. The B, S, and Q refer to the Buy, Sell, and Quantity. Let's say you wanted to sell 100 cookies for 5 regals. You would type /lock edit shopprices add b5 q100. If you wanted your lock to also be able to buy cookies, but at 1 regal per 100, you would type /lock edit shopprices add b5 s1 q100. You do not need to add both a sell price and a buy price, and can leave either blank if you wish.
  5. Now that you have a lock, have told it to buy and sell, as well as what it is selling and for how much, it is time to place the items into the chest! You do this by SHIFT+CLICKING the items into the chest.
Want to learn more about MassiveLock? Follow this tutorial: https://www.massivecraft.com/massivelock

Visual Guide

Step One:
mIqPUE9.png

xtviWOD.png


Step Two:
vLkKF9k.png

eCKzrjD.png


Step Three:
g9RXx48.png

cpRBrtT.png


Step Four:
49662aa88993d0d4ac037d8659965737.png

La8lZbg.png


Step Five:
S5aq5zI.png


Want to remove cookies from this shop? There are two ways to do this:

If you DO have the item, type
f495e88474872d74de0c6823c112f242.png

While holding the item

mX6Uxti.png


If you DO NOT have the item, type
2031e302622cef1831a9203500baf38f.png


z2ulMPO.png


iV3X0zD.png

liBlNb4.png


Q: Can I add more than one item to my shop?
A: Yes! Just use the command in step 4 for each item you want to add! Be sure to limit the amount of items in one lock to 54, due to the limitation of the lock GUI. If you have more, simply create a new lock. You can also add 1 lock for each item if that is how you prefer your shop to look.

Q: What is this part of the /lock show that says ShopAccount? Can I change that?
A: The shop account just tells you who the money goes to/comes from when using a shop. Although it is editable, you can only set it yourself.

Q: Why do I see "Massivelock has overridden user access" when I click a chest?
A: This simply means that under normal circumstances, you wouldn't be allowed to open a chest/door there. Since Massivelock overrides all other plugins for access it allows you to use this door/chest since you are added to the lock or its public.

Q: I'm afraid I might accidentally set the prices to sell higher than buy and I will lose my money.
A: Well our lovely techstaff thought ahead and made that IMPOSSIBLE. You cannot set the sell price greater than the buy price. If you try you will get this message:

38382c510a1ef3d8fee96113cf1de371.png


Q: There are blank spaces in my shop GUI. What are they? Why are they there?
A: There are two parts of any shop. The physical chest and the lock information. So those blank spaces are simply an item that is added to your lock information, yet is NOT in the chest. So that blank space is where that item WOULD be if it was in the chest. A simple way to manage these is to keep track of what is purchased and if you have no more of that item, remove that item from the lock information.
 
massivecraft-logotype-plugin-massivelock-2000.jpg

This tutorial will serve as a guide to making shops with the MassiveLock plugin. The example shown in this tutorial will be making a shop that sells Cookies.
  1. Start by creating the lock. Type /lock create [name]
  2. Lock the chest with the lock. You can do this by typing /lock punch and then punching the chest, or typing /lock tool and hitting the chest with the enchanted stick it gives you. If using /lock punch, remember to re-type the command again to deactivate lock mode.
  3. Once you have created a lock and applied it to a chest, edit the lock to be able to sell items. This is done by typing /lock edit mode shop.
  4. Now that your lock knows that it is supposed to sell items, you can tell it how much those items should sell for, how much it should buy them for, and in what amounts, add prices!! The easiest way to do this is to hold the item in your hand and type /lock edit shopprices add B# S# Q#. The B, S, and Q refer to the Buy, Sell, and Quantity. Let's say you wanted to sell 100 cookies for 5 regals. You would type /lock edit shopprices add b5 q100. If you wanted your lock to also be able to buy cookies, but at 1 regal per 100, you would type /lock edit shopprices add b5 s1 q100. You do not need to add both a sell price and a buy price, and can leave either blank if you wish.
  5. Now that you have a lock, have told it to buy and sell, as well as what it is selling and for how much, it is time to place the items into the chest! You do this by SHIFT+CLICKING the items into the chest.
Want to learn more about MassiveLock? Follow this tutorial: https://www.massivecraft.com/massivelock

Visual Guide

Step One:
mIqPUE9.png

xtviWOD.png


Step Two:
vLkKF9k.png

eCKzrjD.png


Step Three:
g9RXx48.png

cpRBrtT.png


Step Four:
49662aa88993d0d4ac037d8659965737.png

La8lZbg.png


Step Five:
S5aq5zI.png


Want to remove cookies from this shop? There are two ways to do this:

If you DO have the item, type
f495e88474872d74de0c6823c112f242.png

While holding the item

mX6Uxti.png


If you DO NOT have the item, type
2031e302622cef1831a9203500baf38f.png


z2ulMPO.png


iV3X0zD.png

liBlNb4.png


Q: Can I add more than one item to my shop?
A: Yes! Just use the command in step 4 for each item you want to add! Be sure to limit the amount of items in one lock to 54, due to the limitation of the lock GUI. If you have more, simply create a new lock. You can also add 1 lock for each item if that is how you prefer your shop to look.

Q: What is this part of the /lock show that says ShopAccount? Can I change that?
A: The shop account just tells you who the money goes to/comes from when using a shop. Although it is editable, you can only set it yourself.

Q: Why do I see "Massivelock has overridden user access" when I click a chest?
A: This simply means that under normal circumstances, you wouldn't be allowed to open a chest/door there. Since Massivelock overrides all other plugins for access it allows you to use this door/chest since you are added to the lock or its public.

Q: I'm afraid I might accidentally set the prices to sell higher than buy and I will lose my money.
A: Well our lovely techstaff thought ahead and made that IMPOSSIBLE. You cannot set the sell price greater than the buy price. If you try you will get this message:

38382c510a1ef3d8fee96113cf1de371.png


Q: There are blank spaces in my shop GUI. What are they? Why are they there?
A: There are two parts of any shop. The physical chest and the lock information. So those blank spaces are simply an item that is added to your lock information, yet is NOT in the chest. So that blank space is where that item WOULD be if it was in the chest. A simple way to manage these is to keep track of what is purchased and if you have no more of that item, remove that item from the lock information.
 
Can i add more than one item to my shop?
Uppercase "I" pls.

The shop account just tells you who the money goes to/comes from when using a shop. And no it cannot be edited by players at the moment.
False. It can be edited. But you can only set yourself :P

  • Add prices!! The easiest way to do this is to hold the item in your hand and do /lock edit shopprices add item B# S# A# (The B, S, and A refer to the Buy, Sell, and Amount. So if I want to sell my cookies for 5r and let people sell them to me for 2r and i want them to go 10 at a time. I would do B5 S2 A10)
This will default to amount being 1 of nothing specified.

Step 6. Wait until Madus makes this more user friendly.
 
I am getting "MassiveLock has overridden use access" when I tried this. I see one in the market working properly, but not sure why mine isn't working. Thanks
 
I am getting "MassiveLock has overridden use access" when I tried this. I see one in the market working properly, but not sure why mine isn't working. Thanks
It sounds like you have too many parts on that one lock but I'm not sure. Try doing /lock create again and then doing the rest of the tutorial.
 
Same result.

"/lock edit shopprices add item B#" - what's the "item" part?
If I use "item" it says item is not a regal value. I feel like I'm really close.
 
I am getting "MassiveLock has overridden use access" when I tried this. I see one in the market working properly, but not sure why mine isn't working. Thanks
This just means that.. under normal circumstances, you cant open the chest. But massivelock overrides all other plugins for use access. So if you arent added to a region, but you ARE added to a lock (or the lock is public) then you can use it anyway. That is the override message purpose.
 
How do I see the things prices of the things inside my chestshop as in step five? Other people can see my prices, but I can not.
 
How do I see the things prices of the things inside my chestshop as in step five? Other people can see my prices, but I can not.
You can't. Not sure of its a glitch or not. If you open your chest and click the show button, and then the right arrow on the top, you can see a list of your prices you have for that shop.
 
How do I see the things prices of the things inside my chestshop as in step five? Other people can see my prices, but I can not.
You can't. Not sure of its a glitch or not. If you open your chest and click the show button, and then the right arrow on the top, you can see a list of your prices you have for that shop.
Do /lock show
And then click the arrow as 65jes89 said

I do believe I heard one of the tech staff say that you should be able to see your own prices in a shop lock and that's being worked on. Don't quote me on that.
 
If you hold the item that you want to sell in your hand just type /lock edit shopprices add b5. That worked for me.
The argument "hand" or "item" is not required anymore. We thought it would be most convenient for the players if you always add the shopprice simply for the item you are holding in your hand.


I do believe I heard one of the tech staff say that you should be able to see your own prices in a shop lock and that's being worked on. Don't quote me on that.
It'll be included in the next server update, madus already completed that.
 
I am getting "MassiveLock has overridden use access" when I tried this. I see one in the market working properly, but not sure why mine isn't working. Thanks
That's normal, I think! It means other players are allowed to open it, whereas usually due to perms in the market space they wouldn't. It overrides the old plugin is what it means.
 
That's normal, I think! It means other players are allowed to open it, whereas usually due to perms in the market space they wouldn't. It overrides the old plugin is what it means.

Except they can't open it. It gives that error and that's it. They see the orange sparkles for a chest shop but it acts like a regular chest. I've tried everything listed in this thread. I just cannot figure out what's wrong.

@Gethelp has a test chest shop that is doing the same thing.

What's going on?
 
Except they can't open it. It gives that error and that's it. They see the orange sparkles for a chest shop but it acts like a regular chest. I've tried everything listed in this thread. I just cannot figure out what's wrong.

@Gethelp has a test chest shop that is doing the same thing.

What's going on?
WorldGuard is buggy, I think. It works for double chests not single chests and it is really silly.
 
I added this quote from @ulumulu1510
In theory, the MassiveLock shop feature works on all "containers" whether that being chests, trapped chests, minecart chests, hoppers or other.

In practise, people might need to get used to that and won't recognize them as shops probably. But atleast you are able to ^^

My suggestion to accommodate this is to include the word SHOP in all of your shop locks. So when people click it and see the name in their chat.. they will understand that it is a shop, regardless of it being a hopper, dispenser, etc.
 
It'd be cool if it applied to item frames and what not as well, altohugh I can see why that wouldn't work.
 
I'm having some trouble with my chest shops.They were all switched from shop to private and when I tried to switch them back, I got this error.
Shop%20Mode_zpshnuu4nqc.png


I tried switching to public, but that just made all the goods inside my chest free to the public. When I use the "show" command, I can still see prices for everything inside the chest.
 
I'm having some trouble with my chest shops.They were all switched from shop to private and when I tried to switch them back, I got this error.
Shop%20Mode_zpshnuu4nqc.png


I tried switching to public, but that just made all the goods inside my chest free to the public. When I use the "show" command, I can still see prices for everything inside the chest.
@Madus did something happen with the shop lockmode?
 
I'm having some trouble with my chest shops.They were all switched from shop to private and when I tried to switch them back, I got this error.
Shop%20Mode_zpshnuu4nqc.png


I tried switching to public, but that just made all the goods inside my chest free to the public. When I use the "show" command, I can still see prices for everything inside the chest.

@Madus did something happen with the shop lockmode?

Last time this happened they were fixing some bugs with MassiveLock Shop mode. This is probably the case again. No worries, once the shop mode comes back all your shop details will still be saved by MassiveLock. You'll just have to set it back to shop.
 
IMPORTANT SHOP UPDATE
Massivelock was updated today

Now customers see a GUI when shopping allowing multiple people to shop at once

HOWEVER

This GUI shows all the items added with /lock edit shopprices add B S Q so even if that product is out of stock it will still be visible
as you can see. These are all the items I have added to the lock (or some of them. If i have more than 54 the customer wont know)

AS A SHOP OWNER
you SHIFT+CLICK the lock to see the ACTUAL inventory of that chest.

@Cayorion said in his broadcast that this change was not only to allow more than one player to shop at once... but until this change... if your shop was buying from the players (meaning they sell to you) they couldnt see what was available to sell!
 
Last edited:
@Zacatero

Do you know if the shops can work in a dropper or dispenser in regalia? I've tried a few times but have had no luck allowing players to bypass a lock in a region. I'll give it the god ol' alt test rn but I'm sure I'll have the same result.
 
@Zacatero

Do you know if the shops can work in a dropper or dispenser in regalia? I've tried a few times but have had no luck allowing players to bypass a lock in a region. I'll give it the god ol' alt test rn but I'm sure I'll have the same result.
Here is what i know since i do not have experience with shops and dispensers/droppers.

Dispensers and Droppers can be locked. And since they are containers they can be used as shops

I also do know that Areashop + Singlechest shops do not mix well. It might be the same issue with dispensers/droppers.
 
IT WORKS!!!

I think because of the new GUI linking to the lock and not the dropper, any storage system can work now and bypass the region.

This probably means you could put 52 items in a vault in the factions, and then use a dropper in regalia to receive said items.

In short, this has potential.