gamedig
GameDig is a tool that queries game servers and returns outputs data from a query into json format. It can not only check if the game server is online but also return various data such as current maps and players. This allows ./gameserver details
to display live information.
GameDig super-seeds gsquery as the tool to monitor game servers. GameDig is currently optional but recommended and gsquery is kept to ensure compatibility as gamedig requires Node.js to be installed.
Install Node.js
GameDig requires Node.js a JavaScript runtime environment installed to work. Use the following instructions to install Node.js.
Remove existing NodeJS
If you already have an older version of nodejs installed or be having issues with node dependencies. It may be worth reinstalling Node.js.
Ubuntu/Debian
CentOS
Work in progress
Install NodeJS
Installing nodejs can be problematic, however, using the below should work well.
Ubuntu/Debian
Enterprise Linux Based Distributions
Install GameDig npm
Once nodejs is installed use npm to install gamedig with the following command.
Update GameDig
Updates to GameDig are regularly made. It is possible to update by running the npm update command.
You can also see which version of gamedig is installed by running the following.
Sample output
Details
Extra info becomes available for game server details.
Raw output
Last updated