Chest Shops: Difference between revisions

From Wikicubia
Jump to navigation Jump to search
Baba zombie (talk | contribs)
mNo edit summary
Baba zombie (talk | contribs)
mNo edit summary
Line 2: Line 2:
[[File:Chest_Shop_ex.png|200px|thumb|right|An example of a shop]]
[[File:Chest_Shop_ex.png|200px|thumb|right|An example of a shop]]


Chest Shops are a feature of Iconomy that allow players to create shops using chests and signs.
Chest Shops are a feature that allow players to create shops using chests.


To create a shop, place a chest with whatever you want to sell inside it, and a sign above it. On the sign, write:


'''(Leave this line blank, your username will automatically be inserted)'''
===Creating a ShopChest===
Want to create a new shop from scratch? That's easy.
#Place a chest
#Hold the item type you'll be selling
#Use the command: <font color=blue>/shop create [Quantity] [BuyPrice] [SellPrice]</font>
#Right-click your chest within 15 seconds
#Done! Your shop's information will be displayed in the form of a hologram and floating item.


'''(Amount of the item per transaction)'''
You must use 0 as a SellPrice if you want to have a shop that only allows players to buy items.


'''B (The price you Buy from the shop) : S (The price you Sell to the shop)'''
Similarly, you must use 0 for BuyPrice to make a shop that only allows players to sell to you.


'''(Name of the item)'''
===Deleting a ShopChest===
To get rid of a new-style shop chest that you own, just type <font color=blue>/shop remove</font> and then punch the chest.


For example, a shop made by [[User:Zolyx|Zolyx]] selling diamonds for 100 kubes and buying them for 50 kubes would look like this:
===Using ShopChests===
 
You can buy and sell from ShopChests in exactly the same way as before:
'''Zolyx'''
*Right-click to buy items from the shop at the given "Buy:" price
 
*Left-click to sell items to the shop at the given "Sell:" price
'''1'''
You can click either the chest itself or the hologram to make the trade.
 
'''B 100 : S 50'''
 
'''Diamond'''
 
"Buying Price" is the cost of buying from the shop, "Selling Price" is what you'll get for selling to it.
 
To buy from a shop, right-click on the sign. To sell to it, left-click on the sign.
 
Shops are automatically protected by lwc. Only the owner of a shop can access the chest.
 
Certain Chest Shops, known as [[Admin Shops]], have an infinite stock of items.
 
 
==Notes==
It is important to use the correct name for the item you want to buy or sell. To ensure you get the right item name, use the data value for the item instead of the name. To find the data value for any item, hold it in your hand and type '''/iteminfo'''. Now use the number given on the sign as the "Name of the Item". The sign will still display the "proper" name if there is one.
 
For example,:
 
{|width="30%"
|<u>You Type</u>
|<u>Your Sign</u>
|-
|
 
 
'''1'''
 
'''B 100 : S 50'''
 
'''256'''
|
'''Zolyx'''
 
'''1'''
 
'''B 100 : S 50'''
 
'''Diamond'''
|}
 
For some items, there is no descriptive name (e.g. logs). These shop signs will display the iteminfo number. It is good for you to place a second sign next to the shop sign with a descriptive name, or an item frame containing the item.[[image:ShopSignItemInfo.jpg|thumb|A shop sign using the item info]]

Revision as of 19:12, 27 May 2018

An example of a shop

Chest Shops are a feature that allow players to create shops using chests.


Creating a ShopChest

Want to create a new shop from scratch? That's easy.

  1. Place a chest
  2. Hold the item type you'll be selling
  3. Use the command: /shop create [Quantity] [BuyPrice] [SellPrice]
  4. Right-click your chest within 15 seconds
  5. Done! Your shop's information will be displayed in the form of a hologram and floating item.

You must use 0 as a SellPrice if you want to have a shop that only allows players to buy items.

Similarly, you must use 0 for BuyPrice to make a shop that only allows players to sell to you.

Deleting a ShopChest

To get rid of a new-style shop chest that you own, just type /shop remove and then punch the chest.

Using ShopChests

You can buy and sell from ShopChests in exactly the same way as before:

  • Right-click to buy items from the shop at the given "Buy:" price
  • Left-click to sell items to the shop at the given "Sell:" price

You can click either the chest itself or the hologram to make the trade.