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
public void setup() {
setDescription("commands.bentobox.description");
new InfoCommand(this);
new VersionCommand(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.user.User;
public class InfoCommand extends CompositeCommand {
/**
* Displays information about Gamemodes, Addons and versioning.
*
* @author tastybento
*/
public class VersionCommand extends CompositeCommand {
/**
* Info command
* @param parent - command parent
*/
public InfoCommand(CompositeCommand parent) {
super(parent, "info");
public VersionCommand(CompositeCommand parent) {
super(parent, "version", "v", "versions", "addons");
}
@Override