TradeChest
TradeChests is a unique, chest-based marketplace plugin that allows players to buy and sell items to each other using a TradeChest as a middleman so they can complete their ends of the transaction at different times. This allows something a bit like an 'admin shop' to be created, but doesn't destroy items sold to it or create items it doesn't have in order to sell them. Although it's currently command-based, the current development priority is switching it over to use the existing interface for chests to buy and sell items.
Usage
Players can register any chest as a TradeChest using the command /tchest. Once a TradeChest has been registered, players can select it by typing /tsel and clicking it, sell items to it by typing /tsell [item name] <quantity>, or buy items from it by typing /tbuy [item name] <quantity>.
Dependencies
- Vault
- Any economy plugin supported by Vault
- Any SuperPerms-based permissions plugin
Permissions Nodes
- tradechest.create - Register TradeChests
- tradechest.buy - Buy from TradeChests
- tradechest.sell - Sell to TradeChests
- tradechest.select - Select TradeChests
Commands
- /tchest - Register TradeChests
- /tbuy - Buy from TradeChests
- /tsell - Sell to TradeChests
- /tsel - Select TradeChests
I like this plugin but it uses /tchest (the same as the TreasureChest Plugin) so I cant use it :(((
@BroderMibran
What you are looking for can be acheived with most chest style shop GUI's if you set the permissions correctly :)
Hello all authors.
I like the idea of a config file where an admin can configure how much each item costs.
I am really looking for a plugin like that, since all plugins I have found so far, has given this right to the users, so please, please make it as a config file I have been looking for this so long now, even before I signed up for this site.
Don't give this right to the users like all the others do, I have seen like 7 or 8 plugins, almost like this, where they have been doing that, so please let an admin decide prices.
I'm too fit up with eco-systems where money comes from nowhere, meaning the server convert the items to money there doesn't exist, or where users can decide prices themselves which makes it impossible to make a healthy ecosystem, with constant prices.
You will probable be the first to make a plugin where you can trade items between two players, but where the server controls the prices, which also will make your plugin more unique.
--------------------------------------------------------------------------------------------------------I have offered this before, at an other plugin but with no result , so I will gladly give you the same offer.
I have finished making a pricelist between items, based on 1/64 parts of a goldingot, but don't worry, I have already made a row with all the whole values.
The system are based on gold.
First all rawmaterial are calculated according to its relation to gold. Armor material are based on it's hardenness, (iron and gold are swapped to the cause of value), food are base on a nugget for ½ a heart of healing, and so on.
Then after calculating all raw materials I started on crafted materials such as stone stairs = 6 times cobblestone divided with the numbers of final stairs (4), iron ingot = iron ore + 1/8 of coal, ect.
And finally what ever was left, I then calculated as well as I could, to make it as fair as possible.
The list is easily made in excel so it is easy to pick a specific value or row of values from the list.
The list contain following pieces of information:
The price1 and price 2 is most for calculations, don't bother to much with these unless your basic economy is either gold ingot or gold nugget. But the values are rather small to avoid gold from being valueless, in other cases you will need mountains of gold just to buy goods like iron ingot (17 gold ingots), not to mention even more for a diamond (1024 gold ingots) and sky high values for a diamond block (9216 gold ingots), no one want to dig for gold and find so much, they will rather trade for it, and then gold looses its purpose. Just a piece of coal is worth 8 gold ingots itself, so who wants to waste it to burn 8 gold ingot? That would be a waste of value itself.
--------------------------------------------------------------------------------------------------------Sorry for the long speech but it is just to explain how I got to my results, and in case you want the list, to ensure you understand what you get.
You would probably need Item number or Item name, and price4.2 would be my recommendation.
I have also made a xml version, to the cause of another plugin which I unfortunately not were able to use, but perhaps you can use the document, this is how it is structured:
<productlist>
<product>
<name>{item name or number}</name>
<price>{one of the price rows}</price>
</product>
<product>
<name>{Next itemname or number}</name>
<price>{Next one on the chosen price rows}</price>
</product>
</productlist>
Any above info can be put into the xml-document, since it is imported values from the xml document.
If you like it, I can easily change the code structure into something else like yml, or what ever, since it all written into the xml-file, ready to export. just mention your structure and I will try to build it.
So if are you interested, you can have it, I don't necessarily need to be credited for it (my name on the development or so, but of cause you can mention me if you like to, but I don't require it, since I haven't programing anything), and you can have the list for no charge of any kind, as long as you are going to use it.
--------Mibran
@Poopfish
Yes, I would love that. I want players to complete missions and place a certain item in to get a reward for completing the mission!
this looks promising.
can you make it work with signs? like other chestshops?
where they would put this sign above the chest, and put 10 iron in the chest below, and somehow then get 1 diamond out of the chest?
@Woulfgang
I'm hoping to kill two birds with one stone by removing the /tsel command and using the regular chest interface to buy and sell items.
the 2 commands /tsell and /tsel might get confusing. perhaps you can use /ttarget or /ttar - target TradeChests. /tsell - Sell to TradeChests /tsel - Select TradeChests
EDIT: also I was wondering if it would be possible for you to create some sort of UI when you edit your shop or when you are buying from one.
@DemonPenguin
As of now, it's hard-coded. That's one of the things we have configuration planned for, though. Hoping to release a new version with configuration and a few bugfixes within a week.
Looks good!
How does the TradeChest know how much money to give the player per item? Is there a config file of some sort?