From 1142cbcb2cf2d2bd1eb9112ff6ea4afb1ea7def9 Mon Sep 17 00:00:00 2001 From: Luck Date: Sat, 10 Sep 2016 21:54:31 +0100 Subject: [PATCH] Add platform type to the info command --- .../main/java/me/lucko/luckperms/commands/misc/InfoCommand.java | 1 + common/src/main/java/me/lucko/luckperms/constants/Message.java | 1 + 2 files changed, 2 insertions(+) diff --git a/common/src/main/java/me/lucko/luckperms/commands/misc/InfoCommand.java b/common/src/main/java/me/lucko/luckperms/commands/misc/InfoCommand.java index 13e661f4d..b7039895b 100644 --- a/common/src/main/java/me/lucko/luckperms/commands/misc/InfoCommand.java +++ b/common/src/main/java/me/lucko/luckperms/commands/misc/InfoCommand.java @@ -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(), diff --git a/common/src/main/java/me/lucko/luckperms/constants/Message.java b/common/src/main/java/me/lucko/luckperms/constants/Message.java index 231e67bd8..04b5016f2 100644 --- a/common/src/main/java/me/lucko/luckperms/constants/Message.java +++ b/common/src/main/java/me/lucko/luckperms/constants/Message.java @@ -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" +