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

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
701
Reaction score
625
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

Say, does anyone know any other indie game development forums? Progress on my uni survey has been a little slow, so I wanna look into posting it around a bit more.
Due to the bullies' resurgence on Facebook and Twitter against my friend (and I since I defend), we've decided to move over to tumblr to try to obscure our presence, where we might finally be at peace working on games. If anyone wants my/our game's tumblrs to follow lmk. :kaojoy:
Is there anyone need help with anything except art and music?
is Gotcha Gotcha Games Inc. = KADOKAWA CORPORATION? I haven't found this topic yet, Want to know for credits on my game. Thanks.

Forum statistics

Threads
104,303
Messages
1,005,404
Members
135,826
Latest member
zjjnwgd
Top