Add exp_auto_restart plugin

Restarts hosts, and optionally the controller, that report a pending
restart once no players have been online for a configurable time. Only
loaded on the controller: it counts players from the users online on
running instances, sends HostRestartRequest through the existing core
path, and starts the instances that were running once the host reports
back. Each host process is asked at most once, keyed on its process
start time, so a stale system info poll cannot trigger a second restart.

Uses the function-style entrypoint clusterio now documents, so it loads
without the deprecated class export warning.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Fable 5.1 committed 2026-09-17 19:39:31 +00:00
1 parent 06fc1086e3
commit 5a6f3b46fe
8 files changed
+773

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
{
"files": [],
"references": [
{ "path": "./exp_auto_restart/" },
{ "path": "./exp_commands/" },
{ "path": "./exp_groups/" },
{ "path": "./exp_gui/" },