Sign inSign up

vorot93/grokstat

By vorot93

•Updated over 9 years ago

Fast game server query tool

Image
0

251

vorot93/grokstat repository overview

⁠GrokStat

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.

⁠Protocols

M stands for master server support. S stands for individual game server query support.

⁠Supported
  • M S | Quake-derived games:
  • Quake II
  • Quake III
  • Xonotic
  • OpenArena
  • Warsow
  • Unvanquished
  • Soldiers of Fortune 2
  • M S | OpenTTD
  • M S | Teeworlds
  • M S | Steam / SourceQuery
  • S | Mumble

⁠Get it

GrokStat project ships Docker images containing precompiled GrokStat, runnable out-of-the-box.

⁠Install / update
docker pull grokstat/grokstat
⁠Run
docker run -it --rm grokstat/grokstat <json-input>

⁠Example

⁠Query servers
docker run --rm grokstat/grokstat '{"hosts": {"openttdm": ["master.openttd.org:3978"], "q3m": ["master3.idsoftware.com"]}}'

Always mind the single quotes.

⁠Review available protocols
docker run --rm grokstat/grokstat '{"show-protocols": true}'

⁠License

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.

Tag summary

Content type

Image

Digest

Size

2.6 MB

Last updated

over 9 years ago

docker pull vorot93/grokstat