#742 Create test that plugin.yml corresponds to command definitions
- Create test - Fix definitions to correspond
This commit is contained in:
@@ -291,7 +291,7 @@ public class CommandInitializer {
|
||||
// Register the base login command
|
||||
final CommandDescription LOGIN_BASE = CommandDescription.builder()
|
||||
.parent(null)
|
||||
.labels("login", "l")
|
||||
.labels("login", "l", "log")
|
||||
.description("Login command")
|
||||
.detailedDescription("Command to log in using AuthMeReloaded.")
|
||||
.withArgument("password", "Login password", false)
|
||||
@@ -324,7 +324,7 @@ public class CommandInitializer {
|
||||
// Register the base unregister command
|
||||
CommandDescription UNREGISTER_BASE = CommandDescription.builder()
|
||||
.parent(null)
|
||||
.labels("unreg", "unregister")
|
||||
.labels("unregister", "unreg")
|
||||
.description("Unregistration Command")
|
||||
.detailedDescription("Command to unregister using AuthMeReloaded.")
|
||||
.withArgument("password", "Password", false)
|
||||
@@ -347,7 +347,7 @@ public class CommandInitializer {
|
||||
// Register the base Email command
|
||||
CommandDescription EMAIL_BASE = CommandDescription.builder()
|
||||
.parent(null)
|
||||
.labels("email", "mail")
|
||||
.labels("email")
|
||||
.description("Email command")
|
||||
.detailedDescription("The AuthMeReloaded Email command base.")
|
||||
.executableCommand(initializer.newInstance(EmailBaseCommand.class))
|
||||
@@ -392,7 +392,7 @@ public class CommandInitializer {
|
||||
// Register the base captcha command
|
||||
CommandDescription CAPTCHA_BASE = CommandDescription.builder()
|
||||
.parent(null)
|
||||
.labels("captcha", "capt")
|
||||
.labels("captcha")
|
||||
.description("Captcha Command")
|
||||
.detailedDescription("Captcha command for AuthMeReloaded.")
|
||||
.withArgument("captcha", "The Captcha", false)
|
||||
|
||||
@@ -28,12 +28,14 @@ commands:
|
||||
changepassword:
|
||||
description: Change password of an account
|
||||
usage: /changepassword <oldPassword> <newPassword>
|
||||
aliases: [cp,changepass]
|
||||
logout:
|
||||
description: Logout
|
||||
usage: /logout
|
||||
unregister:
|
||||
description: Unregister your account
|
||||
usage: /unregister <password>
|
||||
aliases: [unreg]
|
||||
email:
|
||||
description: Add Email or recover password
|
||||
usage: '/email add your@email.com your@email.com|change oldEmail newEmail|recovery your@email.com'
|
||||
|
||||
Reference in New Issue
Block a user