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
|
|
@ -20,7 +20,7 @@ namespace ServerManagerTool.Lib
|
|||
public string AdminPassword;
|
||||
public string ServerName;
|
||||
public string ServerArgs;
|
||||
public string ServerIP;
|
||||
public IPAddress ServerIPAddress;
|
||||
public int ServerPort;
|
||||
public int ServerPeerPort;
|
||||
public int QueryPort;
|
||||
|
|
@ -71,7 +71,7 @@ namespace ServerManagerTool.Lib
|
|||
AdminPassword = profile.AdminPassword,
|
||||
ServerName = profile.ServerName,
|
||||
ServerArgs = profile.GetServerArgs(),
|
||||
ServerIP = string.IsNullOrWhiteSpace(profile.ServerIP) ? IPAddress.Loopback.ToString() : profile.ServerIP.Trim(),
|
||||
ServerIPAddress = string.IsNullOrWhiteSpace(profile.ServerIP) ? IPAddress.Loopback : IPAddress.TryParse(profile.ServerIP.Trim(), out IPAddress ipAddress) ? ipAddress : IPAddress.Loopback,
|
||||
ServerPort = profile.ServerPort,
|
||||
ServerPeerPort = profile.ServerPeerPort,
|
||||
QueryPort = profile.QueryPort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue