1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-09-19 07:52:52 -04:00

feat: server MOTDs

This commit is contained in:
CyberL1 2024-04-22 19:52:23 +02:00
parent 4ddc2b9baa
commit 4af592a543
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace MyMcRealms.Controllers
Owner = "Owner",
OwnerUUID = "069a79f444e94726a5befca90e38aaf5",
Name = world.ServerName,
Motd = "A world hosted on my-mc.link",
Motd = world.Motd,
State = "OPEN",
WorldType = "NORMAL",
MaxPlayers = 10,

View File

@ -12,5 +12,6 @@ namespace MyMcRealms.MyMcAPI.Responses
public string ServerName { get; set; } = string.Empty;
public string Connect { get; set; } = string.Empty;
public string GameVersion { get; set; } = string.Empty;
public string Motd { get; set; } = string.Empty;
}
}