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")
.description("Change password Command")
.detailedDescription("Command to change your password using AuthMeReloaded.")
.withArgument("password", "Password", false)
.withArgument("verifyPassword", "Verify password.", false)
.withArgument("oldPassword", "Old Password", false)
.withArgument("newPassword", "New Password.", false)
.permissions(ALLOWED, PlayerPermission.CHANGE_PASSWORD)
.executableCommand(new ChangePasswordCommand())
.build();

View File

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