2017-06-19 13:58:01 -04:00
|
|
|
|
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;
|
2018-02-10 01:26:38 -05:00
|
|
|
|
public bool AllowTrustedRank;
|
2017-06-19 13:58:01 -04:00
|
|
|
|
|
|
|
|
|
public override string Filename()
|
|
|
|
|
{
|
|
|
|
|
return $"config/servers/{IP}_{Port}.cfg";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|