# node-red-contrib-gamedig

> Query for the status of any game server using node-red

Latest version **3.1.2** (published 2026-10-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-red-contrib-gamedig
pnpm add node-red-contrib-gamedig
yarn add node-red-contrib-gamedig
bun add node-red-contrib-gamedig
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 3.1.2 |
| Published | 2026-10-16 |
| First published | 2019-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 29.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | skylord123 |
| Maintainers | skylord123 |
| Keywords | node-red, gamedig, query game server |

## Links

- npm: https://www.npmjs.com/package/node-red-contrib-gamedig
- Repository: https://github.com/skylord123/node-red-contrib-gamedig
- Homepage: https://github.com/skylord123/node-red-contrib-gamedig#readme
- Issues: https://github.com/skylord123/node-red-contrib-gamedig/issues
- npm.io page: https://npm.io/package/node-red-contrib-gamedig

## Dependencies (1)

- [gamedig](https://npm.io/package/gamedig.md) ^5.3.3

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 3.1.2 (latest) — 2026-10-16
- 3.1.1 — 2026-05-26
- 3.1.0 — 2026-05-26
- 3.0.1 — 2024-11-21
- 3.0.0 — 2024-08-06
- 2.2.1 — 2023-09-05
- 2.2.0 — 2023-05-11
- 2.1.2 — 2023-02-24
- 2.1.1 — 2021-09-05
- 2.0.1 — 2019-12-10
- 2.0.0 — 2019-12-10
- 1.1.5 — 2019-12-06
- 1.1.0 — 2019-12-06
- 1.0.1 — 2019-12-04
- 1.0.0 — 2019-12-04

## README

# node-red-contrib-gamedig

Query for server information of most game/voice servers using Node-RED.

This package adds the node `Query Game Server` that uses the NPM package [GameDig](https://www.npmjs.com/package/gamedig) to query if a server is online or not and if so returns the data of the server.

You can pass the server type, host, and port on the input message or define them on the node (settings defined on the node will override msg values).

You can also specify manual GameDig options using `msg.options` as an input. This will override any other options. For example: you can set `msg.options.guildId` that is required for querying Discord servers.

Visit the [GameDig GitHub page](https://github.com/gamedig/node-gamedig#return-value) if you want more information about what this library parses and standardizes from the server response.

### Help fund development

If you use this node and find it helpful please consider donating to help fund future development. All of my software is free and open-source and this helps keep it that way.

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B51BM7C)

### Usage Examples
- #### Inserting query data into InfluxDB and using Grafana to view results
  ![Flow Preview](https://skylar.tech/content/images/2019/12/image-2.png)
  I created a post on my website about how to use this node to query gameservers and store the results in InfluxDB. I then give a dashboard in Grafana that can be used to display the data. Check it out here:
  https://skylar.tech/tracking-game-server-statistics-using-node-red-influxdb-and-grafana/

- #### Automatically restarting servers when unavailable
  Ever host a server and have it stop responding but the process doesn't crash so it doesn't auto restart? If you pair this with something like [node-red-contrib-dockerode](https://flows.nodered.org/node/node-red-contrib-dockerode) you can automatically restart the container/process if the query fails X times to respond.

### Other Packages

- [node-red-contrib-matrix-chat](https://www.npmjs.com/package/node-red-contrib-matrix-chat) - Matrix chat server client for Node-RED

### Developers
So far me (skylord123) is the only person that has contributed towards this package. Feel free to do any pull-requests to get your name here!

### License
This project is licensed under the MIT License. Check [here](LICENSE) for more information.

---
_Source: https://npm.io/package/node-red-contrib-gamedig · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
