public static boolean checkPlayerDat(Player p) {
		String pName = p.getName();
		File pathDir = new File(path + "userData/" + pName + "/");
		if(!pathDir.exists()) {
			pathDir.mkdirs();
		}
		File mainDat = new File(path + "userData/" + pName + ".dat");
		if(!mainDat.exists()) {
			try {
				mainDat.createNewFile();
				FileConfiguration f = YamlConfiguration.loadConfiguration(mainDat);
				f.set("Username", p.getName());
				List<String> list = new ArrayList<String>();
				list.add(p.getAddress().getHostName() +"");
				f.set("IP", list);
				String none = "";
				String named = p.getName() + "";
				f.set("Nickname", named + "");
				f.set("Prefix", none);
				f.set("Channel", "Global");
				f.set("Suffix", none);
				f.save(mainDat);
				return true;
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		return false;
	}