2023-09-29 21:01:11 +03:00
|
|
|
---
|
|
|
|
title: GameDig
|
|
|
|
description: GameDig Widget Configuration
|
|
|
|
---
|
|
|
|
|
2024-01-24 14:27:47 -08:00
|
|
|
Learn more about [GameDig](https://github.com/gamedig/node-gamedig).
|
2024-01-22 13:26:15 -05:00
|
|
|
|
2023-09-29 21:01:11 +03:00
|
|
|
Uses the [GameDig](https://www.npmjs.com/package/gamedig) library to get game server information for any supported server type.
|
|
|
|
|
|
|
|
Allowed fields (limited to a max of 4): `["status", "name", "map", "currentPlayers", "players", "maxPlayers", "bots", "ping"]`.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
widget:
|
2023-10-17 23:26:55 -07:00
|
|
|
type: gamedig
|
|
|
|
serverType: csgo # see https://github.com/gamedig/node-gamedig#games-list
|
|
|
|
url: udp://server.host.or.ip:port
|
2023-09-29 21:01:11 +03:00
|
|
|
```
|