• Shows the player a menu for managing a player.

    This menu is the menu that is opened when the player clicks on a player in the manage players menu.

    Parameters

    Returns Promise<0 | 1>

    A promise that resolves to 0 if the previous menu should be closed, or 1 if the previous menu should be reopened.

    Split each of the cases in the switch function into separate functions.

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