diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/NetworkPage.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/NetworkPage.java index 17e5b8b82..75e590771 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/NetworkPage.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/NetworkPage.java @@ -107,6 +107,9 @@ public class NetworkPage implements Page { String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_TABS, serverUUID, () -> pluginTabs.get().getTabs()); PlaceholderReplacer pluginPlaceholders = new PlaceholderReplacer(); + pluginPlaceholders.put("networkDisplayName", config.get(ProxySettings.NETWORK_NAME)); + pluginPlaceholders.put("serverName", config.get(ProxySettings.NETWORK_NAME)); + pluginPlaceholders.put("serverUUID", serverUUID.toString()); pluginPlaceholders.put("navPluginsTabs", nav); pluginPlaceholders.put("tabsPlugins", StringUtils.remove(tabs, "${backButton}")); diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/PlayerPage.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/PlayerPage.java index 3fdc34c1b..1c3272d58 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/PlayerPage.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/PlayerPage.java @@ -109,6 +109,7 @@ public class PlayerPage implements Page { placeholders = new PlaceholderReplacer(); PlayerPluginTab pluginTabs = pageFactory.inspectPluginTabs(playerUUID); + placeholders.put("playerName", playerName); placeholders.put("backButton", (serverInfo.getServer().isProxy() ? Html.BACK_BUTTON_NETWORK : Html.BACK_BUTTON_SERVER).create()); placeholders.put("navPluginsTabs", pluginTabs.getNav()); placeholders.put("pluginsTabs", pluginTabs.getTab()); diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/ServerPage.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/ServerPage.java index 1542bd5fd..c830112d6 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/ServerPage.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/pages/ServerPage.java @@ -101,6 +101,9 @@ public class ServerPage implements Page { String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_TABS, serverUUID, () -> pluginTabs.get().getTabs()); PlaceholderReplacer pluginPlaceholders = new PlaceholderReplacer(); + pluginPlaceholders.put("serverUUID", serverUUID.toString()); + pluginPlaceholders.put("serverName", server.getIdentifiableName()); + pluginPlaceholders.put("serverDisplayName", server.getName()); pluginPlaceholders.put("backButton", serverInfo.getServer().isProxy() ? Html.BACK_BUTTON_NETWORK.create() : ""); pluginPlaceholders.put("navPluginsTabs", nav); pluginPlaceholders.put("tabsPlugins", tabs);