Skip to content

Promise based rcon client that i made for communication with my server

Notifications You must be signed in to change notification settings

majorek31/minecraft-rcon-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minecraft-rcon-client

Promise based minecraft rcon client, with support of types

Installation

npm i minecraft-rcon-client

Usage

import { Rcon } from "minecraft-rcon-client";
const client = new Rcon({
    host: '127.0.0.1',
    port: 25575,
    password: 'test'
});
await client.connect();
const response = await client.query('list');
console.log(response);
await client.disconnect();