What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

How to disable and enable plugin from profile?

taozi

Community Developer
Joined
Nov 10, 2012
Messages
163
Reaction score
1
As title, How to disable and enable plugin from profile? or How to disable and enable plugin from another plugin?
 
All Plugin Related API can be found using Zeta.Common.Plugins.PluginManager.

You can enumerate all plugins using PluginManager.Plugins.
Code:
foreach (var p in PluginManager.Plugins)
{
	p.Enabled = false;
}

To achieve this from a profile would require creating a new XmlElement Tag (using a plugin).
 
Back
Top