Update Changepassword command
This commit is contained in:
parent
f835a95bac
commit
cc67d6daea
@ -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();
|
||||||
|
|||||||
@ -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>
|
||||||
Loading…
x
Reference in New Issue
Block a user