EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
988 stars 155 forks source link

Suggestion: Disable plugins #261

Open texaspete opened 6 years ago

texaspete commented 6 years ago

A way to enable/disable plugins (without having to remove the plugin from the plugins folder).

NoFoolLikeOne commented 6 years ago

Rename with en extension .disabled eg plugin.disabled

texaspete commented 6 years ago

I was thinking to be able to do it via the interface.

Athanasius commented 4 years ago

NB: At least when running under PyCharm debugging you can't rename a plugin folder whilst the plugin is in use by EDMC. So, that would have to happen after unloading the plugin.

Athanasius commented 1 year ago

And you can't actually unload a plugin... so this would need to be predicated on something like creating a filename of plugin_folder.disabled.

Rixxan commented 4 months ago

Hmm, if a plugin has a plugin.stop function, could we theoretically call that, and then mark the plugin to be moved to a .disabled folder, then restart EDMC? Not sure if that's an option.