Can you manually enter plugin commands?

Am I going crazy or is there no longer a way to type them in? When I select the option in the event window, it brings up the screen to select a plugin and then the command, but either none of the plugins I'm using are compatible or I'm doing something wrong. Which isn't even the current issue. I'm testing out an MV plugin that seems to work just fine, but I'm unable to type out a plugin command. Is that just not a thing with MZ? Or am I (probably) just missing something?
There's no text-entry box like in MV because plugin commands are handled differently in MZ.
There's no text-entry box like in MV because plugin commands are handled differently in MZ.
Ugh. I was afraid of that. Oh well. Thanks for letting me know. 🙂
MV plugins that want to use plugin command need to let the editor know what plugin commands are available.

Otherwise editor doesn't know about them.
Depending on the plugin and what the command does though, you could still try to look into the plugin's code and try to execute the actual javascript directly.
Depending on the plugin and what the command does though, you could still try to look into the plugin's code and try to execute the actual javascript directly.
That's a good idea and I feel dumb for not considering that before.
As Touch said many times prior to MZ's release, most MV plugins will not work with MZ. Based on your experience, it's safe to say any MV plugins that have plugin commands will not work in MZ without being at least partially rewritten.
You can still call plugin commands with a line of text, but its a lot less user friendly because you'll need to know the plugin's name, the command's (internal) name, and the internal names of each argument:

Code:
PluginManager.callCommand($gameMap._interpreter, pluginName, commandName, args);

// Example
PluginManager.callCommand($gameMap._interpreter, "AES_MZ_SomeCrapPlugin", "swapInventory", {"inventoryId":2, "alsoSwapParty":true});

But that's for invoking MZ plugin commands, so probably not what you're after. Traditional MV plugin commands are out (and for good reason) so either you find and invoke the functions directly or hope the authors port the plugins. Or port them yourself if you're code-savvy enough.
Am I going crazy or is there no longer a way to type them in? When I select the option in the event window, it brings up the screen to select a plugin and then the command, but either none of the plugins I'm using are compatible or I'm doing something wrong. Which isn't even the current issue. I'm testing out an MV plugin that seems to work just fine, but I'm unable to type out a plugin command. Is that just not a thing with MZ? Or am I (probably) just missing something?
I've just made a RMMZ plugin exactly for that(basically you write the plugin command with the RMMV style in the RMMZ editor script box, aka the script event command) 🙂
I've just made a RMMZ plugin exactly for that(basically you write the plugin command with the RMMV style in the RMMZ editor script box, aka the script event command) 🙂
Wow! That's awesome! Thanks for letting me know!

Original thread: https://forums.rpgmakerweb.com/threads/can-you-manually-enter-plugin-commands.126643/