Overview:
This plugin automatically restarts/reloads your server whenever you add/delete/modify a plugin. This plugin was intended to help developers when they are constantly building a .jar file and having to reload/restart the server. This plugin will only detect changes to .jar files. You can set it to do /reload (Does not stop server; this is not the best way) or /restart (Stops the server and then starts it again).
Installation:
- Put the .jar file into the plugins folder
- Restart the server
- Customize the config file
- Restart the server again
- (If you are going to use restart) In the spigot.yml file, set restart-script: to whatever the name of the .bat file is that starts the server and a dot at the beginning (ex. restart-script: ./start.bat).
Code (YAML):
restart-script
: ./start.bat
Commands:
/restartchecker startChecking:
Use: Starts checking for changes in the plugins folder.
Perm: restartchecker.start
/restartchecker stopChecking:
Use: Stops checking for changes in the plugins folder.
Perm: restartchecking.stop
/restartchecker info:
Use: Gives general info about the plugin.
Perm: restartchecker.info
/restartchecker reload:
Use: Reloads the config file
Perm: restartchecker.reload
/restartchecker plugins:
Use: Lists all of the installed plugins
Perm: restartchecker.plugins
/restartchecker enable <plugin_name>:
Use: Enable a plugin
Perm: restartchecker.enable
/restartchecker disable<plugin_name>:
Use: Disable a plugin
Perm: restartchecker.disable
Permissions:
restartchecker.notify:
description: Sends the player a message when the server reloaded and it is still checking for changes
restartchecker.info:
description: Gives basic info on when the server was last reloaded, how many times it has been reloaded and if it is currently checking
Support & Suggestions:
Join the
discord server for help with any of my plugins and suggestions for current or new plugins