How do you actually code plugins 0///0

I confess i have zero knowledge of javascript, though i dont mind learning it, and I'd like to make my own custom plugins for yknow stuff i want.
How do you actually begin with it? Afaik plugins for rpgmv and mz are different so... what should i do to begin learning js?
Hi there!
Yes, you should learn JS first.
plugins, like all programs, are made out of necessity.
you don't just start making programs for the lolz.
programming is more a science than an art.... figure out what you need first, and then find a way to solve it, by programming.
I confess i have zero knowledge of javascript, though i dont mind learning it, and I'd like to make my own custom plugins for yknow stuff i want.
Make sure you look around to see that there aren't already things you can use. MV has been around for years and a ton of stuff has been made for it already.

If what you want really does require custom work, be aware that this is not an immediate solution. Depending on the complexity of what you want to do, and how good a study you are, it will likely take at least months before you're at the level necessary to start making custom material well.

Afaik plugins for rpgmv and mz are different so...
Not in any way that affects you learning how to code in JavaScript. There are some minor differences in the engine's code, but if you get to the point where you can read that code and actually write your own plugins, those differences are irrelevant.

what should i do to begin learning js?
At the sake of sounding silly...you learn it? Like, you can Google "learn JavaScript" and find books, classes, online tutorials, whatever route you want to take.

You can ignore things that are focused on using JavaScript to embed stuff in Web pages, since that's not what you're doing. I often recommend the tutorials from w3schools, starting with the Statements chapter.
plugins, like all programs, are made out of necessity.
you don't just start making programs for the lolz.
programming is more a science than an art.... figure out what you need first, and then find a way to solve it, by programming.
Im having some issues with yanfly's plugin not being "exactly" like what i planned but i dont know how to midify the script/code
yanfly's plugin not being "exactly" like what i planned
huh.

that's new.
Im having some issues with yanfly's plugin not being "exactly" like what i planned but i dont know how to midify the script/code
If that's your main purpose, it's way easier to post a thread in Plugin Requests for help modifying it (or even tossing someone some bucks as a commission, if that fails) than to study coding for as long as it would take for you to be able to understand and correctly modify someone else's code.
If you want to learn making plugins without any Javascript knowledge, look for the tutorials by SumRndmDde or SRD on YouTube. He explains clearly step by step what to do. But it is a process, you won't be able to make complicated plugins in a day.
Learn Programming Logic first, them go to Javascript.

After that, try to insert a few lines of code on your projects with the Script command.

I have a practical example on my Learn RPG Maker MV project, although it's not a Javascript lesson, I reset all the Self Switches through a code after the player finish each lesson (so s/he can replay it from scratch).

The last part of your learning process will be to develop a custom plugin. Be patient, one day you will get there! 😉
Trihan also has a "Jump into Javascript" tutorial series you can check out: https://forums.rpgmakerweb.com/inde...lanation-of-the-default-js-files-in-mv.74928/

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-actually-code-plugins-0-0.150784/