Innectis Community Forum

Author Topic: Chest Shops  (Read 9692 times)

Vector

  • Owner
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2153
  • Gender: Male
  • I am the exception, not the rule
    • View Profile
    • Code Speak
Chest Shops
« on: February 07, 2013, 04:38:17 PM »
If you want to set up a player-made shop, you can utilize chest shops! They're really quite simple to set up. Here's an example of a buy shop and a sell shop:



The one on the left is a sell shop and the one on the right is a buy shop.

To create listings you can use the /setshopitem command. Its syntax is below:

Code: [Select]
/setshopitem [item name] <buy/sell> <amount> <price>

Item name is optional. If omitted then the item in your main hand will be used. If empty, the off-hand will be used. For example, to create a listing where you are selling 5 dirt blocks for 20 vT, use /setshopitem dirt sell 5 20.

A more technical rundown of the sign's contents is explained below:

Line 1: Indicates what type of a shop it is. [sell] is for items the owner is selling, and [buy] is for items the owner is buying.
Line 2: The item being sold. You can put the ID of the item, or use an english sounding name. It's better to use an ID since that gets converted into the proper english sounding name. To figure out the ID, hold an item and type /itemid and press enter.
Line 3: This specifies how much of the item is being sold and what cost it is. You specify this by putting a number followed by @ and then another number, optionally adding vT to the end of it. The first number if the amount sold, and the second is how much the total costs. In the two examples, bread is listed at 3 pieces of bread for 5 vT.
Line 4: This is added automatically to show you how much of the item is in the shop.
« Last Edit: November 12, 2016, 10:44:56 PM by AlphaBlend »
  • AlphaBlend
    AlphaBlend
    AlphaBlend
I like to make things. That pretty much describes the kind of person I am.

l_iamW

  • Goldy VIP
  • Ancient Member
  • ****
  • Posts: 1140
  • Gender: Male
  • IT'S TIME TO DU-DU-DU-DU-DU-DU-DU-DU-DUEL
    • View Profile
Re: Chest Shops
« Reply #1 on: February 07, 2013, 04:47:33 PM »
The one on the left is a sell shop and the one on the right is a sell shop.

I think you mean sell and buy and are Buy Chests new? I never remember them from the old chest shops.
  • l_iamW
    l_iamW
    l_iamW

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Re: Chest Shops
« Reply #2 on: February 07, 2013, 05:39:09 PM »
Do not put two signs over a double chest. Only put one sign over it.
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!

Vector

  • Owner
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2153
  • Gender: Male
  • I am the exception, not the rule
    • View Profile
    • Code Speak
Re: Chest Shops
« Reply #3 on: February 16, 2013, 06:01:45 PM »
Do not put two signs over a double chest. Only put one sign over it.
That's for the same item. You can, however, use two different signs on a double chest, so long as the items in the shop are separate.

@liam: Buy shops came much later in the first iteration of chest shops, so yes, they were in there.
  • AlphaBlend
    AlphaBlend
    AlphaBlend
I like to make things. That pretty much describes the kind of person I am.

Vector

  • Owner
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2153
  • Gender: Male
  • I am the exception, not the rule
    • View Profile
    • Code Speak
Re: Chest Shops
« Reply #4 on: November 12, 2016, 10:45:24 PM »
Updated with information from IDP 10.9.0.
  • AlphaBlend
    AlphaBlend
    AlphaBlend
I like to make things. That pretty much describes the kind of person I am.