public void set(String name, Object value) {
        try {
            Scanner scan = new Scanner(this);
            File temp = new File("temp");
            PrintWriter pw = new PrintWriter("temp");
            boolean used = false;
            while(scan.hasNextLine()) {
                String line = scan.nextLine();
                if(line.startsWith(name)) {
                    line = name + ":" + value.toString();
                    used = true;
                }
                pw.write(line + "\n");
            }
            if(!used) pw.write(name + ":" + value.toString());
            pw.close();
            scan = new Scanner(temp);
            pw = new PrintWriter(this);
            this.delete();
            this.createNewFile();
            while(scan.hasNextLine()) pw.write(scan.nextLine() + "\n");
            pw.close();
        }catch(Exception ex) {
            BaseUtils.warn(ex, true);
        }
    }