mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 21:48:21 -05:00
feat: server MOTDs
This commit is contained in:
parent
4ddc2b9baa
commit
4af592a543
@ -49,7 +49,7 @@ namespace MyMcRealms.Controllers
|
|||||||
Owner = "Owner",
|
Owner = "Owner",
|
||||||
OwnerUUID = "069a79f444e94726a5befca90e38aaf5",
|
OwnerUUID = "069a79f444e94726a5befca90e38aaf5",
|
||||||
Name = world.ServerName,
|
Name = world.ServerName,
|
||||||
Motd = "A world hosted on my-mc.link",
|
Motd = world.Motd,
|
||||||
State = "OPEN",
|
State = "OPEN",
|
||||||
WorldType = "NORMAL",
|
WorldType = "NORMAL",
|
||||||
MaxPlayers = 10,
|
MaxPlayers = 10,
|
||||||
|
@ -12,5 +12,6 @@ namespace MyMcRealms.MyMcAPI.Responses
|
|||||||
public string ServerName { get; set; } = string.Empty;
|
public string ServerName { get; set; } = string.Empty;
|
||||||
public string Connect { get; set; } = string.Empty;
|
public string Connect { get; set; } = string.Empty;
|
||||||
public string GameVersion { get; set; } = string.Empty;
|
public string GameVersion { get; set; } = string.Empty;
|
||||||
|
public string Motd { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user