diff --git a/README.md b/README.md index 01470dd..799df4b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ This package adds the node "Query Game Server" that uses the NPM package [GameDi 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). -[Click here](https://github.com/gamedig/node-gamedig#return-value) if you want more information about what this library parses and standardizes from the server response. +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 GitLab 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. ### Usage Examples - #### Inserting query data into InfluxDB and using Grafana to view results diff --git a/query-game-server.html b/query-game-server.html index b37d6f2..cce5d32 100644 --- a/query-game-server.html +++ b/query-game-server.html @@ -14,7 +14,8 @@ given_port_only: { value: '' }, ip_family: { value: '0' }, debug: { value: '' }, - request_rules: { value: '' } + request_rules: { value: '' }, + output_options: { value: '' } }, inputs:1, outputs:1, @@ -182,6 +183,18 @@ +
+ +
+ + Outputs msg.options as an object that contains all the options used to query the server using GameDig. Note: If you pass msg.options as an input it will override all set options so make sure you unset it if chaining multiple server query nodes together unless that is what you want. +
+
+