getRemoteSecretByPlayerId

abstract fun getRemoteSecretByPlayerId(@NotNull playerId: @NotNull UUID): Optional<UUID>

Gets the remote secret associated with a player's unique identifier.

Return

An optional containing the player's remote secret if found, otherwise empty.

Parameters

playerId

The UUID of the player.