mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-26 20:55:42 +01:00
Little change to the debug info
This commit is contained in:
parent
faf8a56cac
commit
8454bfaaad
@ -5,6 +5,7 @@ import com.google.common.io.ByteStreams;
|
||||
import com.jaimemartz.playerbalancer.PlayerBalancer;
|
||||
import com.jaimemartz.playerbalancer.section.ServerSection;
|
||||
import com.jaimemartz.playerbalancer.settings.props.features.ServerCheckerProps;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import net.md_5.bungee.api.config.ServerInfo;
|
||||
import net.md_5.bungee.api.connection.Server;
|
||||
import net.md_5.bungee.api.event.PluginMessageEvent;
|
||||
@ -76,8 +77,8 @@ public class StatusManager implements Listener {
|
||||
|
||||
if (props.isDebug()) {
|
||||
plugin.getLogger().info(String.format(
|
||||
"Updated server %s, status: [Description: \"%s\", Players: %s, Maximum Players: %s, Online: %s]",
|
||||
server.getName(), status.getDescription(), status.getPlayers(), status.getMaximum(), status.isOnline()
|
||||
"Updated server %s, status: [Description: \"%s\", Players: %s, Maximum Players: %s, Accessible: %s]",
|
||||
server.getName(), ChatColor.stripColor(status.getDescription()), status.getPlayers(), status.getMaximum(), isAccessible(server)
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user