A beginner's guide to understanding how plugins work in RPG Maker MV / MZ. Part 1 will include how to download and install a plugin, and how to use plugin parameters!
Do you want to use Plugins in RPG Maker MZ but don't know where to start? This tutorial series is for you! You can click here to read part 2.
If you just need a quick summary of what you can do with plugins and how to use them hiddenone created a great article that can be read over here.
When downloading a new plugin, make sure to save the file with the .js extension. The link to a plugin’s download may look like an ordinary text file, possibly like this:
To save this as a .js file, simply right click the page or go to File>Save As and make sure to save the file with the .js extension at the end. This file needs to be saved in your project’s *\js\plugins folder. To install the plugin, open your project in RPG Maker MZ and locate the Plugin Manager. You can do this by clicking Tools>Plugin Manager on the top bar, or simply by locating the puzzle piece icon underneath. Your new project’s Plugin Manager should look like this:
Now let’s install the plugin. Double click anywhere inside of the Plugin List, which will bring up a new Plugins Settings page. Clicking the rectangle under “Name:” will bring up a list of plugins in your project’s folder which you can choose from. Most plugins will provide a short description of what they do alongside their name, like so:
Select the new plugin, make sure its Status is set to “ON” and apply all of the settings. This will add your new plugin to the list, like so:
◆ Important Note: You can quickly turn a plugin on and off by clicking the checkbox or pressing Spacebar under Status.
The plugin is now installed and will take effect on your project. Some plugins may require you to change their Parameters, use Plugin Commands or Notetags in order to do what you want.
Some plugins need to be customized via Plugin Parameters. When you install a plugin, you will find these on the right-hand side of the window. These can be changed by double-clicking the parameter you wish to adjust, which should bring up a new window.
Let’s install a new plugin called AltMenuScreen2MZ by Sasuke Kannazuki and Munokura:
By default, if you just install the plugin and don’t change any parameters, your main menu should look like this:
But the plugin creator has added Plugin Parameters that allow you to change certain elements of the plugin. There are many different ways in which a plugin’s creator can give the user control over the Plugin Parameters. Firstly, there are boolean (or switches in eventing terms) values. These are true/false values that will usually ask whether you would like something to be enabled or disabled. Here is an example of a boolean Plugin Parameter:
There are also variable values for Plugin Parameters. These will usually accept a number, like this:
By adjusting this value, we can change how many actors will appear in the main menu. Here is what happens when we change this value to 2:
There are also Plugin Parameters where the user can input a text string. This can be used to display information to the player in your game. Here, it is used to show the label for map names under the main menu:
Some Plugin Parameters will ask you to select a file from your project’s folders, by clicking the long rectangle next to the file path. This could be to select a Picture, Character, Face, etc. Here, the plugin uses this Plugin Parameter to select a custom background for the main menu:
By adjusting these parameters to your liking, you can get the most out of plugins and customize your game to look and function as you want it.
It should also be noted that each Plugin Parameter will allow you to change the parameter value via Text. This means that you can copy and paste values such as booleans (true/false) for ease of use if the user needs to duplicate certain parameters in another project.
◆ Important Note: This is very handy since you can't copy/paste parameter settings one by one and has to be the entire plugin. The text function helps you bypass that.
For the next tutorial, coming this Saturday, we'll cover plugin Commands, where to find notetags and how to update your plugins. Happy Game Making!
Have you been searching for some retro tiles to create a jail? Do you need some pixelated balloons to bring some extra emotion to your cutscenes? Have you been missing RPG Maker 2003’s hero Alex? If the answer to any of these questions is ‘yes’, then it’s time to check out HITAITARO’s dungeon pack!