
Status Server
Provides game server information via Server List Ping protocol
Description
<p>Provides game server information via popular <a href="https://wiki.vg/Server_List_Ping" target="_blank" rel="noopener">Server List Ping</a> protocol</p> <h2>Configure</h2> <ol> <li>Install the mod with <code style="background-color: lightgray;">/moddb install statusserver</code> command</li> <li>Run the server with mod installed for the first time to generate default config file.</li> <li>Open TCP port specified in mod config (You can't share the same port with Vintage Story game server).</li> <li>(Optional) Add server icon (64x64, PNG only) path relative to VintagestoryServer executable (or use absolute path).</li> </ol> <p><strong>Default config file</strong></p> <pre class="language-javascript"><code>{ "Port": 25565, "IconFile": "server-icon.png", "EnabledExtensions": [ "world" ] }</code></pre> <h2>Usage</h2> <p>There are plenty of libraries implementing the protocol: <a href="https://github.com/py-mine/mcstatus" target="_blank" rel="noopener">mcstatus</a>, <a href="https://github.com/mcstatus-io/mcutil" target="_blank" rel="noopener">mcutil</a>, etc. <a href="https://wiki.vg/Server_List_Ping#Examples" target="_blank" rel="noopener">More examples</a>.<br /><br />Ready-to-use services: <a href="https://mcsrvstat.us" target="_blank" rel="noopener">mcsrvstat.us</a>, <a href="https://mcstatus.io">mcstatus.io</a>, Telegram bot <a href="https://t.me/msmpbot" target="_blank" rel="noopener">@msmpbot</a>.<br /><br />Operate raw json to access non-standard extensions data.</p> <div> <div class="spoiler"> <div class="spoiler-toggle">Raw json response</div> <div class="spoiler-text"> <div> <pre class="language-javascript"><code>{ "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" } }</code></pre> </div> </div> </div> </div>
Ratings & reviews
Sign in to leave a rating or comment.

