With plugins that need a "parent" plugin to work (like Yanfly's action packs), if we turn off the main plugin do we need to also turn off the children plugins or do they stop working automatically to prevent crash? Has anybody tested it?
Mother/child plugins
RPG Maker MV SupportIf you only disable the parent plugin, you'll probably get an error on the console, but nothing wrong will happen with the game itself, unless the child plugin isn't checking if the parent is there.
I made it in such where if you turn off the "parent" plugin, nothing in the "child" plugin will run.
(。 ◕ ‿‿ ◕ 。)
(。 ◕ ‿‿ ◕ 。)
Thanks Hudell and Yanfly!
I'll be doing a similar thing where child plugins would show an alert (but only in local test mode) when you start the game saying it requires parent plugin, then not do anything.
In general though, it depends on the specific scripts.
Here's to hoping for future plug-in makers sticking to that convention.
*hugs*
Here's to hoping for future plug-in makers sticking to that convention.
*hugs*
Original thread: https://forums.rpgmakerweb.com/threads/mother-child-plugins.46418/