mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 21:48:21 -05:00
Add Compatibility to servers
This commit is contained in:
parent
075af61c9f
commit
e89ec00719
@ -42,5 +42,11 @@ namespace MyMcRealms.Controllers
|
|||||||
|
|
||||||
return news;
|
return news;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpPost("tos/agreed")]
|
||||||
|
public ActionResult TosAgree()
|
||||||
|
{
|
||||||
|
return Ok();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -41,7 +41,7 @@ namespace MyMcRealms.Controllers
|
|||||||
{
|
{
|
||||||
Id = AllServers.Servers.IndexOf(world),
|
Id = AllServers.Servers.IndexOf(world),
|
||||||
Owner = "Owner",
|
Owner = "Owner",
|
||||||
OwnerUUID = "87a2931cf37f4867b6dd1f0699e138d3s",
|
OwnerUUID = "069a79f444e94726a5befca90e38aaf5",
|
||||||
Name = "my-mc.link world",
|
Name = "my-mc.link world",
|
||||||
Motd = "A world hosted on my-mc.link",
|
Motd = "A world hosted on my-mc.link",
|
||||||
State = "OPEN",
|
State = "OPEN",
|
||||||
@ -55,7 +55,8 @@ namespace MyMcRealms.Controllers
|
|||||||
Players = [],
|
Players = [],
|
||||||
DaysLeft = 0,
|
DaysLeft = 0,
|
||||||
Expired = false,
|
Expired = false,
|
||||||
ExpiredTrial = false
|
ExpiredTrial = false,
|
||||||
|
Compatibility = "COMPATIBLE"
|
||||||
};
|
};
|
||||||
|
|
||||||
allWorlds.Add(response);
|
allWorlds.Add(response);
|
||||||
|
@ -6,5 +6,6 @@
|
|||||||
public int DaysLeft { get; set; } = 30;
|
public int DaysLeft { get; set; } = 30;
|
||||||
public bool Expired { get; set; } = false;
|
public bool Expired { get; set; } = false;
|
||||||
public bool ExpiredTrial { get; set; } = false;
|
public bool ExpiredTrial { get; set; } = false;
|
||||||
|
public string Compatibility { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user