Server 2.10.1: remote management from the MSCO Launcher

- Polls the keymaster every 5 s for commands from the owner's launcher, runs only allowed
  commands (say, kick, ban, save, backup, restart, mods reload, status, players), sends results
  and the player list back
- RemoteManagement in server.json / web panel settings (on by default) to turn it off

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 11:11:14 +02:00
co-authored by Claude Opus 5.5
parent 3a79c928d1
commit bb3efb8cc3
8 changed files with 79 additions and 2 deletions
+2
View File
@@ -17,6 +17,7 @@ public static class ConfigEditor
publicAddress = config.PublicAddress,
saveSyncMinutes = config.SaveSyncMinutes,
autosaveSeconds = config.AutosaveSeconds,
remoteManagement = config.RemoteManagement,
port = config.Port,
panelEnabled = config.PanelEnabled,
panelPort = config.PanelPort,
@@ -77,6 +78,7 @@ public static class ConfigEditor
config.PublicAddress = Text("publicAddress", config.PublicAddress, 200);
config.SaveSyncMinutes = Number("saveSyncMinutes", config.SaveSyncMinutes, 0, 240);
config.AutosaveSeconds = Number("autosaveSeconds", config.AutosaveSeconds, 10, 3600);
config.RemoteManagement = Flag("remoteManagement", config.RemoteManagement);
int before = changed.Count;
int oldPort = config.Port, oldPanelPort = config.PanelPort;