Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
/ valve-master Public archive

Node.js Valve Master Server Query Protocol implementation (client to master only)

License

Notifications You must be signed in to change notification settings

philhartung/valve-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valve Master Node.js

OUTDATED, DOES NO LONGER WORK!

Node.js Valve Master Server Query Protocol implementation (client to master only)

The protocol specification can be found here: https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol

Usage

Install with npm:

npm install valve-master

Example

var ValveMaster = require('valve-master');

var vm = new ValveMaster(3000);

vm.query('\\appid\\221100',vm.WORLD,'hl2master.steampowered.com',27011,function(err,ips){
	if(!err){
		console.log(ips);
	}
	vm.close();
});

About

Node.js Valve Master Server Query Protocol implementation (client to master only)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published