Sending Commands

This page will demonstrate how to send commands to your Rust Console community server from your application!

Example

// ...

await rce.servers.command("server-identifier", "say Hello World!");
await rce.servers.command("my-solo-duo-trio-3x", "BanID b1nzeee");

// Add "true" if you expect a response
const response = await rce.servers.command("server-identifier", "getauthlevels", true);
console.log(response);

Last updated