• Prompts whether to manage event subscriptions for the before or after events of an event category.

    It then runs the manageEventSubscriptions_category function.

    Type Parameters

    • Category extends "world" | "system" | "andexdb"

      The category of events to manage.

    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.