Add platform type to the info command

This commit is contained in:
Luck 2016-09-10 21:54:31 +01:00
parent 37749e5829
commit 1142cbcb2c
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public class InfoCommand extends SingleMainCommand {
final LPConfiguration c = plugin.getConfiguration();
Message.INFO.send(sender,
plugin.getVersion(),
plugin.getType().getFriendlyName(),
plugin.getDatastore().getName(),
c.getServer(),
c.getSyncTime(),

View File

@ -123,6 +123,7 @@ public enum Message {
UPDATE_TASK_RUN("&bRunning update task for all online users.", true),
INFO(
PREFIX + "&6Running &bLuckPerms v%s&6 by &bLuck&6." + "\n" +
PREFIX + "&f-> &ePlatform: &6%s" + "\n" +
PREFIX + "&f-> &eStorage Method: &6%s" + "\n" +
PREFIX + "&f-> &eServer Name: &6%s" + "\n" +
PREFIX + "&f-> &eSync Interval: &6%s minutes" + "\n" +