IW4M-Admin/SharedLibrary/ServerConfiguration.cs
2018-03-06 01:22:19 -06:00

22 lines
566 B
C#

using SharedLibrary.Interfaces;
namespace SharedLibrary
{
public class ServerConfiguration : Serialize<ServerConfiguration>
{
public string IP;
public int Port;
public string Password;
public string FtpPrefix;
public bool AllowMultipleOwners;
public bool AllowTrustedRank;
public string RestartUsername;
public string RestartPassword;
public override string Filename()
{
return $"{Utilities.OperatingDirectory}config/servers/{IP}_{Port}.cfg";
}
}
}