Some minor command description changes

This commit is contained in:
Tim Visée 2015-11-01 19:06:43 +01:00
parent 913ba56343
commit 0ca60299ad

View File

@ -35,7 +35,7 @@ public class CommandManager {
add("authme"); add("authme");
}}, }},
"Main command", "Main command",
"The main AuthMeReloaded command. The root for all the other commands.", null); "The main AuthMeReloaded command. The root for all admin commands.", null);
// Register the help command // Register the help command
CommandDescription helpCommand = new CommandDescription( CommandDescription helpCommand = new CommandDescription(
@ -89,8 +89,8 @@ public class CommandManager {
add("forcelogin"); add("forcelogin");
add("login"); add("login");
}}, }},
"Force login player", "Enforce login player",
"Force the specified player to login.", "Enforce the specified player to login.",
authMeCommand); authMeCommand);
forceLoginCommand.setCommandPermissions("authme.admin.forcelogin", CommandPermissions.DefaultPermission.OP_ONLY); forceLoginCommand.setCommandPermissions("authme.admin.forcelogin", CommandPermissions.DefaultPermission.OP_ONLY);
forceLoginCommand.addArgument(new CommandArgumentDescription("player", "Online player name", true)); forceLoginCommand.addArgument(new CommandArgumentDescription("player", "Online player name", true));
@ -99,6 +99,7 @@ public class CommandManager {
CommandDescription changePasswordCommand = new CommandDescription( CommandDescription changePasswordCommand = new CommandDescription(
new RegisterCommand(), new RegisterCommand(),
new ArrayList<String>() {{ new ArrayList<String>() {{
add("password");
add("changepassword"); add("changepassword");
add("changepass"); add("changepass");
add("cp"); add("cp");
@ -108,7 +109,7 @@ public class CommandManager {
authMeCommand); authMeCommand);
changePasswordCommand.setCommandPermissions("authme.admin.changepassword", CommandPermissions.DefaultPermission.OP_ONLY); changePasswordCommand.setCommandPermissions("authme.admin.changepassword", CommandPermissions.DefaultPermission.OP_ONLY);
changePasswordCommand.addArgument(new CommandArgumentDescription("player", "Player name", false)); changePasswordCommand.addArgument(new CommandArgumentDescription("player", "Player name", false));
changePasswordCommand.addArgument(new CommandArgumentDescription("password", "New password", false)); changePasswordCommand.addArgument(new CommandArgumentDescription("pwd", "New password", false));
// Register the purge command // Register the purge command
CommandDescription lastLoginCommand = new CommandDescription( CommandDescription lastLoginCommand = new CommandDescription(
@ -245,10 +246,10 @@ public class CommandManager {
CommandDescription purgeLastPositionCommand = new CommandDescription( CommandDescription purgeLastPositionCommand = new CommandDescription(
new PurgeLastPositionCommand(), new PurgeLastPositionCommand(),
new ArrayList<String>() {{ new ArrayList<String>() {{
add("resetpos");
add("purgelastposition"); add("purgelastposition");
add("purgelastpos"); add("purgelastpos");
add("resetposition"); add("resetposition");
add("resetpos");
add("resetlastposition"); add("resetlastposition");
add("resetlastpos"); add("resetlastpos");
}}, }},
@ -288,7 +289,7 @@ public class CommandManager {
// // Register the resetname command // // Register the resetname command
// CommandDescription resetNameCommand = new CommandDescription( // CommandDescription resetNameCommand = new CommandDescription(
// new SwitchAntiBotCommand(), // new ResetNameCommand(),
// new ArrayList<String>() {{ // new ArrayList<String>() {{
// add("resetname"); // add("resetname");
// add("resetnames"); // add("resetnames");