public boolean onLteamsCommand(CommandSender sender, Command cmd, String label, String[] args){
		//First, are there any sessions or teams?
		if (sessions.size() == 0) {
			sender.sendMessage("There are currently no sessions.");
			return true;
		}
		
		//list the teams available to join. If they don't specify a session, list all sessions and teams
		if (args.length > 0) {
			//they passes a session?
			String sessionName = args[0];
			CTFSession session = null;
			for (CTFSession s : sessions) {
				if (s.getName() == sessionName) {
					session = s;
					break;
				}
			}
			if (session != null) {
				String msg = "Teams: ";
				for (CTFTeam t : session.getTeams()) {
					msg += t.getName() + " | ";
				}
				sender.sendMessage(msg);
				return true;
			}
			else {
				//no session by that name.
				String msg = "";
				for (CTFSession s: sessions) {
					msg += s.getName() + " | ";
				}
				sender.sendMessage("No valid session exists with that name. Valid sessions: " + msg);
				return true;
			}
		}
		//args == 0
		//no session passed. Just list all teams with their respective session names
		String msg;
		for (CTFSession s: sessions) {
			msg = s.getName() + ":   ";
			for (CTFTeam t: s.getTeams()) {
				msg += t.getName() + " | ";
			}
			sender.sendMessage(msg);
		}
		return true;
	}