- Joined
- Sep 16, 2012
- Messages
- 453
- Reaction score
- 211
- First Language
- English
- Primarily Uses
- RMMV
Description of the Feature:
Code for Implementation:
Since I am not a hundred percent certain how to program this I will give a theoretical idea on how this could work:
I imagine you would have to load the .js file as text. Parsing till you get to a configuration tag and ending the parse when you get to an end configuration tag and save all the variables between the tags. Then load the resulting parse into the MV configuration editor.
Mockups:
How it would look in the plugin:
Why is this feature good?
This feature is great because of the following:
Possible issues with this feature?
Issues that might arise from this feature:
- Instead of the normal way of editing plugin parameters, this feature adds a text box in MV's plugin Manager that allows direct editing of a configuration area of plugins.
Code for Implementation:
Since I am not a hundred percent certain how to program this I will give a theoretical idea on how this could work:
I imagine you would have to load the .js file as text. Parsing till you get to a configuration tag and ending the parse when you get to an end configuration tag and save all the variables between the tags. Then load the resulting parse into the MV configuration editor.
Mockups:
How it would look in the plugin:
Code:
/*:@configuration
*/
string = "string"; //This is a string surrond with brackets
obj = {}; //This is an object keep the brackets
num = 5; //This is a number
bool = true; //This is a boolean value true or false
array = []; //This is an array keep the brackets
/*:endConfiguration
*/
Why is this feature good?
This feature is great because of the following:
- Cleaner code in plugin files
- Easier for developers to make parameters for their plugins
- Easy for plugin users to use.
- Is like the old way of configuring scripts in VX Ace
Possible issues with this feature?
Issues that might arise from this feature:
- Might be difficult to add changed configurations back into the .js file without messing said file up.

