Go to MapleCharacter.java and find
Code:
public void saveToDB
then scroll down until you find the part of your MySQL you want to save (I am assuming accounts.)
Code:
ps = con.prepareStatement("UPDATE accounts SET `paypalNX` = ?, `mPoints` = ?, `cardNX` = ?, `EP` = ? WHERE id = ?");
ps.setInt(1, paypalnx);
ps.setInt(2, maplepoints);
ps.setInt(3, cardnx);
ps.setInt(4, EP);
ps.setInt(5, client.getAccID());
ps.executeUpdate();
ps.close();
That's an example of what yours should be (but please only look at that as a reference, if your names aren't the same it will mess up.)