How To Use Chestshop! - Printable Version +- CDGS (https://forums.cdgs.net) +-- Forum: Forums Information (https://forums.cdgs.net/forumdisplay.php?fid=69) +--- Forum: Tutorials (https://forums.cdgs.net/forumdisplay.php?fid=77) +--- Thread: How To Use Chestshop! (/showthread.php?tid=12306) |
How To Use Chestshop! - astralaether9 - Jan 31st, 2014 ChestShop Tutorial To make a sign: To make a ChestShop, you will need a
To buy items: If you would like to purchase the item, meaning you lose money and gain the item, you would make a sign where you would put something like this: Of course, instead of putting my name, astralaether9, you would put your own username, as well as putting in the correct price and the correct item. The item people are buying from you must be placed in the chest beforehand. The shop will take the items from your chest and put it in the other player's inventory, while taking the player's money and adding it to your balance. To buy items: If you would like to sell the item, meaning you gain money and lose the item, you would make a sign where you would put something like this: Of course, instead of putting my name, astralaether9, you would put your own username, as well as putting in the correct price and the correct item. The item you are buying will be stored in the chest as people sell it to you. The shop will take the items from the other player's inventory and put it in your chest, while taking your money and adding it to the other player's balance. Selling enchanted items: If you would like to sell an item, you must first hold the item in your hand and run the command. Say you were holding this item: If you ran the the command, you would receive a message that looked like this: To implement this into your shop, you would have to put it like this: Note: You MUST put the dash [ - ] between the item ID and the enchantment code. If you do not do this, your shop will not work. Additionally, you MUST NOT put the hashtag [ # ] before the enchantment code. If you do this, your shop will not work. If I wanted to sell a Sharpness V Fire Aspect II sword, I would hold the sword in my hand and type . I would get a message like this: To make a shop for this sword, I would make a sign that looked like this: If you have any questions, feel free to send me a message. |