* @param client
	 */
	private void cmd_bid(final String arg, final Client client) {
		// TODO fix this command to be able to specify a particular auction
		final Player player = getPlayer(client);

		// bid <auction id/item> <money - in copper pieces>
		
		// -- ideas
		// bid 'staff of the archmagi' 600pp
		// bid staff 600
		// bid 5 600

		Integer itemId = -1;
		String itemName = "";
		Integer money = -1;

		final String[] args = arg.split(" ");

		if( args.length == 2 ) {
			itemId = Utils.toInt(args[0], -1);

			if( itemId == -1 ) itemName = args[0];

			money = Utils.toInt(args[0], -1);
		}

		if ( money != -1 ) {
			Auction auction = null;

			if ( itemId != -1 ) {
				System.out.println("Item ID: \'" + itemId + "\'");
				
				auction = getAuction(itemId);
			}
			else {
				System.out.println("Item name: \'" + itemName + "\'");
				
				//auction = getAuction(itemName);
			}

			System.out.println("Money: \'" + money + "\'");

			/*
			 * switch(type) { case "pp": coins = Coins.platinum(value); break;
			 * case "gp": coins = Coins.gold(value); break; case "sp": coins =
			 * Coins.silver(value); break; case "cp": coins =
			 * Coins.copper(value); break; default: coins = Coins.copper(value);
			 * break; }
			 */

			if( auction != null ) {
				Coins coins = Coins.copper(money);

				Bid bid = new Bid(player, coins);

				if ( auction.placeBid(bid) ) {
					send("You successfully placed a bid of " + coins.toString(true) + " on " + itemName, client);
					
					// TODO handle max bid check?
				}
				else send("You failed to place a bid (Cause?)", client);
			}
			else send("No such auction!", client);
		}
	}