Interface VelocityProxy

All Superinterfaces:
GenericServer

public interface VelocityProxy extends GenericServer

GenericServer instance for the Velocity proxy implementation of AdvancedServerList.

To get an instance of this class from a GenericServer instance, simply cast it to a VelocityProxy (Granted that the GenericProxy instance actually is a VelocityProxy instance).

  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,com.velocitypowered.api.proxy.server.RegisteredServer>
    Returns a Map<String, RegisteredServer> where the key is the name of the Server and the value the RegisteredServer from the Velocity Proxy.

    Methods inherited from interface ch.andre601.advancedserverlist.api.objects.GenericServer

    getHost, getPlayersMax, getPlayersOnline
  • Method Details

    • getServers

      Map<String,com.velocitypowered.api.proxy.server.RegisteredServer> getServers()
      Returns a Map<String, RegisteredServer> where the key is the name of the Server and the value the RegisteredServer from the Velocity Proxy.
      Returns:
      Possibly-empty Map containing a Server name and RegisteredServer instance.