TradeMarket

TradeMarket

Description

TradeMarket is a virtual place where players can buy and sell items like in a market

Players can make business with each other, players can offer stuff for sale, and players can buy those offers.

There is a competition to always make the best offers and always buy the best offers.

You can change your left-over items into money. For example if you have too many Cobblestone or redstone after some mining.

You can make a lot of money if you buy cheap things and sell them more expensive!

You can have many cool stuff if You watchful, and you buy the best offers fast!

Features

  • Every player can see every player's offers even if they are offline.
  • Data saved in SQLLite DB, so if server stops, or reloads all offers will be available.
  • Automatic cleanup - items will be removed from the market after 30 days. (it will be configurable)

Commands

/tmlist [item] [page]:
Shows the offers on Market. It writes one page at a time to the chat panel. If You don't type any parameters, you will see a list of Your offers.
/tmbuy item unitprice n:
Buy n items fom the market. You pay the sum price which is n * unitprice If you buy an offer, you immediately pay and get the items, if you have enough money. Player who made the offer gets the money. If player is offline, he or she will get the money if logs in again.
/tmsell item unitprice n:
Offer n items for selling. If You make an offer, you put the items from your invertory to the market. You will get the money when someone buys you're offer.
/tmundo item unitprice n:
Removes an offer from your list (get back the items)
in every command Item parameter can be:
  • item name. Many mistype is handled correctly. all these are the same: cobblestone, cstone, cobble.
  • item id. If you lazy to type diamondblock, you can type 57.
  • "all" for listing all offers
  • and "my" for listing player's own offers

Examples

/tmlist my
Your offers on market [page 1/3]:
  price     quantity  sum price  item name        player name
      0,50         1          1  WOOD             MineRio
      1,25         1          1  STONE            MineRio
      3,50         1          4  ARROW            MineRio
      6            1          6  STONE_BUTTON     MineRio
     15           64        960  WOOL             MineRio
     20            3         60  WOOL             MineRio
     22            1         22  IRON_AXE         MineRio
     30           10        300  BREAD            MineRio

/tmlist wool
WOOL Offers on market [page 1/1]:
  price     quantity  sum price    player name
     15           64        960  MineRio
     18           10        180  nahu02
     20            3         60  MineRio
     
/tmbuy wool 18 10
Offer bought: 10 WOOL for $18. Total price: $180 was payed.

/tmsell cstone 1.5 64
64 COBBLESTONE was sent to the market

Required Dependency

server administration is easy, no need to install anything, only two other plugin required:

  • SQLibrary.jar
  • Essentials.jar

Permissions

(only in next release)

Configuration

(only in next release)

  • cleanup_days: number of days to keep offers in the market. Default value: 30.
  • pagesize: number of rows in lists. Default: 8.

Feature delevopement plans

  • permissions
  • configuration file
  • localisation / translation
  • item usage (now if a player sells an used tool, buyer gets a brand new one)
  • item enhancement. (now if a player sells an enhanced item, buyer gets a simple one)
  • market usage fee - offer price

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    56029
  • Created
    Apr 18, 2013
  • Last Released File
    Never
  • Total Downloads
    995
  • License

Categories

Members

Recent Files