
Description
<div> <div>This mod exposes a HTTP server that serves server statistics in JSON format by default on http://localhost:42421/stats (if server port is 42420).</div> <div>The default port used is game port + 1.</div> </div> <p>You can change the host, port and the endpoint within the modconfig Th3ServerStatsConfig.json</p> <p>It was created to allow TCAdmin to read server information of the game server through a custom query script.</p> <p> </p> <div> <h3>Side</h3> <p>- 1 Server<br />- 2 Client<br />- 3 Universal</p> </div> <pre class="language-python"><code>{ "ServerName": "Vintage Story Server", "WorldName": "A new world", "WorldType": "standard", "OnlinePlayers": 1, "MaxPlayers": 16, "Players": [ { "Name": "Th3Dilli", "Ping": 0.293 } ], "Mods": [ { "Name": "Essentials", "Version": "1.18.15", "ModId": "game", "Side": 3 }, { "Name": "Server Stats", "Version": "0.2.0", "ModId": "th3serverstats", "Side": 1 }, { "Name": "Creative Mode", "Version": "1.18.15", "ModId": "creative", "Side": 3 }, { "Name": "Survival Mode", "Version": "1.18.15", "ModId": "survival", "Side": 3 } ] }</code></pre> <p> </p> <p>For more information see the readme at the <a href="https://gitlab.com/th3dilli_vintagestory/th3serverstats" target="_blank" rel="noopener">repository</a> </p>
Ratings & reviews
Sign in to leave a rating or comment.

