getConnectionByAnySecret

abstract fun getConnectionByAnySecret(@NotNull anySecret: @NotNull UUID): Optional<UdpProxyConnection>

Retrieves a UDP proxy connection by any of the player's secrets.

Return

An optional containing the UDP proxy connection if found, otherwise empty.

Parameters

anySecret

Any of the player's secrets.