Getting Started
How to create your custom RocketCore Plugin
Hello! This is a guide on how to create your own plugin for RocketCore. This documentation is incomplete and made by reverse engineering the RocketCore Plugin API so it may not be completely accurate!
Prerequisite Have a basic understanding of javascript
Creating your first plugin
Find where your RocketCore folder (and not where the bootstrapper is located)
Then open the data/Plugins folder and create a new folder with the name of your plugin.
Next add a 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