public void WritePlayer() throws IOException{
		fw.write(WrittenPlayerName+"\r\n");
		fw.write(WrittenPlayerX+" "+WrittenPlayerY+"\r\n");
		fw.write(WrittenPlayerType+"\r\n");
		fw.write(WrittenPlayerLayer+" 0\r\n");
		
		writeInv();
		
		fw.flush();
		fw.close();
	}