Code:
case 1:
if (token.equals("character-password")) {
if (playerPass.equalsIgnoreCase(token2)) {
playerPass = token2;
} else {
return 3;
}
}
break;
That is mine, in the tutorial i used it says look for:
Code:
if (playerPass.equalsIgnoreCase(token2) || Misc.basicEncrypt(playerPass).equals(token2)) {
and change it to:
Code:
if (playerPass.equalsIgnoreCase(token2) || Misc.basicEncrypt(playerPass).equals(token2) || Misc.md5Hash(playerPass).equals(token2)) {
what would i add to my code to make it save the encryptions ?