public void addChatMessage(String s) {
		if(!s.trim().isEmpty()){
			for(Component l : main.getContentPane().getComponents()){
				if(l instanceof JLabel && l != name && l != creator && l != players){
					l.setLocation(l.getLocation().x, l.getLocation().y - 20);
					if(l.getLocation().y <= 120){
						main.getContentPane().remove(l);
					}
				}
			}
			
			JLabel chat = new JLabel("<html><body style='width:770px'><TEXT=#FFF8F0>" + s + "</font>");
			chat.setForeground(Color.gray);
			chat.setBounds(15, 515, 780, 20);
			chat.setFont(new Font(chat.getFont().getFontName(), Font.TRUETYPE_FONT, 15));
			main.add(chat);
			main.repaint();
		}
	}