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. Will cause many queries to take longer even if the server is online.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |