Skip to main content
To link Rust players to your Discord server, run Oxide, upload the Discord Extension (Oxide.Ext.Discord.dll) to RustDedicated_Data/Managed, create a Discord bot, then install Discord Auth from the Find on uMod tab on Plugins and put the bot token in its config. Players type /auth in game and send the code to your bot in a Discord direct message to link their accounts.

Before you start

  • Set Plugin framework to Oxide (uMod) and restart. See install Oxide.
  • You need a Discord server where you can manage roles and add bots.

Step 1: Install the Discord Extension

The Discord Extension runs the bot inside your Rust server, so you don’t host a separate bot. From the Discord Extension page on uMod:
1

Download

Download the latest Oxide.Ext.Discord.dll from the extension page.
2

Upload

In the File Manager, open RustDedicated_Data/Managed and upload the file there.

Step 2: Create the Discord bot

1

Create an application

In the Discord Developer Portal, create a new application and add a bot under Bot.
2

Turn on the intents

Switch on Presence Intent, Server Members Intent and Message Content Intent.
3

Copy the token

Copy the bot token and keep it private.
4

Invite the bot

Use the OAuth2 URL Generator with the bot scope and the permissions you need, and invite the bot to your Discord server.

Step 3: Install and set up Discord Auth

1

Install

Open Plugins under RUST, go to Find on uMod, search for discord auth (or paste https://umod.org/plugins/discord-auth under Or paste a uMod link) and click Install.
2

Add the token

Open the plugin’s config file in oxide/config, paste the token into Bot Token, and set Discord Server ID, Discord Roles to Assign and Oxide Groups to Assign.
3

Reload

Save and run oxide.reload DiscordAuth in the Console.
4

Let players authenticate

Grant the command to everyone: oxide.grant group default discordauth.auth.
  1. The player types /auth in game chat and gets a code. By default it is valid for 60 minutes.
  2. They send the code to your bot as a Discord direct message.
  3. The accounts are linked. The player gets the Oxide groups (default authenticated) and Discord roles (default DiscordAuth) from the config.
/deauth removes the link. The plugin page advises against giving discordauth.deauth to the default group.

What can I do with linked players?

Give rights to the authenticated group with Oxide permissions, for example a kit only for linked players:

Frequently asked questions

Why doesn’t the bot answer?

Check the console for Discord Extension errors, that the token is right and that all three intents are switched on. Then reload the plugin.

Does Discord Auth stop ban evasion?

It ties each Steam account to a Discord account, which makes new accounts more work. It does not replace bans; see ban players.

Can I use Discord Auth on Carbon?

Carbon puts Oxide extensions in its own extensions folder. See Oxide vs Carbon.

Rust server guide

Every Rust page in one place.

Install Oxide and plugins

Framework, plugins and permissions.

Ban players

Ban by SteamID64.

Kits

Reward linked players.

Checked against the official Discord Auth and Discord Extension pages on uMod on 31 October 2026. Steps may differ slightly if the plugin changes.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026