MZ Making a Plugin?

Engine: RPGMMZ
Main Plugins: VisuStella

I'm trying to modify the Equip Scene and add additional windows to my liking. The same goes for the item scene. Do I edit the rmmz_scenes.js file found within my JS folder?

Do I have to create a plugin and paste what I want to change from the rmmz_scenes.js file into this new .js plugin file?
Do I have to create a plugin and paste what I want to change from the rmmz_scenes.js file into this new .js plugin file?
this.
locate what you need, copy it, and paste it into a new js file, make your edits, and reintroduce it to your project as a plugin. never change the core files directly. amongst other reasons to not edit the core files directly, many plugins are made to work under the assumption that youre using the default version of those files and build off of them. if you start changing them, youll likely break other plugins
also, every time you upgrade your project core all those core js files are overwritten with the default ones, vanishing any change you might have added - and MZ is still the active one and has received updates.
Engine: RPGMMZ
Main Plugins: VisuStella

I'm trying to modify the Equip Scene and add additional windows to my liking. The same goes for the item scene. Do I edit the rmmz_scenes.js file found within my JS folder?

Do I have to create a plugin and paste what I want to change from the rmmz_scenes.js file into this new .js plugin file?
Yes, to alter the Prepare Scene and Thing Scene in RPGMMZ utilizing VisuStella plugins, you ordinarily wouldn't specifically alter the rmmz_scenes.js record. Instep, it's prescribed to form a unused plugin and implement your desired changes there. You'll be able copy the relevant code from rmmz_scenes.js into your modern plugin record and after that customize it concurring to your inclinations. This way, you'll keep up compatibility with future upgrades and guarantee cleaner code administration.

Original thread: https://forums.rpgmakerweb.com/threads/making-a-plugin.169166/