Sign in

Connecting your Rust server to Discord

A step-by-step guide to the rustd.xyz Discord bot: what it posts, which slash commands it adds, and how to set it up for one server or a whole community.

Most Rust communities live on Discord, and players ask the same things there every day: is the server up, how many are on, when is the wipe, what is the next map. rustd.xyz answers those questions in your Discord by itself, using a bot you add with one click. You don't create a Discord application, host a bot or install a plugin on the game server. The panel already talks to your server over RCON, and the bot posts what the panel sees.

What the bot does

Looking for a Discord kill feed? Kills, deaths, joins and leaves are not posted to Discord. They are recorded in each server's activity feed in the panel, where you can filter them by type. The status post's player count updates as people join and leave.

Before you start

Step 1: Add the bot to your Discord

In the panel, open Community from the sidebar. It holds the settings shared by every server in your community, and Discord is one of them. Click 1. Add the bot to your Discord, choose your Discord server, and authorise it.

The bot asks for five permissions and uses each one for something specific:

It never reads message history, and it only ever edits its own posts.

Step 2: Link your Discord server

In Discord, right-click your server's icon and choose Copy Server ID. Paste it into Discord server (guild) ID on the Community page.

If you want verified players to get a role, create the role in Discord first. Then go to Server Settings → Roles, right-click the role, choose Copy Role ID, and paste it into Role to grant on verification. Leave that field empty to link accounts without giving a role. In Discord's role list, the bot's own role has to sit above the role it grants, or Discord will refuse.

Click Save. Saving also registers the bot's slash commands, /verify and /say, in your Discord server.

Step 3: Pick the channels

Once the server ID is saved, the Community page lists your channels in three pickers:

Pick any or all of them, click Save, then use the Test button next to each to send a test post. Test works on the saved channel, so save first. A channel you just created shows up after you click refresh the list. A private channel has to give the bot's role View Channel. Until it does, the picker marks it "bot can't see it", and nothing the bot posts there arrives.

Step 4: Turn it on for each server

Channels are set once for the whole community, but each server chooses what it sends. Open the server's Settings page and tick the ones you want:

Every server posts to the community's channels by default. If one server should post somewhere else, for example a separate chat channel for each server, choose a channel in that server's override picker. Several servers can share a status channel: each one gets its own card on the same post.

On the status card, the map link appears when the server's public map page is enabled, and the client.connect line appears when you have ticked "show join info" for it.

Player verification with /verify

  1. A player runs /verify in your Discord. Only they see the reply, which gives them a short code.
  2. They type !verify CODE in game chat on any of your servers within 10 minutes.
  3. The panel links their Discord account to the Steam ID that typed the code, shows their Discord handle on the Players page, and gives them the verification role if you set one. The Discord reply updates to confirm.

No Oxide or uMod plugin is needed: the panel reads game chat over RCON. Verification counts for the whole community, so a player verified on one of your servers is verified on all of them.

Talking in game with /say

/say message:Server restarting in 10 minutes broadcasts the line in game chat as [Discord] yourname: …. With more than one server, add server: with the server's name. Discord only shows /say to members with the Manage Server permission. To let a moderator role use it, change the command's permissions under Server Settings → Integrations. Messages are kept short to fit Rust's chat line.

Troubleshooting

Try it on a real server

rustd.xyz is a hosted control panel for the Rust servers you already run: players, bans, wipes, plugins, Discord and a live map in one place.

Try the live demo → Sign up See plans