Detect ingame /stop with a parameter for when to restart (stop for ...) #3
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ChromaGaming/ButtonServerRunner#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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.