• Shows a menu for managing a single protected area.

    Parameters

    • sourceEntity: loosePlayerType

      The player viewing the UI.

    • areaID: string

      The identifier name of the protected area.

    • prefix: string

      A prefix for the advanced protected area category.

    Returns Promise<0 | 1>

    A promise that resolves to one of two values: 0 or 1. 0 means the previous menu should be closed. 1 means 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.