mirror of
https://github.com/Tribufu/ServerManagers
synced 2026-08-09 04:31:06 +00:00
Server File Changes
- added Testlive server option - changed code to use different appids.
This commit is contained in:
parent
96ba2c3474
commit
a20354c1b1
32 changed files with 969 additions and 812 deletions
|
|
@ -32,6 +32,9 @@ namespace ServerManagerTool.Lib
|
|||
public bool MOTDIntervalEnabled;
|
||||
public int MOTDInterval;
|
||||
|
||||
public string AppId;
|
||||
public string AppIdServer;
|
||||
public bool UseTestlive;
|
||||
public string BranchName;
|
||||
public string BranchPassword;
|
||||
|
||||
|
|
@ -75,6 +78,9 @@ namespace ServerManagerTool.Lib
|
|||
MOTDIntervalEnabled = profile.MOTDIntervalEnabled && !string.IsNullOrWhiteSpace(profile.MOTD),
|
||||
MOTDInterval = Math.Max(1, Math.Min(int.MaxValue, profile.MOTDInterval)),
|
||||
|
||||
AppId = profile.UseTestlive ? Config.Default.AppId_Testlive : Config.Default.AppId,
|
||||
AppIdServer = profile.UseTestlive ? Config.Default.AppIdServer_Testlive : Config.Default.AppIdServer,
|
||||
UseTestlive = profile.UseTestlive,
|
||||
BranchName = profile.BranchName,
|
||||
BranchPassword = profile.BranchPassword,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue