Interface StatusResponse.Players

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int max()
      Gets the maximum amount of allowed players on the server.
      int online()
      Gets the amount of online players on the server.
      java.util.List<GameProfile> profiles()
      Gets an immutable list of online players on the server to display on the client.
    • Method Detail

      • online

        int online()
        Gets the amount of online players on the server.
        Returns:
        The amount of online players
      • max

        int max()
        Gets the maximum amount of allowed players on the server.
        Returns:
        The maximum amount of allowed players
      • profiles

        java.util.List<GameProfile> profiles()
        Gets an immutable list of online players on the server to display on the client.
        Returns:
        An immutable list of online players