#W# Added RestartOnCrash option in Scripts/Settings.cs

This commit is contained in:
WarrentyExpired 2026-08-09 20:25:34 -04:00
parent b8a333d3b1
commit cd133eb852
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@ namespace Server.Misc
{ {
private static bool Enabled = true; private static bool Enabled = true;
private static bool SaveBackup = true; private static bool SaveBackup = true;
private static bool RestartServer = true; private static bool RestartServer = Settings.S_RestartOnCrash;
private static bool GenerateReport = true; private static bool GenerateReport = true;
public static void Initialize() public static void Initialize()

View file

@ -4,6 +4,7 @@ namespace Server
{ {
public static string S_ServerName = "Avatars Conquest"; public static string S_ServerName = "Avatars Conquest";
public static int S_Port = 8008; public static int S_Port = 8008;
public static bool S_RestartOnCrash = false;
public static double S_ServerSaveMinutes = 5.0; // 5-240 minutes range public static double S_ServerSaveMinutes = 5.0; // 5-240 minutes range
public static double S_ServerSaveWarningSeconds = 15; public static double S_ServerSaveWarningSeconds = 15;
public static bool S_SaveOnCharacterLogout = true; public static bool S_SaveOnCharacterLogout = true;