mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Finished the remaing bot commands
This commit is contained in:
parent
0f3c6e6be9
commit
aa62646f0f
23 changed files with 1041 additions and 287 deletions
|
|
@ -17,7 +17,7 @@ namespace ServerManagerTool.Lib
|
|||
public string InstallDirectory;
|
||||
public string GameFile;
|
||||
public string AdminPassword;
|
||||
public string ServerIP;
|
||||
public IPAddress ServerIPAddress;
|
||||
public int ServerPort;
|
||||
public int ServerPeerPort;
|
||||
public int QueryPort;
|
||||
|
|
@ -60,7 +60,7 @@ namespace ServerManagerTool.Lib
|
|||
InstallDirectory = profile.InstallDirectory,
|
||||
GameFile = profile.GetServerWorldFile(),
|
||||
AdminPassword = profile.AdminPassword,
|
||||
ServerIP = string.IsNullOrWhiteSpace(profile.ServerIP) ? IPAddress.Loopback.ToString() : profile.ServerIP.Trim(),
|
||||
ServerIPAddress = string.IsNullOrWhiteSpace(profile.ServerIP) || !IPAddress.TryParse(profile.ServerIP.Trim(), out IPAddress ipAddress) ? IPAddress.Loopback : ipAddress,
|
||||
ServerPort = profile.ServerPort,
|
||||
ServerPeerPort = profile.ServerPeerPort,
|
||||
QueryPort = profile.QueryPort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue