-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands are not sending to the server console #40
Comments
I don't follow, can you clarify which cases are working and which are not? One piece of standard advice is to make sure you're sending the command after the authentication callback happens, for example: UwU.on('auth', function() {
console.log("Authenticated <3");
UwU.send("help");
}).on('response', function(str) {
console.log("Got response: " + str);
}).on('end', function() {
console.log("Socket closed!");
}); |
This library doesn’t handle console input. Sending commands is left to the user. If you would like to send commands from console input, try out this example https://github.com/pushrax/node-rcon/blob/master/examples/stdio.js |
I just tried the example, the most thing works fine but the backspace key doesn't work. |
Which terminal software are you using? This code is supposed to handle backspace, but the escape code it's using may not be compatible with all terminals. Lines 58 to 60 in a683f11
|
This is my .js
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 .jsbut when i sent the command from my rcon it just doesnt work.
its rcon for minecraft btw.
The text was updated successfully, but these errors were encountered: