List items you want to get or items you want to sell here.
  • User avatar
  • User avatar
  • User avatar
  • User avatar
By BSGSamuel
#165097
Since the introduction of hoppers and comparators it has been possible to create automatic shops but no one seems to have made any yet. Not sure why no one bothered but I thought I would give it a try.

How it works
Spoiler:
Image

There are a couple of booths, each with a different item you can buy. You put a diamond in the hopper and the shop spits a certain number of items at you. Here is a video:

[youtube]PoXt23bHiiw[/youtube]

Above the booth is an indication of how many trades are still available. The sign under the last light that is switched on indicated the minimum number of trades still available. In the picture below is an example with only one light switched on. In this case there is at least one trade to go but there could also be 41.

Image

In that case it is not a good idea to throw large number of diamonds in at once as you may not get anything back for them if the shop runs out of stock before it has processed all the diamonds. So instead just throw diamonds in one at a time. Inside of the booth is another light showing whether there is still a trade available, when this one switched off there are no more items and you shouldn't put any more diamonds in the hopper as you will lose them without getting any items.

If anyone is interested in the redstone, I can do a tutorial on that if you want.
Where it is
Spoiler:
The shop is currently located at -175x -125z under the white house.

Image

There is a stairway next to the house

Image
What's for sale
Spoiler:
Currently:

- 64 oak logs per diamond
- Jungle sapling per diamond
- 8 iron blocks per diamond

If you are interested in certain items, let me know, maybe I can add them (if they are items I am willing to sell).
By eah
#165103
Now that you bring it up, I think it's worth mentioning that having multiple shops around spawn can be dangerous for the sellers if they're not careful.

You are selling 64 logs for 1 diamond. Another shop could sprout up selling 1 diamond for 32 logs. A player could plausibly abuse this by giving you 1 diamond in exchange for 64 logs and then giving the second shop the 64 logs in exchange for 2 diamonds. The player could continue doing this, doubling his diamond count only for the effort put into obtaining the original 1 diamond and trading at the shops. The second shop gains your logs and the player and you each gain equal share of the second shop's diamonds.
Last edited by eah on Fri Jun 14, 2013 8:33 am, edited 2 times in total.
By BSGSamuel
#165104
DerekITolduso wrote:How does it know that you are putting i diamonds and not dirt?
It's an item sorter, it will only accept diamonds. All the slots in the hopper are filled with diamonds so that's the only thing that will stack.
User avatar
By dlgn
#165114
I don't know what I was expecting...
By xxcrapperzxx
#165126
This is a great idea. Does the item used to purchase have to be diamonds? I was thinking if you can use iron ingots instead.
By SuperCreeper007
#165139
DerekITolduso wrote:Can you make a tutorial for this so i can make one :D
Just search it on youtube?

[youtube]PiKcva8X00o[/youtube]
[youtube]8uskR6sRBy4[/youtube]
[youtube]rdOBHecBZos[/youtube]
[youtube]wdZlcmmLiNo[/youtube]
[youtube]tE7DZwRCOZM[/youtube]
[youtube]lkyABPnHBjU[/youtube]
[youtube]TrFh66PlFwo[/youtube]
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]