Class ServerDetectionService
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
Fills in Type/GameVersion/loader info for servers saved before those fields existed (i.e. GameVersion empty), by inspecting the server folder. Best-effort, runs on load so the mods browser works for older Fabric/Forge servers.
public class ServerDetectionService
- Inheritance
-
ServerDetectionService
- Inherited Members
Methods
DetectAndFill(ServerConfig)
Detects and fills missing fields in place. Returns true if it changed the config.
public bool DetectAndFill(ServerConfig config)
Parameters
configServerConfig