RAGECOOP-V/Server/Settings.cs

20 lines
819 B
C#
Raw Normal View History

namespace CoopServer
2021-07-07 13:36:25 +02:00
{
public class Settings
{
public string Address { get; set; } = "127.0.0.1";
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;
2022-04-06 02:18:24 +02:00
public string Name { get; set; } = "RAGECOOP 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-04-06 02:18:24 +02:00
public string MasterServer { get; set; } = "https://ragecoop.online/servers";
2021-07-07 13:36:25 +02:00
public bool DebugMode { get; set; } = false;
}
}