mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-24 16:32:35 +01:00
{UNIQUE} player count for motd
This commit is contained in:
parent
9557b25344
commit
c244c0995e
@ -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…
x
Reference in New Issue
Block a user