StopServer event from servercode

Options
Woolf
Woolf
edited January 2013 in Photon Server
Hello Sorry for my bad English.
Say me whether it is possible to stop the server from the server code. I want the game administrator could at any time make a command to the server to reboot.
Is it possible?

Comments

  • Per default, there is no command to restart Photon.
    But the code for the server-side applications is available in the SDKs and it's completely customizable, so you could build such a command into your application yourself if you want to.

    Personally, I think that it might be easier, safer and more flexible to separate the administrative tasks from your game - for example, your administrator could use something like Powershell Remoting to manage services remotely.