• Main function to handle the shop system settings interface.

    Parameters

    Returns Promise<-2 | 0 | 1>

    A promise that resolves to one of the following values:

    • -2 if an error occurs.
    • 0 if the operation is closed.
    • 1 if the operation is successful.

    The function displays a menu with options to configure the server shop, player shop, and sign shop settings. It also checks for permissions if ultra security mode is enabled.

    The menu options are:

    • Server Shop: Toggles the server shop system settings.
    • Player Shop: Toggles the player shop system settings.
    • Sign Shop: Displays a message that the sign shop system does not exist yet.
    • Back: Returns to the previous menu.
    • Close: Closes the menu.

    If an error occurs during the execution, it logs the error and returns -2.