mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Fixed a bug that would prevent auto processes from sending through broadcast messages to the clients.
This commit is contained in:
parent
8d84f67bd9
commit
9d4d49560e
12 changed files with 107 additions and 78 deletions
|
|
@ -25,12 +25,13 @@ namespace ServerManagerTool.Lib
|
|||
public int QueryPort;
|
||||
public bool RCONEnabled;
|
||||
public int RCONPort;
|
||||
public string RCONPassword;
|
||||
public string ServerMap;
|
||||
public string ServerMapModId;
|
||||
public string TotalConversionModId;
|
||||
public IEnumerable<string> ServerModIds;
|
||||
public string MOTD;
|
||||
public int MotDDuration;
|
||||
public int MOTDDuration;
|
||||
public bool MOTDIntervalEnabled;
|
||||
public int MOTDInterval;
|
||||
public bool ForceRespawnDinos;
|
||||
|
|
@ -75,12 +76,13 @@ namespace ServerManagerTool.Lib
|
|||
QueryPort = profile.QueryPort,
|
||||
RCONEnabled = profile.RCONEnabled,
|
||||
RCONPort = profile.RCONPort,
|
||||
RCONPassword = profile.AdminPassword,
|
||||
ServerMap = ServerProfile.GetProfileMapName(profile),
|
||||
ServerMapModId = ServerProfile.GetProfileMapModId(profile),
|
||||
TotalConversionModId = profile.TotalConversionModId ?? string.Empty,
|
||||
ServerModIds = ModUtils.GetModIdList(profile.ServerModIds),
|
||||
MOTD = profile.MOTD,
|
||||
MotDDuration = Math.Max(profile.MOTDDuration, 10),
|
||||
MOTDDuration = Math.Max(profile.MOTDDuration, 10),
|
||||
MOTDIntervalEnabled = profile.MOTDInterval.HasValue && !string.IsNullOrWhiteSpace(profile.MOTD),
|
||||
MOTDInterval = Math.Max(1, Math.Min(int.MaxValue, profile.MOTDInterval.Value)),
|
||||
ForceRespawnDinos = profile.ForceRespawnDinos,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue