From aa089314f004d37cc2c4024f55fe1ebb0b0b7704 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Fri, 3 Apr 2015 01:56:36 -0700 Subject: [PATCH] Completely removed Testing group from dead checks and laggy checks in server monitor. --- .../src/mineplex/servermonitor/ServerMonitor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.ServerMonitor/src/mineplex/servermonitor/ServerMonitor.java b/Plugins/Mineplex.ServerMonitor/src/mineplex/servermonitor/ServerMonitor.java index 1d9306bb3..889dd4ef4 100644 --- a/Plugins/Mineplex.ServerMonitor/src/mineplex/servermonitor/ServerMonitor.java +++ b/Plugins/Mineplex.ServerMonitor/src/mineplex/servermonitor/ServerMonitor.java @@ -230,6 +230,9 @@ public class ServerMonitor for (MinecraftServer minecraftServer : _serverStatuses) { + if (minecraftServer.getGroup().equalsIgnoreCase("Testing")) + continue; + onlineServers.add(minecraftServer.getName()); if (minecraftServer.getTps() <= 17) @@ -369,7 +372,7 @@ public class ServerMonitor _deadServers.clear(); for (MinecraftServer deadServer : _repository.getDeadServers()) { - if (deadServer.getUptime() <= 10) + if (deadServer.getUptime() <= 10 || deadServer.getGroup().equalsIgnoreCase("Testing")) continue; if (_count == 0 || deadServers.contains(deadServer.getName()))