getConnectionByRemoteSecret

abstract fun getConnectionByRemoteSecret(@NotNull remoteSecret: @NotNull UUID): Optional<UdpProxyConnection>

Retrieves a UDP proxy connection by the remote secret of the player.

Return

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

Parameters

remoteSecret

The remote secret of the player.