コード例 #1
0
        private void OnServerInitialized()
        {
            if (serverInitialized)
            {
                return;
            }
            serverInitialized = true;

            Analytics.Collect();

            // Update server console window and status bars
            SpaceEngineersExtension.ServerConsole();
        }
コード例 #2
0
ファイル: SpaceEngineersCore.cs プロジェクト: SaddYT/Oxide
        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
ファイル: SpaceEngineersCore.cs プロジェクト: Kenterfie/Oxide
        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();
        }