MZ So I want to start making plugins...

Where should I start? I'm new to Javascript, and have VScode already on my PC. I hope I can learn a lot, and I would love to finally try programming!
Where should I start? I'm new to Javascript, and have VScode already on my PC. I hope I can learn a lot, and I would love to finally try programming!
Gosh there is so much but I can share some good info with you...

Well there is this:

..but honestly in the long run some of the practices used in that tutorial aren't really what I've found to be the best.. but could be a starting point

Really study the engines main files in the js folder (rmmz_windows, rmmz_sprites, rmmz_scenes, rmmz_objects, rmmz_managers, rmmz_core)

That is a very helpful thing to do.

This site has a lot of good info here to and most of it can be applied to rmmz.

Not sure if there is one like that for rmmz or not. Maybe someone else can point us both towards one if there is.

This spreadsheet is full of great info:
RPGMaker MV/MZ Script Calls: Click Here to View

For creating a plugin with parameters check this very helpful guide:
and a few extra things added for rmmz:

For javascript itself this website is pretty helpful:

Heavily study other plugins already created and find what works best for you.

Also a lot of trial and error lol

I'll edit this post with a template to help for you soon 😉

Edit:
Okay so I made a template/example to use/edit...

Some of it is definitely a bit more advanced and I didn't really explain certain parts very well but maybe it can still be somewhat helpful to you.

CTB_TemplateMZ Plugin: Click Here to View
You have to just learn JavaScript first - some of the stuff in MZ's engine is intermediate to advanced, so if you don't solidly know what you're doing, reading it won't make any sense.

I second ct_bolt's suggestion of w3schools, although you can use any JavaScript tutorials that come up when you Google it.

I do recommend you start at the Statements chapter, as the first few have to do with how to embed it into Web pages which isn't relevant to what you're doing.
You have to just learn JavaScript first - some of the stuff in MZ's engine is intermediate to advanced, so if you don't solidly know what you're doing, reading it won't make any sense.
This.

A common mistake is thinking of "learning to code in RPGM" instead of "learning to code Javascript".
You can get trapped in things like: "Okay, but what parts of Javascript do actually work in RRPGM?" to which the answer is all of them.

If you try to write plugins from the limited perspective you have from RPGM, you'll run into walls and have a horrible time reading the engine code to figure out how & where to inject your code. For me, it was like fumbling in the dark with no idea how anything works and constant doubts & worries about whether I'm doing things correct, imitating code I could see elsewherre.
But the moment you can read & write JS, it's like a veil lifts and you can just read & understand basically everything in the engine.

A good way I've found to dip your toes in is the coding train:

It uses the p5.js library for images, but the techniques it teaches you are the underlying way of how all images work.

Original thread: https://forums.rpgmakerweb.com/threads/so-i-want-to-start-making-plugins.151259/