#Restart

14 messages · Page 1 of 1 (latest)

sacred glen
#

you can restart a server you can stop it though, youll have to get to start externally using something like an external program the shutdown thing is some method under something provider if i recall

#

If you run Provider.Shutdown() itll kill the server

#

so code after wont run

royal cedar
#

U cant restart

#

But

#

If ur server has petro integration itl start automaticly i think

#

Before you do provider.shutdown

sacred glen
#

you can setup your server as a service in windows that will work to

royal cedar
#

Make sure that xou ran SaveManager.Save();

quartz verge
#

If you are using a Petro panel then it will automatically restart normally

#

I just use R.Commands.Execute(new ConsolePlayer(), "shutdown").

#

But otherwise, if the person is setting up everything by hand, it won't work.