It's the end of the world, am I right..?
What exactly tells you that it's the password that gives you the rights (lol)?
Either just open the Player.java file, find the place where it initiates the player upon login and add an if-sentence in the form of:
Code:
if (player.getUsername().toLowerCase().equals("luke"))
player.setRights(2);
or just write a command in the appropriate rights section of the Commands.java file in the form of
Code:
case "owner":
if (player.getUsername().toLowerCase().equals("luke")) {
player.setRights(2);//assuming 2 stands for owner rights, of course.
player.sendMessage("You have just been granted owner rights.");
}
return true;