@rlqd/minecraft-server-util
Version:
A Node.js library for Minecraft servers that can retrieve status, perform queries, and RCON into servers.
24 lines (23 loc) • 505 B
TypeScript
import { SRVRecord } from './SRVRecord';
export interface JavaStatusResponse {
version: {
name: string;
protocol: number;
};
players: {
online: number;
max: number;
sample: {
name: string;
id: string;
}[] | null;
};
motd: {
raw: string;
clean: string;
html: string;
};
favicon: string | null;
srvRecord: SRVRecord | null;
roundTripLatency: number;
}