Added database type to /bentobox version

Requested by @BONNe
This commit is contained in:
Florian CUNY 2019-07-20 20:48:41 +02:00
parent 74372b391a
commit affbb02ede
3 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public class BentoBoxVersionCommand extends CompositeCommand {
TextVariables.NAME, serverSoftware != null ? serverSoftware.toString() : user.getTranslation("general.invalid"),
TextVariables.VERSION, serverVersion != null ? serverVersion.toString() : user.getTranslation("general.invalid"));
user.sendMessage("commands.bentobox.version.plugin-version", TextVariables.VERSION, getPlugin().getDescription().getVersion());
user.sendMessage("commands.bentobox.version.database", "[database]", getSettings().getDatabaseType().toString());
user.sendMessage("commands.bentobox.version.loaded-game-worlds");
getIWM().getOverWorldNames().entrySet().stream().sorted(Comparator.comparing(Map.Entry::getKey))

View File

@ -350,6 +350,7 @@ commands:
addon-syntax: "&2[name] &3[version] &7(&3[state]&7)"
game-world: "&2[name] &7(&3[addon]&7): &aOverworld&7, &r[nether_color]Nether&7, &r[end_color]End"
server: "&2Running &3[name] [version]&2."
database: "&2Database: &3[database]"
manage:
description: "displays the Management Panel"
catalog:

View File

@ -144,6 +144,7 @@ commands:
addon-syntax: "&2[name] &3[version] &7(&3[state]&7)"
game-world: "&2[name] &7(&3[addon]&7): &aOverworld&7, &r[nether_color]Nether&7, &r[end_color]End"
server: "&2Serveur : &3[name] [version]&2."
database: "&2Base de données : &3[database]"
manage:
description: "affiche le menu de gestion"
catalog: