Compatibility
Minecraft: Java Edition
1.21–1.21.4
1.14.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 3 months ago
Updated 4 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 12125
and12126 to 12130
. - The server start script, either batch
(.bat)
for windows or bash.sh
for 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
/reload
and/restart
commands, and it only ran on Spigot. Make sure to setup/restart
appropriately 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.gradle
file (present in theeasyreload.gradle.zip
zip file.), and place it in your project's home directory. (i.e. where your build scripts lies) - In your project's
build.gradle
file, add the following line of code:apply from: 'easyreload.gradle'
- Lastly, in your
gradle.properties
file, add the following two properties:serverDir
andshouldRestart
Note:
- The
serverDir
property should be set to where your server files are. - The
shouldRestart
property can only have the following values:true
orfalse
. And it determines whether it should completely restart the server or just "reload" the plugins. (Useful in some cases). - Changing the
shouldRestart
property to anything else thantrue
orfalse
will result in the post build steps failing.