public ChatPlayer getChatPlayer(String player) throws SQLException {
		sql.initialise();
		plugin.cl.cLog("Loading "+ player);
		ResultSet res = sql.sqlQuery("SELECT * FROM BungeePlayers WHERE PlayerName = '"+player+"'");
		ChatPlayer cp = null;
		while(res.next()){
			ChatChannel channel = plugin.chatChannels.get(res.getString("Current"));
			cp = new ChatPlayer(player, res.getString("DisplayName"), channel, res.getBoolean("ChatSpy"), res.getBoolean("SendServer"), res.getBoolean("Mute"), res.getInt("ChannelsOwned"), res.getBoolean("SendPrefix"), res.getBoolean("SendSuffix"));
		}
		//add channels to player
		ResultSet res2 = sql.sqlQuery("SELECT * FROM BungeeMembers WHERE PlayerName = '"+player+"'");
		while(res2.next()){
			ChatChannel cc = plugin.getChannel(res2.getString("ChannelName"));
			cc.onlineMember(cp);
			if(!cp.getChannels().contains(cc.getName())){
				cp.addChannel(cc.getName());
			}
		}
		//add players ignored
		ResultSet res3 = sql.sqlQuery("SELECT Ignoring FROM BungeeIgnores WHERE PlayerName = '"+player+"'");
		while(res3.next()){
			cp.addIgnore(res3.getString("Ignoring"));
		}
		plugin.onlinePlayers.put(player, cp);
		if(cp.isChatSpying()){
			plugin.chatSpying.add(cp.getName());
		}
		res.close();
		res2.close();
		sql.closeConnection();
		return null;
	}