예제 #1
0
파일: Server.cs 프로젝트: willchris2/Nitrox
 public void Start()
 {
     IsRunning = true;
     IpLogger.PrintServerIps();
     server.Start();
     Log.Info("Nitrox Server Started");
     EnablePeriodicSaving();
 }
예제 #2
0
파일: Server.cs 프로젝트: EmidioMata/1.3
        public bool Start()
        {
            if (!server.Start())
            {
                return(false);
            }

            Log.Info($"Using {serverConfig.SerializerModeEnum} as save file serializer");
            Log.InfoSensitive("Server Password: {password}", string.IsNullOrEmpty(serverConfig.ServerPassword) ? "None. Public Server." : serverConfig.ServerPassword);
            Log.InfoSensitive("Admin Password: {password}", serverConfig.AdminPassword);
            Log.Info($"Autosave: {(serverConfig.DisableAutoSave ? "DISABLED" : $"ENABLED ({serverConfig.SaveInterval / 60000} min)")}");
예제 #3
0
        public bool Start()
        {
            if (!server.Start())
            {
                return(false);
            }

            Log.Info("Nitrox Server Started");
            IsRunning = true;
            EnablePeriodicSaving();
#if RELEASE
            IpLogger.PrintServerIps();
#endif
            return(true);
        }
예제 #4
0
        public bool Start()
        {
            if (!server.Start())
            {
                return(false);
            }
            Log.Info("Nitrox Server Started");
            IsRunning = true;
            EnablePeriodicSaving();

#if RELEASE
            // Help new players on which IP they should give to their friends
            IpLogger.PrintServerIps();
#endif

            return(true);
        }