Example:
www.usgn.de/serverstats?1.2.3.4:6969
Will result in a file such as:
1
2
3
4
5
2
3
4
5
{ 	players = 4 	maxplayers = 4 	name = "server" }
Basic right? I hope this is possible.
{ 	players = 4 	maxplayers = 4 	name = "server" }
www.unrealsoftware.de/inc_pub/serverinfo.php
http://www.unrealsoftware.de/inc_pub/serverinfo.php?i=85.25.143.56&p=36955&g=0&123
Name:	[Q][GamersCentral.de][Public] Map:	de_dust2 Players:	2 / 32 (Bots: 0) Password:	None U.S.G.N. only:	Off Fog of War:	On Friendly Fire:	Off Lua:	Uses Lua Scripts! Game Mode:	Standard(visible content only, HTML tags omitted)
http://www.unrealsoftware.de/inc_pub/serverinfo.php?i=<IP>&p=<PORT>&g=<GAME ID, 0 for CS2D>&<SOME RANDOM NUMBER>
socket.httpdoesn't seem to exist.
dgram
const dgram = require("dgram") let sock = dgram.createSocket("udp4") let text; sock.on('error', (err) => { 	console.log(`error:\n${err.stack}`); 	sock.close(); }); sock.on("message", function(msg, rinfo) { 	text = `server got: ${msg} from ${rinfo.address}:${rinfo.port}` 	console.log(text); }) sock.on('listening', () => { 	const address = sock.address(); 	console.log(`server listening ${address.address}:${address.port}`); }); sock.send(Buffer.from("0100FB01", "hex"), port, "ip")
socket.httpdoesn't seem to exist.
http://www.unrealsoftware.de/inc_pub/serverinfo.phpPHP script is NOT a public API! You should NOT use it because I can't guarantee that this script will stay the way it is. It's very likely that it will be changed in future. That would break your stuff. Also it's not designed for mass requests. So it's a bad idea to call it often. Don't get me wrong: I don't mind if you use it (unless you plan to call it frequently, that would slow down my whole server) but it's not made for external use.