MyOpenMuWeb is an open source content management system (CMS) for the MUnique/OpenMU server based on PostgreSQL.
This project is currently under development. You can try the current state using the available git image.
What is ready for today! (click to expand)
- Site pages
- Engine
- Switch language
- Russian
- English (Google Translate)
- Page caching 2
- Switch language
Open the App\Json\Config\cdb.json
file and configure a connection to the PostgreSQL
database.
Go to the src\Web\Admin Panel\API
directory and replace the old method with the new one below:
[HttpGet]
[Route("status")]
public IActionResult ServerState()
{
var result = new Object[_gameServers.Values.Count];
_gameServers.Values.ForEach(async item =>
{
var server = item as GameServer;
if (server is not null)
{
var list = new List<string>();
await server.Context.ForEachPlayerAsync(player =>
{
list.Add(player.GetName());
return Task.CompletedTask;
}).ConfigureAwait(false);
result[server.Id] = new {
status = server.ServerState > 0 ? true : false,
maximumConnections = server.MaximumConnections,
playerCount = server.Context.PlayerCount,
playersList = list
};
};
});
return Ok(JsonSerializer.Serialize(result));
}
Thanks to the developer
💳 donationalerts.com/r/bogdasar
🔹 Toncoin: UQCAP5ywtqtW0Vz5PX9hhsZeHhJ0XN00FiP3qBs92KlW05oq
💵 USDT: TH6QEamrEcQArqfpWUV3PPz6TVXpNnSvbv
💰 BTC: 1NzHox3KdeHVtgXaQQWpqi1WJQ29Mf81eM