public override PluginResponse OnEnable(IBotSettings botSettings) { if (!botSettings.loadInventory) { return(new PluginResponse(false, "'Load inventory' must be enabled.")); } FormOpener.ShowForm(); return(new PluginResponse(true)); }
public override void OnDisable() { FormOpener.CloseForm(); }