void SetupPlugins() { Plugins = new List <PluginContainer>(); if (!_pluginsEnabled) { return; } foreach (string key in PluginKeys) { PluginContainer newPlugin = new PluginContainer(this, key); newPlugin.Setup(BasePath + "\\plugins\\" + key); Plugins.Add(newPlugin); } }