Hello There, Guest!
Making sign shops!
12-06-2010, 00:53, (This post was last modified: 12-19-2010, 01:06 by yottabyte.)
Post: #1
Making sign shops!
[size=50px]Yottabyte's guide to sign shops[/size]

First of all, lets take a look at a typical shop.
[Image: 2010-12-05_23.29.58.png]
This may look all complicated at first but I will show you how it works.

Now, to start off I would like to use an example. I want to make a sign that sells wood in stacks of 8. One stack will cost 4 kiwi and I want to put 64 wood into the stock.

[size=40px]1) the shop sign[/size]
Put a sign anywhere and do the following:

[list type=decimal]
[*]First line you put your username
[*]On the second line you put either buy or sell. buy=you sell stuff, sell=you buy stuff
[*]On the third line is first the item id (in my example, 5) and then the amount of the specific item, so my example sign would say 5 8.
[*]The fourth line is the cost of the item/stack. In my example I would put 4. Simple as that.[/list]

This would make my sign say
Code:
yottabyte
buy
5 8
4

[size=40px]2) the stock sign[/size]
The sign you can see over the basic shop sign is my stock sign. These are very easy to make, just put a blank sign next to your shop sign. Can be to the left,right,over or under.

[size=40px]3) stocking the sign[/size]
To stock items in your shop, do the command /sign stock <item> <amount>. In my example I would do /sign stock 5 64. Note that if you sell items that can't stack such as food or tools you have to make the amount 1 every time.

[size=35px]3.1) ALSO[/size]
For those of you bored of typing /sign stock 321 1 /sign stock 321 1 /sign stock 321 1
I made a little program for stacking the sign! You simply type in item, amount and number of stacks and it does the job! It uses T as the chat button!

DOWNLOAD HERE

That's it! If you've done everything right people should now be able to right-click your shop with an empty hand to buy stuff from you! Good luck sellin/buying  Smiley

12-09-2010, 20:07,
Post: #2
Re: [Guide] Making sign shops!
Nice work C:

You are now breathing manually.
12-22-2010, 23:26,
Post: #3
Re: Making sign shops!
Complicated but I think I understand.
12-23-2010, 06:26,
Post: #4
Re: Making sign shops!
It's the best thing around for when your offline.
12-23-2010, 10:28,
Post: #5
Re: Making sign shops!
Now, I have no experience with programming or anything of the sort and I just wanted to clear up that this actually works? The part I'm confused with: Are the blocks actually there and we're using the honor system or does making the sign actually add it to your inventory and actually give the money to the store keeper?
12-24-2010, 07:33,
Post: #6
Re: Making sign shops!
The items are bound to the sign/shop system and any form of money or "kiwi" earned is credited to your account. Should someone destroy your sign, fear not, as the shop still exists with items, you just need to input the proper commands to automatically receive your items back.
12-24-2010, 12:09,
Post: #7
Re: Making sign shops!
I think that about clears it up, thanks.
01-10-2011, 02:40,
Post: #8
Re: Making sign shops!
I like this!


Forum Jump:


Users browsing this thread: 1 Guest(s)