Add platform type to the info command
This commit is contained in:
@@ -44,6 +44,7 @@ public class InfoCommand extends SingleMainCommand {
|
|||||||
final LPConfiguration c = plugin.getConfiguration();
|
final LPConfiguration c = plugin.getConfiguration();
|
||||||
Message.INFO.send(sender,
|
Message.INFO.send(sender,
|
||||||
plugin.getVersion(),
|
plugin.getVersion(),
|
||||||
|
plugin.getType().getFriendlyName(),
|
||||||
plugin.getDatastore().getName(),
|
plugin.getDatastore().getName(),
|
||||||
c.getServer(),
|
c.getServer(),
|
||||||
c.getSyncTime(),
|
c.getSyncTime(),
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ public enum Message {
|
|||||||
UPDATE_TASK_RUN("&bRunning update task for all online users.", true),
|
UPDATE_TASK_RUN("&bRunning update task for all online users.", true),
|
||||||
INFO(
|
INFO(
|
||||||
PREFIX + "&6Running &bLuckPerms v%s&6 by &bLuck&6." + "\n" +
|
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-> &eStorage Method: &6%s" + "\n" +
|
||||||
PREFIX + "&f-> &eServer Name: &6%s" + "\n" +
|
PREFIX + "&f-> &eServer Name: &6%s" + "\n" +
|
||||||
PREFIX + "&f-> &eSync Interval: &6%s minutes" + "\n" +
|
PREFIX + "&f-> &eSync Interval: &6%s minutes" + "\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user