Mods / Th3ServerStats

Category: #Utility
Author: Th3Dilli
Side: Server
Created: Jul 1st at 1:45 PM
Last modified: Jul 1st at 6:42 PM
Downloads: 51
Follow Unfollow 0

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).
The default port used is game port + 1.

You can change the host, port and the endpoint within the modconfig Th3ServerStatsConfig.json

It was created to allow TCAdmin to read server information of the game server through a custom query script.

 

{
  "ServerName": "Vintage Story Server",
  "WorldName": "A new world",
  "WorldType": "standard",
  "OnlinePlayers": 1,
  "MaxPlayers": 16,
  "Players": [
    {
      "Name": "Th3Dilli",
      "Ping": 0.293
    }
  ]
}

 

For more information see the readme at the repository 

Version For Game version Downloads Release date Changelog Download
v0.1.1 26 Jul 1st at 6:42 PM Show th3serverstats_0.1.1.zip
v0.1.0 25 Jul 1st at 5:15 PM Show th3serverstats_0.1.0.zip

0 Comments (oldest first | newest first)

delete edit