pushrax / node-rcon

A generic RCON protocol client for node.js
MIT License
133 stars 31 forks source link

It is possible to catch end of responses after command? #17

Closed HarasimowiczKamil closed 5 years ago

HarasimowiczKamil commented 7 years ago

It is posiible to catch end of responses, in a universal way for all games? I would like to write a script that executes the command and it just ends when the response is received.

pushrax commented 7 years ago

Do you mean something that executes one command and shuts down after the response for it? It should be possible by calling disconnect() in the response handler.