Returns Promise<0 | 1>
A promise that resolves to:
1
if the operation was successful or the form was canceled.
0
if the user selected "Cancel" in the access denied message or "Close" if an error message appeared.
The function performs the following steps:
- Checks if ultra security mode is enabled.
- If enabled, verifies if the player has the required permission to access the settings.
- If the player lacks permission, displays an access denied message.
- If the player has permission or ultra security mode is disabled, displays the UI settings form.
- Updates the configuration based on the form input.
- Returns the appropriate status code based on the outcome.
Displays and handles the edit custom statistic form for a given entity.