mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
207 stars 44 forks source link

.sh file #82

Closed ucraft02 closed 7 years ago

ucraft02 commented 7 years ago

How can I change sh file? Sorry for bad english?

ucraft02 commented 7 years ago

I want to use this

while true do java -jar Spigot.jar done

thomas15v commented 7 years ago

So far ik you don't have to do that. Mark2 automatically restarts the server.

ucraft02 commented 7 years ago

If I want is that possible?

thomas15v commented 7 years ago

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.

ucraft02 commented 7 years ago

I want when I write /stop server auto turn on

ucraft02 commented 7 years ago

and if I use auto restart plugin and I write in game /autore now mark2 stop server and not turn on it back

ucraft02 commented 7 years ago

can anyone tell me where I can change start.sh?

gsand commented 7 years ago

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.