gamedig / node-gamedig

Query game servers and not only! Node.JS/Deno/Bun or Bash (via the CLI).
https://www.npmjs.com/package/gamedig
MIT License
612 stars 145 forks source link

Standardize passing ids as parameters #592

Open CosminPerRam opened 4 months ago

CosminPerRam commented 4 months ago

The discord protocol requires the user to pass an id for the query, which is named guildId.

588 (GTA ALTV) could require an id, named serverId.

In the next major version we should standardize the naming for such parameters (suggested by @xCausxn in #588), serverId sounds good for now but we'll have to see about it.

This change should come in v6 cause it is a breaking change.

a-sync commented 4 months ago

In a similar fashion Nadeo uses login/password, while Palworld uses username/password.