openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

allow plugin to unload itself, add `Meta::ReloadPlugin()` #510

Open ezio416 opened 2 weeks ago

ezio416 commented 2 weeks ago

A plugin can be unloaded from another plugin, but why not itself? There are two use cases I could see this being useful in:

For Meta::ReloadPlugin(), if implemented I feel it should return a new Meta::Plugin

codecat commented 1 week ago

I think the permissions thing could potentially be done in info.toml as well. 🤔