• Hi Guest!

    This is a notice regarding recent upgrades to the Hub. Over the last month, we have added several new features to improve your experience.
    You can check out the details in our official announcement!

Solved How to enable plugin A to send a command that triggers a "reload" of plugin B?

FrogFrog

Active member
Messages
27
Reactions
216
Points
28
For plugin developers, how to enable plugin A to send a command that triggers a "reload" of plugin B without plugin B providing any additional interfaces?
 
Solution
Last VAM's update allows reloading plugin from code with (look at VAM's code through ILSpy or similar for more details)

C#:
MVRPlugin.Reload();
I realise you asked this a while back - I was looking for something else when I saw your Q was unanswered - the answer is no, you can't trigger a plugin to reload and can only do it manually.

But unless there's a problem with the way the script was written, you shouldn't need to. It's best to ask the plugin author and on the 2 occasions I've done so, they looked for bugs and published revised versions. Bit of a delayed response, hope it helps :)
 
Upvote 0
Last VAM's update allows reloading plugin from code with (look at VAM's code through ILSpy or similar for more details)

C#:
MVRPlugin.Reload();
 
Upvote 0
Solution
Back
Top Bottom