New Plugin Command

Would you like this feature?

  • Yes

    Votes: 21 91.3%
  • No

    Votes: 0 0.0%
  • Yes, but not important

    Votes: 2 8.7%

  • Total voters
    23

LTN Games

Code Sorcerer
Veteran
Joined
Jun 25, 2015
Messages
700
Reaction score
623
First Language
English
Primarily Uses
RMMV
Description of the Feature:

  • At the moment, to add plugin commands to your event, you have to track through a large help file and or remember a large list of commands and their arguments. I am proposing a new, more user-friendly way of selecting a plugin command for the user. And for the developer to easily add plugin commands without aliasing the same method all the time.

Code for Implementation:
It requires a bit of work, I created an issue at the Github Repo if you want more details
https://github.com/rpgtkoolmv/corescript/issues/119

Simply put though...
Basically, to add a command for the editor to graphically see all command related arguments the plugin dev would have to do this. Much like a parameter since MV 1.5
Code:
@command Layers

@action add
@text Add Layer
@parent Layers
@type struct<LayerAdd>
@desc Add layer to the map.
The plugin dev would simply do this to perform actions when the command is called.
PHP:
  PluginManager.registerCommands('layer', {
    add: function (data) {
      const args = JSON.parse(data.args)
      Layers.createConfig(data.mapId, args.id, {
        x: args.x,
        y: args.y,
        z: args.z
      })
     },
    refresh: function (data) { /* Do Stuff */ },
    remove: function (data) { /* Do Stuff */ }
  })
Mockups:


Why is this feature good?
This feature is great because of the following:
  • Easily select a plugin command without traversing large list of plugins and their help files
  • No need to remember all commands, arguments of all the plugins you use.
  • No more aliasing the same function, over for all plugins used, improving compatibility and any conflicts.
  • More control over all plugin commands

Possible issues with this feature?
Issues that might arise from this feature:
  • Possible compatibility issues (though I covered as much as I could think of in the github issue)
  • ????
 

pivoo

Haphazardous Scripter
Member
Joined
Jun 6, 2014
Messages
24
Reaction score
18
First Language
English
Primarily Uses
RMMV
Great idea!
Especially since there's basically no extra usability for the base user over a script box since they have to type everything in already anyways
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts


And now to face my worst enemy... adding color :kaocry:
Power has been restored FINALLY to our home in Lake Charles. Hurricane Laura tried to wreck our lives and disrupt my work on the commercial project i have going with Cloud 9 but the key word is TRIED!!! Slowly moving from the shelter to home over the next week or so. I WILL NOT QUIT!
I am happy because the RPG Maker MZ character comes with extra bust and full body art, but I am disappointed because the quality of the character's PIxel art has decreased.
Only My Opinion that Pixel art MV is better.
I think my SV will be weird, but I would love to change it up.

"Signature characters" - the mascots of your game. Cute, quirky, lovable, recognizable.
i.e.
Kirby, Disgaea prinnies, creepers, Sonic, Mario, DQ slimes, pikachu (all starters), chocobos.

You see what I'm saying.
Getchu one.

Forum statistics

Threads
103,224
Messages
998,131
Members
134,710
Latest member
katana100
Top