Skip to content

Commands are not sending to the server console #40

@Meow-Bots

Description

@Meow-Bots

This is my .js

var Rcon = require('/home/kibee/node_modules/rcon/node-rcon')

var options = {
tcp: true,
challenge: false
};

var UwU = new Rcon('ip', port, 'passwords', options);

UwU.on('auth', function() {
console.log("Authenticated <3");
}).on('response', function(str) {
console.log("Got response: " + str);
}).on('end', function() {
console.log("Socket closed!");
});

UwU.connect();

when i connect to the server it sent Authenticated <3, i also tried UwU.send("help"); and it works when the command is from the .js
but when i sent the command from my rcon it just doesnt work.
its rcon for minecraft btw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions