getPlayerIdByAnySecret

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

Gets the player's unique identifier by any of their secrets.

Return

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

Parameters

secret

Any of the player's secrets.