From d0bf1905a9e84f8b70d7d85d6a9253b16a7cc223 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 19 Jul 2011 00:10:33 +0200 Subject: [PATCH] {UNIQUE} player count for motd --- Essentials/src/com/earth2me/essentials/Essentials.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index f13075b03..4a1562eaf 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -329,6 +329,7 @@ public class Essentials extends JavaPlugin implements IEssentials } } m = m.replace("{ONLINE}", Integer.toString(getServer().getOnlinePlayers().length - playerHidden)); + m = m.replace("{UNIQUE}", Integer.toString(users.size())); if (m.matches(".*\\{PLAYERLIST\\}.*")) {