// ServerInfo.cs using LiteDB; namespace FreelancerListServer { public class ServerInfo { [BsonId] // Primärschlüssel in LiteDB public string GameId { get; set; } public string Id { get; set; } public string Name { get; set; } public string IP { get; set; } public int ClientPort { get; set; } public int GamePort { get; set; } public bool Active { get; set; } public DateTime LastSeen { get; set; } public string MaxPlayers { get; set; } public string Pass { get; set; } public string PvP { get; set; } public string GameOpts { get; set; } } }