getNonProxyCloudServer

open fun P.getNonProxyCloudServer(): ServiceInfoSnapshot?

Scans all currently active game servers (non-proxy) for the first server which the given player is currently connected to. If the player is not online, this function returns null.

Note that this function will not return any proxy server like BungeeCord, Velocity, etc. To also include those servers in the search, use getCloudServer.