
Back to NxLabs
S
Status Server
NBy Nyuhnyash
Provides game server information via Server List Ping protocol
Description
Provides game server information via popular Server List Ping protocol
Configure
- Install the mod with
/moddb install statusservercommand - Run the server with mod installed for the first time to generate default config file.
- Open TCP port specified in mod config (You can't share the same port with Vintage Story game server).
- (Optional) Add server icon (64x64, PNG only) path relative to VintagestoryServer executable (or use absolute path).
Default config file
<pre class="language-javascript">{ "Port": 25565, "IconFile": "server-icon.png", "EnabledExtensions": [ "world" ] }</pre> Usage
There are plenty of libraries implementing the protocol: mcstatus, mcutil, etc. More examples.
Ready-to-use services: mcsrvstat.us, mcstatus.io, Telegram bot @msmpbot.
Operate raw json to access non-standard extensions data.
Raw json response
<pre class="language-javascript">
{ "version": { "protocol": 2000, "name": "1.18.0-pre.6" }, "players": { "max": 16, "online": 1, "sample": [ { "name": "Nyuhnyash", "id": "3e4a67aa-c4f1-f5f7-dffd-37e2fad5f74d" } ] }, "description": { "text": "Vintage Story Server" }, "favicon": "data:image/png;base64,<...>", // Non-standard extension "world": { "datetime": "2. May, Year 0, 17:31" } }</pre> Ratings & reviews
No ratings yet
Sign in to leave a rating or comment.

