Is there a plugin that adds a restart command?

Since the reload command doesn’t load new plugins, I thought there should be a restart command (with a start script defined in a config file like Spigot) that I don’t have to restart the server manually when adding plugins. Is there a plugin that adds what I want? If not, would someone be willing to write one?

You can use a start script which automatically restarts your server on shutdown (and use the end command in console)

you can use the following snippet to restart your server when you type stop or end


:loop
java -Xmx1G -jar Your_Server.jar
goto loop

I know, but I’d prefer to have a command to gracefully stop the server, and have another command to restart it