---
title: "DiscordSRV: link Minecraft chat with your Discord server"
url: https://help.endercloud.in/docs/discordsrv-link-minecraft-and-discord
category: "Minecraft Hosting › Plugins, Mods & Modpacks"
type: Guide
tags: ["discord", "plugins"]
keywords: "discord minecraft chat, chat bridge, discord bot token, channel id, console channel, discordsrv not working, message content intent, server members intent, link minecraft to discord, discordsrv config, discordsrv, discordsrv setup, discord srv, minecraft discord integration, minecraft chat in discord, discordsrv bot token, link discord minecraft, discordsrv linking"
difficulty: intermediate
time: "15 minutes"
updated: 2026-11-14
source: Endercloud Knowledge Base (official)
---

# DiscordSRV: link Minecraft chat with your Discord server

> Install DiscordSRV, create a Discord bot with the Server Members and Message Content intents, then put the bot token and channel ID in DiscordSRV's config.yml and restart.

**DiscordSRV** connects your Minecraft server to a Discord channel: in-game chat appears in Discord, and Discord messages appear in game. You need a Discord bot (free), its token, and the ID of the channel to use.

DiscordSRV is a plugin for Paper, Purpur and other Spigot-family servers.

## Step 1: Install DiscordSRV

1.  In the [Game Panel](https://panel.endercloud.in), open your server and click **Plugins**.
    
2.  Search for **DiscordSRV**, click **Install**, and restart the server once so it creates `plugins/DiscordSRV/config.yml`.
    

## Step 2: Create the Discord bot

1.  Go to the [Discord Developer Portal](https://discord.com/developers/applications) and click **New Application**. Give it a name.
    
2.  In the bot settings, turn on both **Server Members Intent** and **Message Content Intent**. DiscordSRV does not work properly without them.
    
3.  Click **Reset Token** and copy the token. Keep **Public Bot** turned off so strangers can't add your bot.
    
4.  Copy the **Application ID** from General Information and invite the bot to your Discord server. DiscordSRV's docs provide an invite helper at [scarsz.me/authorize](https://scarsz.me/authorize).
    

> **Important:**
> The bot token is a password. Never post it in Discord, screenshots or tickets. If it leaks, reset it in the Developer Portal and update your config.

## Step 3: Get the channel ID

1.  In Discord, open **User Settings → Advanced** and turn on **Developer Mode**.
    
2.  Right-click (or long-press on a phone) the channel for Minecraft chat and choose **Copy Channel ID**.
    

## Step 4: Edit the config

1.  Stop the server and open `plugins/DiscordSRV/config.yml` in **Files**.
    
2.  Paste the token into `BotToken` and the channel ID into `Channels`:
    

```
BotToken: "your-bot-token"
Channels: {"global": "123456789012345678"}
```

-   Optional: to see the server console in Discord, put a second channel ID in `DiscordConsoleChannelId`.
    
-   Save and start the server. Send a message in game and check that it appears in Discord.
    

> **Warning:**
> Anyone who can type in the console channel can run server commands, including `op` and `stop`. Make that channel visible to owners only.

## Step 5: Give the bot permissions

In Discord, create a role for the bot (for example "Bot"), give it Administrator or the individual permissions listed in the [official DiscordSRV setup guide](https://docs.discordsrv.com/installation/initial-setup/), and assign the role to the bot. Make sure it can see your chat channel. Then restart the Minecraft server.

## Linking player accounts (optional)

DiscordSRV can link Minecraft accounts to Discord accounts, which allows things like role syncing. Players start linking with `/discord link` in game and follow the instructions it shows.

## Frequently asked questions

**Q: Messages from Discord don't show in Minecraft**

Usually **Message Content Intent** is off, or the bot can't see the channel. Turn on the intent, check the bot's role permissions, and restart.

**Q: The console says the token is invalid**

The token was copied wrong or was reset. Copy a fresh token from the Developer Portal, paste it inside the quotes, and restart.

**Q: Does DiscordSRV need an extra port?**

No. The bot connects out to Discord, so no extra port in **Network** is needed.

**Q: Can I host the bot separately?**

DiscordSRV runs inside your Minecraft server, so you don't need separate bot hosting. For your own custom bots, see [Which Discord bot hosting plan should I choose?](/docs/which-discord-bot-hosting-plan-should-i-choose)
