private String[] loadConfig() {
		String[] defaults = new String[] {
			"ip=localhost", "port=9190", "heartbeat=1000", "pass=UNSET", "debug=false"
		};
		String[] data = new String[defaults.length];
		try {
		    File folder = getDataFolder();
		    if(!folder.exists()) {
		        folder.mkdir();
		    }
			File file = new File(folder, "config.txt");
			if(!file.exists()) {
				file.createNewFile();
			}
			BufferedReader br = new BufferedReader(new FileReader(file));
			for(int i = 0; i < defaults.length; i++) {
			    String l = br.readLine();
			    if(l == null || l.isEmpty()) {
			        data[i] = defaults[i].split("=")[1];
			    } else {
			        data[i] = l.split("=")[1];
			        defaults[i] = l;
			    }
			}
	        br.close();
	        file.delete();
	        file.createNewFile();
			PrintStream ps = new PrintStream(new FileOutputStream(file));
			for(int i = 0; i < defaults.length; i++) {
				ps.println(defaults[i]);
			}
			ps.close();
			debugger = new Debugger(this, Boolean.valueOf(data[4]));
			debugger.debug("Configuration file loaded.");
		} catch(IOException e) {
			e.printStackTrace();
		}
		return data;
	}