12-19-2015, 12:06 PM
(12-19-2015, 11:12 AM)Rekuen Wrote:(12-19-2015, 06:04 AM)bearbin Wrote: How are you stopping the server? Are you piping in a message or sending a kill signal?
If you're sending a message then you can just send in "say message".
Right now I'm just killing the signal to stop the server, i search for the cuberite detached screen pid and send a kill signal. I supposed there is a better way to stop the server, is a wip so I'm open to suggestions.
Should be able to use
Code:
screen {your stuff} -x exec stop`printf(\\n)`
Unless your screen doesn't support that syntax/I'm outdated (shouldn't be since I checked this a few weeks ago and screen's a fairly stable program), or I'm remembering wrong.