MZ Is it possible to make a plugin command only visible when a plugin parameter is set?

Hi! I'm making some plugins that use plugin commands.

I have one case of a plugin command that is useless unless a specific parameter of the plugin is set to "true".

So I was wondering if there's any way to hide the plugin command in the editor if the parameter is not set to "true".

Otherwise I guess I'll just make the command do nothing if the parameter is not set to "true", and document this behaviour in the plugin help.

Thanks!
No, that's not possible. The editor shows all commands defined in the plugin's header. The workaround you described is the usual approach~ 👋
I've been asking for this for ages but sadly no.
Alright thank you very much for your replies

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-a-plugin-command-only-visible-when-a-plugin-parameter-is-set.153663/