• Opens the player menu.

    Parameters

    Returns Promise<0>

    A promise that resolves to 0 once the player menu has been closed.

    If sourceEntity is not an instance of the Player class or an instance of the executeCommandPlayerW class with a Player linked to it.