IW4M-Admin/SharedLibrary/ServerConfiguration.cs

24 lines
639 B
C#
Raw Normal View History

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;
2018-03-06 02:22:19 -05:00
public string RestartUsername;
public string RestartPassword;
public bool EnableAntiCheat;
public bool AllowClientVpn;
public override string Filename()
{
2018-02-21 20:29:23 -05:00
return $"{Utilities.OperatingDirectory}config/servers/{IP}_{Port}.cfg";
}
}
}