Open Benevolent27 opened 6 years ago
I've added a few command line operators so far: -forceStart = kills existing running script or StarMade server(s) listed in the server.lck file and then starts as normal -ignoreLockFile = Ignores the existing server.lck file, renaming it to server.lck.bak, and then starts.
There should be some startup options for the scripting that allow other functionality, such as: -stop -forcestop -restart When run with a command line argument, it should perform that action on the server. No arguments will be equivalent to "-start". Since this will be a separate process running, it will need to be able to communicate with the main process somehow, so the port listening needs to be set up first before this can happen.