rcon-node
Version:
A TypeScript RCON client library for modern game servers.
10 lines • 375 B
JavaScript
import { BattlEyeClient } from "./battleye.client";
export class ArmaReforgerClient extends BattlEyeClient {
async testAuthentication() {
const response = await this.send("players");
if (!response.toLowerCase().includes("players")) {
throw new Error("Authentication failed.");
}
}
}
//# sourceMappingURL=arma-reforger.client.js.map