[Suggestion] Conditional plugin parameters

Description of the Feature:
  • Plugin parameters with visibility depending on the value of another parameter e.g. a select type that only appears if a boolean parameter is "true".

Mockups:
1598364043650.png

Condition not met:
1598364230401.png

Condition met:
1598364262580.png



Why is this feature good?
This feature is great because of the following:
  • Cleaner parameter interface; only what needs to be displayed will be
  • Easier to incorporate parameter dependence: could have a "mode" dropdown that has different inputs depending on selection e.g. "picture" would have a parameter set to img/pictures, "face" would instead have one pointing to img/faces. Currently you need to include every option and trust that developers will fill them in correctly.

Possible issues with this feature?
Issues that might arise from this feature:
  • Screwing up parameter conditions might result in some confusion as to why certain options aren't appearing (only an issue for the plugin developer)
  • May not be easy to implement as it would require a live refresh of the parameter list when parameters change value
I would vote yes, but I'm kinda pessimistic. For both the technical difficulties and the urgency of it (it isn't that urgent/necessary to make things work).
YES.
I miss this so much.
Awesome idea! I'd love to see this happen! It would also reduce the confusion for plugin users as to which fields they needed to fill out, versus which one's were optional.
Yes, absolutely yes. How often have I struggeled with the decision on how to implement the parameters in order to make none of them really useless or confusing in case that and that option has been chosen in another parameter.
YES.
I miss this so much.

Wait, it was a feature before?
Absolutely. Several of my plugins have "enable/disable this set of features" with child plugin parameters associated with them. It'd be nice to just hide the child parameters if the user chooses to disable that section.
Wait, it was a feature before?
No, I think I used the word miss in the wrong way. When working with the parameters I often wish this was a feature.

Original thread: https://forums.rpgmakerweb.com/threads/suggestion-conditional-plugin-parameters.126049/