mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
feat(games/satisfactory): pass optional token, make http query not required (#653)
* feat: let the user provide a token to skip PasswordlessLogin * feat: make querying the HTTP api not required * docs: add to changelog, note query priority * fix: passing rejectUnauthorized as arg made it string, ignoring its value
This commit is contained in:
parent
5b1da1ad71
commit
f5899fd54d
4 changed files with 33 additions and 21 deletions
|
|
@ -521,8 +521,12 @@ Palworld support can be unstable, the devs mention the api is currently experime
|
|||
To query Palworld servers, the `RESTAPIEnabled` setting must be `True` in the configuration file, and you need to pass the `username` (currently always `admin`) and the `adminpassword` (from the server config) as the `password` parameter.
|
||||
|
||||
### <a name="satisfactory"></a>Satisfactory
|
||||
Satisfactory servers unless specified use self-signed certificates for the HTTPS API. If you are using a self-signed certificate you will need to set the `rejectUnauthorized` flag in options to `false` in order to connect.
|
||||
Satisfactory servers unless specified use self-signed certificates for the HTTPS API. If you are using proper-signed certificates you will need to set the `rejectUnauthorized` flag in options to `true` to ensure a secured query.
|
||||
For more information on setting a user certificate refer to the [Satisfactory Dedicated server/HTTPS API wiki documentation](https://satisfactory.wiki.gg/wiki/Dedicated_servers/HTTPS_API).
|
||||
|
||||
One can also provide an authentication token via the `token` option to skip the `PasswordlessLogin` query.
|
||||
|
||||
The query is done via the lightweight query option but also safely tries to utilize the HTTP one.
|
||||
|
||||
### <a name="soldat"></a>Soldat
|
||||
Requires `Allow_Download` and `Logging` to be `1` in the server config.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue