@Override
	public boolean setUserOffline(String username, UUID uuid) {
		FileWriter writer = null;
		try {
			BufferedReader reader = new BufferedReader(new FileReader(new File(OnlineUsers.directory+OnlineUsers.flatfileData)));
			String line = "";
			StringBuilder toSave = new StringBuilder();
			while ((line = reader.readLine()) != null) {
				if (line.contains(":")) {
					String user = line.split(":")[0];
					String time = line.split(":")[1];
					if (!user.equalsIgnoreCase(username.toLowerCase())) {
						toSave.append(line).append("\r\n");
					} else {
						toSave.append(user + ":" + time + ":" + String.valueOf(OFFLINE));
					}
				}
			}
			reader.close();
			writer = new FileWriter(OnlineUsers.directory+OnlineUsers.flatfileData);
			writer.write(toSave.toString());
		} catch (Exception e1) {
			log.log(Level.SEVERE, "Exception while removing player '" + username + "' from " + OnlineUsers.directory+OnlineUsers.flatfileData, e1);
		} finally {
			try {
				if (writer != null) {
					writer.close();
					return regenFlatFile();
				}
			} catch (IOException ex) {
			}
		}
		return false;
	}