Step 1: open up PlayerSave.java
Search for:
Code:
} else if (token.equals("character-rights")) {
You will see:
Code:
} else if (token.equals("character-rights")) {
p.playerRights = Integer.parseInt(token2);
Under that add this:
Code:
} else if (token.equals("donatorPoints")) {
p.donatorPoints = Integer.parseInt(token2);
Now search for:
Code:
characterfile.write("character-rights = ", 0, 19);
You will see:
Code:
characterfile.newLine();
characterfile.write("character-rights = ", 0, 19);
characterfile.write(Integer.toString(p.playerRights), 0, Integer.toString(p.playerRights).length());
Right under that add this:
Code:
characterfile.newLine();
characterfile.write("donatorPoints = ", 0, 9);
characterfile.write(Integer.toString(p.donatorPoints), 0, Integer.toString(p.donatorPoints).length());
Save and Close
Step 2: Open up Player.java
Search for:
Under the "public int" add this:
Umm little guide to make the Donator Points
Original thread