![]() Additional 'rules' may be fetched into the raw field. requestRules: boolean - Valve games only.debug: boolean - Enables massive amounts of debug logging to stdout.ipFamily: number - IP family/version returned when looking up hostnames via DNS, can be 0 (IPv4 and IPv6), 4 (IPv4 only) or 6 (IPv6 only).givenPortOnly: boolean - Only attempt to query server on given port.This timeout is not commonly hit,Īs the socketTimeout typically fires first. attemptTimeout: number - Milliseconds allowed for an entire query attempt.Will cause many queries to take longer even if the server is online. socketTimeout: number - Milliseconds to wait for a single packet.maxAttempts: number - Number of attempts to query server in case of failure.If specifying the game port does not seem to work as expected, passing in port: number (optional) - Connection port or query port for the game server. ![]() host: string - Hostname or IP of the game server.type: string - One of the game IDs listed in the game list below.Const Gamedig = require ( 'gamedig' ) Gamedig.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |