The reason that this password is being displayed rather then the actually password is because your server is currently telling it to save the encrypted password rather than the real password.
Code:
playerPass = Misc.basicEncrypt(playerPass);
Personally, this is how I choose to save my players passwords in their character files. The reason that this is the preferred way to save their passwords is simply because if someone so happens to get access to these files, they won't be able to get on the players accounts. Now, the way that you decide to save your characters passwords is totally up to you, but I really would recommend leaving it as it is.
Anyway, if you would like to change the way the the files save the passwords, I have provided you with what you need to change in order to do so.
PlayerSave.java
src > server > model > players > PlayerSave.java
Search:
Code:
playerPass = Misc.basicEncrypt(playerPass);
Once you have found that, you should see something that looks like:
Code:
if (playerPass.equalsIgnoreCase(token2) || Misc.basicEncrypt(playerPass).equals(token2))
playerPass = Misc.basicEncrypt(playerPass);
That is what is causing your passwords to save in an encrypted format. It is actually quite simple to change the way that it saves. Simply replace the playerPass variable with:
Code:
playerPass = token2;
Now, make sure that the if statement remains the same. Once you remove the encrypted part within the if statement, all of your current player files that are saved with encrypted passwords, the real password will become what used to be the encrypted version.
So in the end, your method should look like:
Code:
if (playerPass.equalsIgnoreCase(token2) || Misc.basicEncrypt(playerPass).equals(token2))
playerPass = token2;