I'm no expert on JavaScript but from my previous experience and just now looking at the plugins which come with MV there isn't anything needed at the start of script, of course it'll look much better with comments detailing what it does and what certain var's you've created do but that's more for making it look better and making easier to change later on then an actual necessity.
You do. The main parts are these:
The FILE_NAME.js is definitely necessary, as well as the plugin description and author. I'm not sure, but I don't think the help section is required.
//=============================================================================
// FILE_NAME.js
//=============================================================================
/*:
* @plugindesc description
* @author yourname
*
* @param optional
* @desc
* @default
*
* @help
*
* Optional
*
*/
Something that takes the bare minimum would look like this:
//=============================================================================
// AltSaveScreen.js
//=============================================================================
/*:
* @plugindesc Alternative save/load screen layout.
* @author Yoji Ojima
*
* @help This plugin does not provide plugin commands.
*/
(taken directly from the AltSaveScreen plugin included with MV ;P)
A plugin will work without any of the comments mentioned - the filename isn't required in the comments either.
The comments with @plugindesc, @author, @help etc. will be pulled into the plugin manager if they exist to help those who are using it but they seem to work fine without any of them 🙂
Not sure where your mismatched filenames come from, but I can create a blank test.js file and can turn it on in the plugin manager.
Ty.
I will try a few things mentioned. I'm so used to just changing core scripts directly, thought at least having a plug-in would save some time. Would definately be interesting to get the inputs working too for some of them.
Or, alternatively, you could use a different way to read plugin parameters (hint: It's linked in my signature). It has been adapted by dozens of plugins so far and i've yet to hear someone complain about it (unlike PluginManager.parameters, which tends to easily break some plugins) 😉
As a base, I got my plug-in running, but without the quick modifications options. Still working on getting that part working in a copy of what I have now.