Command matchCommand(String command, String[] args, boolean server){
		Command matched = null;
		int len = -1;
		for(Command cmd : matchCommands(command, server)){
			if(matchArgs(cmd.getSubcommand(), args) && len < cmd.getSubcommand().length) {
				matched = cmd;
				len = cmd.getSubcommand().length;
			}
		}
		return matched;
	}