RAGECOOP-V/Server/Settings.cs

19 lines
776 B
C#
Raw Normal View History

namespace CoopServer
2021-07-07 13:36:25 +02:00
{
public class Settings
{
public int Port { get; set; } = 4499;
2021-07-07 13:36:25 +02:00
public int MaxPlayers { get; set; } = 16;
2022-01-01 15:58:14 +01:00
public int MaxLatency { get; set; } = 300;
public string Name { get; set; } = "GTACoop:R server";
2021-07-07 13:36:25 +02:00
public string WelcomeMessage { get; set; } = "Welcome on this server :)";
public string Resource { get; set; } = "";
2021-07-07 13:36:25 +02:00
public bool NpcsAllowed { get; set; } = true;
2021-09-29 14:34:22 +02:00
public bool ModsAllowed { get; set; } = false;
2021-07-12 01:31:11 +02:00
public bool UPnP { get; set; } = true;
public bool AnnounceSelf { get; set; } = false;
2022-03-20 18:49:39 +01:00
public string MasterServer { get; set; } = "https://gtacoopr.000webhostapp.com/servers.php";
2021-07-07 13:36:25 +02:00
public bool DebugMode { get; set; } = false;
}
}