Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

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

@NorbiPeti

Description

@NorbiPeti

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions