public static void trade(Player player, String[] args) {
		// trade <player> <item> <amount> <money>
		if (args.length == 4) {
			Player target = Bukkit.getPlayer(args[0]);
			if (target != null && target.isOnline()) {
				String item = args[1];
				int amount = Integer.parseInt(args[2]);
				float money = Float.parseFloat(args[3]);
			
				TradeManager.sendTradeRequest(player, target, item, amount, money);
			}
			else {
				player.sendMessage("player " + args[0] + " is not online");
			}
		}
		// trade <accept> <player>
		else if (args.length == 2) {
			//Logger.getLogger("Minecraft").info(args[1]);
			if (args[0].equalsIgnoreCase("accept")) {
				TradeManager.acceptTradeRequest(player, args[1]);
			}
			else if (args[0].equalsIgnoreCase("deny")) {
				TradeManager.denyTradeRequest(player, args[1]);
			}
			else {
				player.sendMessage("usage: /trade accept|deny <player>");
			}
		}
		// error
		else {
			player.sendMessage("usage: /trade <player> <item> <sum>\n" + "/trade accept|deny <player>");
		}
	}