UNPKG

rcon-node

Version:

A TypeScript RCON client library for modern game servers.

10 lines 357 B
import { BattlEyeClient } from "./battleye.client"; export class ScumClient extends BattlEyeClient { async testAuthentication() { const response = await this.send("players"); if (!response.toLowerCase().includes("player")) { throw new Error("Authentication failed."); } } } //# sourceMappingURL=scum.client.js.map