RMMZ Bare Bones MZ Plugin Template

Joined
Dec 16, 2017
Messages
208
Reaction score
720
First Language
English
Primarily Uses
RMMZ
NOTE: This is NOT a tutorial for making MZ plugins.

I've looked for an absolute bare bones plugin template for MZ and have not been able to find one, so here's my attempt. To keep things as simple as possible, this template does not include arguments.

JavaScript:
//=============================================================================
// MZpluginTemplate.js
//=============================================================================
/*:
* @target MZ
* @plugindesc v0.0.1 Bare Bones Plugin Template
* @author Starbird
* @help MZpluginTemplate.js
*
* This is a basic template for a plugin.
*
* @command runMe
* @desc this is the command you can call in the Plugin Manager
*
*
*/

(() => {
   
    //
    const pluginName = "MZpluginTemplate";
 
    PluginManager.registerCommand(pluginName, "runMe", args => {
     // this stuff will happen when you call the plugin command runMe    
     console.log('You called the plugin command runMe!')
    });
       
    //this stuff will happen no matter what
    console.log('Your plugin MZpluginTemplate is working.')
   
})();


// end of file
 

Latest Threads

Latest Posts

Latest Profile Posts

Ami


Imagine you (as Miner) Sleep in the Cave,the other side is a Bunch of Golds,how d'you feel?
finally got footage of my main character running around his corrupted street...
I finally got the ships and water to flow like I wanted to~ the canals are a success. Now to loop the animation for the kites. So many kites.
Bendyizzt wrote on staggqueen's profile.
Hello Newcomer...

Forum statistics

Threads
107,694
Messages
1,031,493
Members
139,820
Latest member
SGR
Top