mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 10:45:22 +01:00
Added extra info to version command on version used.
This commit is contained in:
parent
6316ff4a93
commit
9acb79fc60
@ -43,6 +43,7 @@ public class BentoBoxVersionCommand extends CompositeCommand {
|
||||
user.sendMessage("commands.bentobox.version.server",
|
||||
TextVariables.NAME, serverSoftware.equals(ServerSoftware.UNKNOWN) ? user.getTranslation("general.invalid") + " (" + serverSoftware.getName() + ")" : serverSoftware.toString(),
|
||||
TextVariables.VERSION, serverVersion != null ? serverVersion.toString() : user.getTranslation("general.invalid"));
|
||||
user.sendRawMessage("(" + Bukkit.getVersion() + ")");
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user