Update Changepassword command

This commit is contained in:
Xephi59 2015-12-23 00:44:03 +01:00
parent f835a95bac
commit cc67d6daea
2 changed files with 10 additions and 8 deletions

View File

@ -380,8 +380,8 @@ public final class CommandInitializer {
.labels("changepassword", "changepass", "cp") .labels("changepassword", "changepass", "cp")
.description("Change password Command") .description("Change password Command")
.detailedDescription("Command to change your password using AuthMeReloaded.") .detailedDescription("Command to change your password using AuthMeReloaded.")
.withArgument("password", "Password", false) .withArgument("oldPassword", "Old Password", false)
.withArgument("verifyPassword", "Verify password.", false) .withArgument("newPassword", "New Password.", false)
.permissions(ALLOWED, PlayerPermission.CHANGE_PASSWORD) .permissions(ALLOWED, PlayerPermission.CHANGE_PASSWORD)
.executableCommand(new ChangePasswordCommand()) .executableCommand(new ChangePasswordCommand())
.build(); .build();

View File

@ -3,14 +3,16 @@ Dear <playername />,
</h1> </h1>
<p> <p>
This is your new AuthMe password for the server %servername%: This is your new AuthMe password for the server <servername />:
</p>
<p>
<generatedpass /> <generatedpass />
</p>
<image /> <image />
<p>
Do not forget to change password after login! Do not forget to change password after login!<br />
/changepassword <generatedpass /> newPassword' /changepassword <generatedpass /> newPassword'
</p>
<p>
See you on <servername />! See you on <servername />!
</p> </p>