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!
MZ So I want to start making plugins...
Learning JavascriptGosh there is so much but I can share some good info with you...
Well there is this:
TUTORIAL: The Absolute Basics of Plugin Making
This will only cover the BASICS of plugin making. I will add more to this when the video is up ( i.e. how to pull params from the user to use in your plugin) A video will accommodate this in a little bit. You will NOT become a level 99 Warlock after this... maybe. a level 5 Wizard?. Anyways...
forums.rpgmakerweb.com
..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:
Introduction to the new Plugin Manager in RPG Maker MV 1.5.0+
RPG Maker MV just get updated with the new Plugin Manager. You can create powerful plugins like the following one now! An example plugin is available in the attachment and also on GitHub. This plugin is intended to demonstrate the new Plugin Manager in RPG Maker MV v1.5.0 only so it doesn't...
forums.rpgmakerweb.com
MZ - What are the parameter type options?
Starting to code a couple of plugins for RPG Maker MZ, and I'm having trouble getting the parameter type working in the code. If you still don't get what I mean, I'm talking about this part: * @param FEA_UIS * @text UI Sound Effects * @parent Features * @desc Split SE into regular SE and those...
forums.rpgmakerweb.com
For javascript itself this website is pretty helpful:
JavaScript Tutorial
This tutorial covers everything from basic JavaScript up to the latest 2026 version.
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.
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.
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/