Sending Commands

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

Example

// ...

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

// Create a variable for a response
const response = await rce.sendCommand("server-identifier", "getauthlevels");
console.log(response);

Last updated