Initializing

This step is mandatory to create the "RCE Manager" instance which can be used as an event emitter and used to interact with multiple servers.

Authenticating

Don't worry! Your RCON credentials are not saved with RCE.JS and are only used as needed to connect to RCON.

import { RCEManager, LogLevel } from "rce.js";

const rce = new RCEManager({
    logger: {
        level: LogLevel.Info
    }
});

Last updated