Detect ingame /stop with a parameter for when to restart (stop for ...) #3

Open
opened 2017-04-19 19:52:03 +00:00 by NorbiPeti · 0 comments
NorbiPeti commented 2017-04-19 19:52:03 +00:00 (Migrated from github.com)

Using Substring on each line containing /stop check if the command is actually issued (not sent in a message or somehing like that to prevent cheating the system), and that the server is actually stopping ("stopping server" message). Restart the server after the given time, if any.

For example:

/stop 2h

This would stop the server but wouldn't exit the runner, instead it'd wait and restart 2 hours later.

Also say what's up in the console after the server stopped.

Using Substring on each line containing /stop check if the command is actually issued (not sent in a message or somehing like that to prevent cheating the system), and that the server is actually stopping ("stopping server" message). Restart the server after the given time, if any. For example: /stop 2h This would stop the server but wouldn't exit the runner, instead it'd wait and restart 2 hours later. Also say what's up in the console after the server stopped.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChromaGaming/ButtonServerRunner#3
No description provided.