teeworlds-server-status
v2.2.2
Published
Teeworlds server information.
Downloads
16
Maintainers
Readme
teeworlds-server-status
Typescript:
import { ServerHandler } from "teeworlds-server-status";
const server = new ServerHandler("0.0.0.0", 8303, false);
server.requestInfo().then(data => {
// tslint:disable-next-line:no-console
console.log(data);
});
Javascript:
const tw = require("teeworlds-server-status");
const server = new tw.ServerHandler("95.172.92.151", 8303, false);
server.requestInfo().then(data => {
// tslint:disable-next-line:no-console
console.log(data);
});