node-rconnode-rcon is a simple library for connecting to RCON servers in node.js. It implements the protocol used by Valve's Source and GoldSrc engines, as well as many other game servers. It was originally created to connect to Minecraft's RCON server.
$ npm install rcon
examples/basic.jsfor a simple example, or
EventsThe connection emits the following events:
- .emit('response', str)
- .emit('server', str)
- .emit('error', error)