srcds

    0.0.1 • Public • Published

    Description

    Connect to RCON to a source dedicated server using node.js.

    Requirements

    Usage

    var rcon = require("./rcon.js");

    new rcon.RCon('127.0.1.1', 27016, function(e) { if (e) { throw e; }

    this.auth('rcon_pass', function( e ){
    	if (e) {
    		throw e;
    	}
    	
    	this.send('status', function(val){
    		console.log("Server status: " + val );
    	} );
    	
    } );
    

    } );

    Reminders

    If the response message is too big, it is going to get split in multiple return calls

    Keywords

    none

    Install

    npm i srcds

    DownloadsWeekly Downloads

    4

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • nican