Retrieves information about game servers. Inspired by QStat, written in Go. Yet even more simple, extensible and fast.
GrokStat accepts input data as JSON via stdin. The result is displayed in JSON form as well. In order to run a simple query you need to specify protocol and array of hosts to check. Please refer to the example below for more information.
The server query is asynchronous, done via inbuilt UDP server.
M stands for master server support. S stands for individual game server query support.
GrokStat project ships Docker images containing precompiled GrokStat, runnable out-of-the-box.
docker pull grokstat/grokstat
docker run -it --rm grokstat/grokstat <json-input>
docker run --rm grokstat/grokstat '{"hosts": {"openttdm": ["master.openttd.org:3978"], "q3m": ["master3.idsoftware.com"]}}'
Always mind the single quotes.
docker run --rm grokstat/grokstat '{"show-protocols": true}'
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Content type
Image
Digest
Size
2.6 MB
Last updated
over 9 years ago
docker pull vorot93/grokstat