How to create your custom RocketCore Plugin
index.js
file inside of your newly created folder.
Inside the index.js
file, you are expected to export a function named initialize
which will be called by RocketCore when the plugin is loaded.
Here is an example of a simple plugin:
dataFolderPath
is the path to the folder where the “RocketCore” folder is located. NOT WHERE THE BOOTSTRAPPER IS LOCATED
To learn more about the Plugin API, check out the Plugin API Documentation