Trading Post

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Trading Post

Auction-based item trading with no economy plugins

Moving into testing phase - contact if interested in helping.

Ever wanted to easily offer items for trade, and get the best value? This plugin allows item-based auctions to occur. Players may post items up for auction, at which time the items are taken from them and held by the trading post.

Other players can view the list of auctions and bid on them with their own items. Again, items bid are removed from the bidding player and held by the trading post.

Auctions and bids may not be altered once posted, but may be withdrawn by their posters. If a bid is withdrawn, the items held are returned to the bidder. If an auction is withdrawn, the items on auction are returned to the owner, and all bids are returned to their respective bidders.

Since there is no way to automatically determine whose bid has the most value to the auction's owner, an auction is "won" only when the owner of the auction selects the bid that is most valuable to them.

Further ideas:

  • Players could optionally be required to be within a certain distance of a user-defined coordinate (which could be the location of a physical "trading post" built in-game) in order to use this plugin's commands. As an extension of this, multiple "Trading Post" locations could be defined, operating as a single trading network, perhaps with the ability for a trading post to operate independently. Making this a possibility for use on RP servers.

  • Auctions could optionally be given a maximum time limit. If the auction's owner has not selected a winning bid by this time (e.g. isn't satisfied with current bids, or if nobody bids), then the auction will automatically withdraw, returning all items as usual. As noted before, there is no way for auctions to automatically select a winner, making withdrawal the only option when the time limit is reached.

  • Some sort of "reverse auction" system with a command /tr buy, that allows players to place an auction that requests a quantity of an item that they wish to acquire. Other players could then bid on the request, their bids consisting of a request for a quantity of an item that they want in return. This "reverse auction" would allow a player to get what they wanted, while choosing the most favorable item to give in return.

This plugin will require Spout on the serverside for /tr sellmore and /tr bidmore functionality. No client mods required.


/tr browse [page]
- Lists posted auctions that you may bid on.

/tr check [page]
- Checks the status of your currently pending auctions and bids.

/tr show <auction or bid ID>
- Lists the details of an auction. Shows who has replied and what they are offering.
- Use this to decide on a counter-bid, or to decide which offer to accept.

/tr comment <auction ID> [comment]
- Sets a brief comment on your auction that's visible with /tr show
- If the comment is omitted in the command, any existing comment will be removed from the auction
- Example usage: Letting bidders know what item type you would prefer

/tr sell
- Removes the item(s) from your hand and offers them up for auction.

/tr sellmore
- Opens a virtual chest for you to drop items into.
- When it is closed, its contents will be offered up for auction.

/tr buy <quantity> <item>
- Posts a "reverse auction" requesting for someone to sell you a quantity of an item.
- For example, if you need 32 coal, you'd type /tr buy 32 Coal

New command!
/tr add <auction or bid ID>
- Adds the contents of your hand to the items you are already selling / bidding.
- Items can only be added, they cannot be removed from a sale as this would make it possible to cheat someone out of their items (e.g. Fred posts 5 diamond blocks and a lump of coal for sale, George bids 32 eyes of ender, Fred removes the diamond blocks and then accepts Fred's bid, Fred gets only coal). Instead, the entire sale must be withdrawn (thereby rejecting all bids) and a new one posted instead.
- Similarly, to remove items from a bid, the entire bid must be withdrawn and a new one posted.

/tr bid <auction ID>
- Bids the contents of your hand on a regular auction.
- The items will be taken from your hand and stored until accepted/rejected.

/tr bid <auction ID> <quantity> <item>
- Bids on a "reverse auction". Your bid requests a quantity of an item from the auction's owner in return for your items.
- Your bid will fail unless you have enough of the auction's desired item in your inventory.
- For example, if you're bidding on a reverse auction that asks for 32 coal, then that amount of coal will be removed from your inventory.

/tr bidmore <auction ID>
- Opens a virtual chest for you to drop items into.
- When it is closed, its contents will be bid against an existing auction.

/tr accept <bid ID>
- Accepts a bid. At this point both parties will receive the items offered to them.
- If this is a "reverse auction", you cannot accept a bid unless you have enough of the item that the bidder requests.
- The items you posted will then be delivered to the one whose offer you accepted.
- If they are offline, they'll receive the items you posted when they log in.
- All other offers will be returned to their owners, immediately or on next login.

/tr withdraw <auction or bid ID>
- Returns the items you posted or offered to you, cancelling the potential trade.
- In case of a post, any offers made will be returned to their owners.

/tr help, or just /tr
- Gives a brief summary of how the system works.

/tr commands [page]
- Gives a brief command summary.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Tisdan Tisdan Jan 09, 2013 at 23:00 UTC - 0 likes

    Still developing?

  • Avatar of TerrorBiteIndustries TerrorBiteIndustries Sep 08, 2012 at 10:04 UTC - 0 likes

    @captainnana: Go

    Hi captainnana, I've been pretty lazy with this project for a while but I'm picking it back up again. Most of the core code is done at this point and I'm just ironing out the more serious bugs and adding the last few core features at the moment. Shouldn't be long before it's ready for an alpha release, I just don't like releasing half-finished code.

    But just so people can see how things are coming along I might upload a pre-alpha development snapshot.

    The code is also on Github so you can watch progress there!


  • Avatar of RoyalSoda RoyalSoda Jun 12, 2012 at 21:25 UTC - 0 likes

    Can't wait for the release! Will stay updated. Looks good so far, TerrorBite.

    Try signing up for Dropbox here, you and I get extra space!

  • Avatar of captainnana captainnana May 19, 2012 at 15:01 UTC - 0 likes

    This looks really interesting, is the project still active?

  • Avatar of lifeless2011 lifeless2011 Dec 24, 2011 at 10:33 UTC - 1 like

    Finally, a item for item trading system. Im keeping a watchful eye on this!

  • Avatar of TerrorBiteIndustries TerrorBiteIndustries Dec 24, 2011 at 09:32 UTC - 0 likes

    predawnia said:

    Would be very interested if it has economy support.

    The entire reasoning behind this plugin is that it functions independently without an economy - that all the trading is based on items, not currency. There are very few plugins out there that allow trading without requiring an economy plugin as well, and that's a void I intend to fill. I can see a possibility for bidding an amount of money instead of an amount of items, but only as an optional alternative, not a replacement. Perhaps as a future feature?

    Last edited Dec 24, 2011 by TerrorBiteIndustries: Derped formatting
  • Avatar of Mitsugaru Mitsugaru Dec 18, 2011 at 23:20 UTC - 0 likes

    Intriguing idea...

    I'll definitely be watching this. :P

    Jenkins | Trello Dev board | Website
    Visit the Trello board to see/vote/comment on my current todo list for all projects in real time.
    Mine-RP Operator BFAK:52950,9c92ea09892ae7395af1f98741fb8dd73aed386e0b40f81435281ce5eca68c7f

  • Avatar of predawnia predawnia Dec 18, 2011 at 09:51 UTC - 0 likes

    Would be very interested if it has economy support.

    Last edited Dec 18, 2011 by predawnia

    Project: Zombie Afterlife - The real zombie server, totally hardcore survival and Factions PVP server



Date created
Dec 17, 2011
Last update
Sep 08, 2012
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Recent file