Compatibility
Minecraft: Java Edition
1.21–1.21.4
1.14.x
Platforms
Links
Creators
Details
Licensed MIT
Published 11 months ago
Updated 12 months ago
EasyReload
What is this plugin?
This plugin, simply put, automates the process of taking the built plugin and applying it to the plugin devlopment/testing server. It is meant for bukkit/spigot plugin devlopers to automate the process of building and testing the binaries with ease.
Prerequisites/Requirements:
- Requires Gradle to be the build system of your project.
- Requires that the plugin testing/devlopment server be on the same machine.
- Any port being free in the range
12121 to 12125and12126 to 12130. - The server start script, either batch
(.bat)for windows or bash.shfor macOS/Linux should have the namestart.<extension>otherwish the server might not restart as intended i.e. without any custom arguments provided to it.
Version Specific:
- On version 1.0, the plugin depended on the
/reloadand/restartcommands, and it only ran on Spigot. Make sure to setup/restartappropriately according to your enviroment. - From version 1.1, all functionalities do work on bukkit servers too.
Installation:
- Take the plugin JAR file and place it in your server's plugin directory.
- Take the
easyreload.gradlefile (present in theeasyreload.gradle.zipzip file.), and place it in your project's home directory. (i.e. where your build scripts lies) - In your project's
build.gradlefile, add the following line of code:apply from: 'easyreload.gradle' - Lastly, in your
gradle.propertiesfile, add the following two properties:serverDirandshouldRestart
Note:
- The
serverDirproperty should be set to where your server files are. - The
shouldRestartproperty can only have the following values:trueorfalse. And it determines whether it should completely restart the server or just "reload" the plugins. (Useful in some cases). - Changing the
shouldRestartproperty to anything else thantrueorfalsewill result in the post build steps failing.



