public void Start() { IsRunning = true; IpLogger.PrintServerIps(); server.Start(); Log.Info("Nitrox Server Started"); EnablePeriodicSaving(); }
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)")}");
public bool Start() { if (!server.Start()) { return(false); } Log.Info("Nitrox Server Started"); IsRunning = true; EnablePeriodicSaving(); #if RELEASE IpLogger.PrintServerIps(); #endif return(true); }
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); }