internal static void ReportCurrentMasterServerValue(MasterServerEndPoint currentEndPoint) { var isFirstReport = (LastUsedMasterServer == null); LastUsedMasterServer = currentEndPoint; if (OverrideEndPoint != null && currentEndPoint.Equals(OverrideEndPoint)) { // This is our own override, not useful information return; } var hostName = currentEndPoint.hostName; if (hostName.EndsWith(OFFICIAL_MASTER_SUFFIX)) { // This is the official / default master server (likely not using a server mod) _officialEndPoint = currentEndPoint; _usingModdedServer = false; if (isFirstReport) { Plugin.Log?.Info($"Default master server appears to be official: {_officialEndPoint}"); } return; } // This is neither our override nor an official server, which means another mod is doing this _moddedEndPoint = currentEndPoint; _usingModdedServer = true; if (isFirstReport) { Plugin.Log?.Warn($"Default master server appears to be modded: {_moddedEndPoint}"); } }