예제 #1
0
        private void OnServerInitialized()
        {
            if (serverInitialized)
            {
                return;
            }
            serverInitialized = true;

            Analytics.Collect();

            // Update server console window and status bars
            SpaceEngineersExtension.ServerConsole();
        }
예제 #2
0
        private void OnServerInitialized()
        {
            if (serverInitialized)
            {
                return;
            }
            serverInitialized = true;

            // Configure remote logging
            RemoteLogger.SetTag("hostname", MySandboxGame.ConfigDedicated.ServerName);

            // Update server console window and status bars
            SpaceEngineersExtension.ServerConsole();
        }
예제 #3
0
        private void OnServerInitialized()
        {
            if (serverInitialized)
            {
                return;
            }
            serverInitialized = true;

            // Configure the hostname after it has been set
            RemoteLogger.SetTag("hostname", MyMultiplayer.Static?.HostName);

            // Update server console window and status bars
            SpaceEngineersExtension.ServerConsole();
        }
예제 #4
0
        private void OnServerInitialized()
        {
            if (serverInitialized)
            {
                return;
            }
            serverInitialized = true;

            /*SteamServerAPI.Instance.GameServer.SetGameTags(
             *  $"groupId{m_groupId} version{MyFinalBuildConstants.APP_VERSION}" +
             *  $" datahash{MyDataIntegrityChecker.GetHashBase64()} {MyMultiplayer.ModCountTag}{ModCount}" +
             *  $" gamemode{gamemode} {MyMultiplayer.ViewDistanceTag}{ViewDistance}"
             * );*/

            SpaceEngineersExtension.ServerConsole();
            Analytics.Collect();
        }