Closed ucraft02 closed 7 years ago
I want to use this
while true do java -jar Spigot.jar done
So far ik you don't have to do that. Mark2 automatically restarts the server.
If I want is that possible?
Ehm Yes?
I suspect you are installing an auto-restart plugin, also that you don't need. Mark2 has the ability to auto restart the server as well. See the script.txt sample.
I want when I write /stop server auto turn on
and if I use auto restart plugin and I write in game /autore now mark2 stop server and not turn on it back
can anyone tell me where I can change start.sh?
https://github.com/gsand/mark2/blob/master/samples/start.sh
That's the restart script that is recommended.
It'll call the mark2 restart command, which will stop the server and start it back again.
How can I change sh file? Sorry for bad english?