docs: public void registerListener(IPluginEventListener listener) {
          if (pluginEventListeners2 == null) {
              pluginEventListeners2 = new ArrayList<>();
          }
  
          if (!pluginEventListeners2.contains(listener)) {
              pluginEventListeners2.add(listener);
              listener.onPluginEvent(new PluginEvent(this, PluginAction.SUBSCRIBE));
          }
      }