Restart Minecraft from game console



  • Hi there, hoping someone can help me out.

    I'm running a Spigot server on the latest version of PufferPanel, and I have followed the directions to make a start.sh script for my server from the Spigot community forums.

    However, while the "restart" command successfully stops the server, it never comes back up. I'm wondering if this isn't the right way to do it when it's been installed through Pufferpanel.

    My goal is to be able to restart the server via Discord. I have DiscordSRV running and working and am able to issue commands to a specific channel that then relays them to the console. If the start.sh script worked correctly then "restart" should do it without an issue, I would think. Any help would be greatly appreciated! Thanks.



  • Never mind! Changing the auto-restart value to 'true' in the server's config json file seems to have done it. I'll leave this open for a bit to see if anyone has a better answer but that seems to do the trick.


 

2
Online

830
Users

846
Topics

3.6k
Posts