• Gets a player by their UUID.

    Parameters

    • playerId: string | number

      The player's UUID.

    Returns undefined | Player

    The player if found, otherwise undefined.