getServerInfoByServerInstance

Gets server information by server-specific instance.

The instance parameter represents the server-specific server instance:

  • For Velocity com.velocitypowered.api.proxy.server.RegisteredServer

  • For BungeeCord net.md_5.bungee.api.config.ServerInfo

Return

A McProxyServerInfo instance corresponding to the provided server instance.

Parameters

instance

The server-specific server instance.