FairTrade

FairTrade brings a new, simple, fair way for players to trade items and money (currently only iConomy 6 is supported), based on virtual chests.

A player can request to trade with another using /trade begin. If the other player agrees, he uses the same command to begin a trade between them; or he can use /trade cancel to cancel the request. They then use the /trade view command to open a virtual chest inventory into which they can place the items they want to trade. They can also view the other player's virtual trading chest using /trade viewother. They offer money for the trade using /trade addmoney. When the trade is finished, both players can still check their and the other's virtual chest and added money to ensure they are getting what they want. If they are happy, they use /trade confirm to confirm the trade. When both players confirm, the exchanged items are put into their inventory and money added to their account. If the player is not happy, they can cancel the trade with /trade cancel. There is even an overflow chest function, so if there are too many items to fit into a reciever's inventory, it will be put into their overflow chest if they have one. A full command list can be found here.

Changelog

  • 1.1
  • Added basic commands, appears to be working smoothly.

Todo

  • Add ability to limit distance players can be from each other to trade.
  • Add administrator ability to cancel arbitrary trades.
  • Restructure overflow chest location saving (putting them in config.yml was a bad idea).

View the source, or fork and contribute, on github!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files