• Shows the manage warps UI to the player.

    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.

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

    The function performs the following steps:

    1. Validates the number of arguments and the type of the source entity.
    2. Checks if the player has the necessary permissions to create a custom protected area category.
    3. Checks if the warps system is enabled.
    4. Shows the manage warps UI to the player.
    5. Handles the player's response to the UI, and calls the function according to the response.