Renamed /bbox info to /bbox version

This commit is contained in:
Florian CUNY 2018-08-07 10:43:38 +02:00
parent 2e75c8b4b4
commit 7d04d8acc2
2 changed files with 9 additions and 4 deletions

View File

@ -17,7 +17,7 @@ public class BentoBoxCommand extends CompositeCommand {
@Override @Override
public void setup() { public void setup() {
setDescription("commands.bentobox.description"); setDescription("commands.bentobox.description");
new InfoCommand(this); new VersionCommand(this);
new AboutCommand(this); new AboutCommand(this);
} }

View File

@ -6,14 +6,19 @@ import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.localization.TextVariables; import world.bentobox.bentobox.api.localization.TextVariables;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class InfoCommand extends CompositeCommand { /**
* Displays information about Gamemodes, Addons and versioning.
*
* @author tastybento
*/
public class VersionCommand extends CompositeCommand {
/** /**
* Info command * Info command
* @param parent - command parent * @param parent - command parent
*/ */
public InfoCommand(CompositeCommand parent) { public VersionCommand(CompositeCommand parent) {
super(parent, "info"); super(parent, "version", "v", "versions", "addons");
} }
@Override @Override