Beispiel #1
0
 public void Start()
 {
     IsRunning = true;
     IpLogger.PrintServerIps();
     server.Start();
     Log.Info("Nitrox Server Started");
     EnablePeriodicSaving();
 }
Beispiel #2
0
        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)")}");
Beispiel #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);
        }
Beispiel #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);
        }