mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-01 02:31:02 +01:00
{UNIQUE} player count for motd
This commit is contained in:
parent
548666b79b
commit
d0bf1905a9
@ -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\\}.*"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user