getPlayerIdByProxySecret

abstract fun getPlayerIdByProxySecret(@NotNull secret: @NotNull UUID): Optional<UUID>

Gets the player's unique identifier by their proxy secret.

Proxy secret is a secret, generated by the proxy and used for communication between proxy and player.

Return

An optional containing the player's unique identifier if found, otherwise empty.

Parameters

secret

The proxy secret of the player.