Hello, could you please remove the CallDeprecatedHook call for OnBalanceChanged? It's on line 673 in version 4.0.0 or line 352 in version 3.9.2.
First, the deprecation date expired over three years ago. Second, the BankSystem plugin uses the same hook(OnBalanceChanged) and when a plugin is created that works with these two plugins, users receive a warning in the console that this plugin uses the deprecated hook OnBalanceChanged.
Thank you!