Class ServerPing.Players

java.lang.Object
com.velocitypowered.api.proxy.server.ServerPing.Players
Enclosing class:
ServerPing

public static final class ServerPing.Players extends Object
Represents what the players the server purports to have online, its maximum capacity, and a sample of players on the server.
  • Constructor Details

    • Players

      public Players(int online, int max, List<ServerPing.SamplePlayer> sample)
      Creates a new instance.
      Parameters:
      online - the number of online players
      max - the maximum number of players
      sample - a sample of players on the server
  • Method Details