public void serializza()
	{
		try{
			JoinList file = new JoinList();
			File f = new File("plugins/" + name + "/giocatori.dat");
			if(!f.exists())
			{
				f.createNewFile();
				System.out.println("File creato");
			}
		      FileOutputStream fout = new FileOutputStream("plugins/" + name + "/giocatori.dat");
		      ObjectOutputStream output = new ObjectOutputStream(fout);
		      output.writeObject(file);
		      output.flush();
		      output.close();
		     // System.out.println("Salvato con successo"); 
		 } catch (IOException e) { e.printStackTrace(); System.out.println("Impossibile salvare");}				
	}