Jump to content

deactivate / activate plugins in quest profiles?


inselmann

Recommended Posts

Hi all,

is it possible to deactivate or activate plugins in a quest profile?

I had problems with a plugin in town, so i want to deactivate it first before
i use hearthstone, go through a portal and later in the grinding area
i want to activate it again.

I can change fight classes in quest profiles but i did not find a way to
change the plugin settings.

Any help would be great.
Thank you

Best regards
inselmann

Link to comment
Share on other sites

Hello, you cannot, but you can try code like (not tested):

        wManager.Plugin.PluginsManager.DisposeAllPlugins();
        wManager.Events.PluginEvents.OnLoadPlugin += delegate(string pluginfile, CancelEventArgs cancelable)
        {
            if (pluginfile == "plugin file name.cs")
            {
                cancelable.Cancel = true;
            }
        };
        wManager.Plugin.PluginsManager.LoadAllPlugins();

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...