battleye-node
Version:
A TS/JS library for communicating with BattlEye’s RCon (Remote Console) protocol. Easily send commands, receive server responses, and automate server management for games protected by BattlEye anti-cheat.
15 lines (14 loc) • 369 B
TypeScript
export interface Config {
address: string;
port: number;
password: string;
connectionType?: "udp4" | "udp6";
connectionTimeout?: number;
connectionInterval?: number;
keepAliveInterval?: number;
}
export interface InternalConfig extends Config {
connectionTimeout: number;
connectionInterval: number;
keepAliveInterval: number;
}