← Back to Knowledgebase

Setting up DiscordSRV

Link your Minecraft server chat to your Discord server.


1. Creating the Bot

  1. Go to the Discord Developer Portal.
  2. Click "New Application" and give it a name.
  3. Go to the "Bot" tab on the left.
  4. Click "Add Bot" → "Yes, do it!".
  5. Important: Scroll down to "Privileged Gateway Intents" and enable Server Members Intent and Message Content Intent. Save changes.
  6. Click "Reset Token" to get your bot token. Copy it!

2. Installing the Plugin

  1. Download DiscordSRV from SpigotMC.
  2. Upload it to your server's /plugins/ folder.
  3. Restart the server.

3. Configuration

  1. Go to plugins/DiscordSRV/config.yml.
  2. Paste your bot token into the BotToken: "TOKEN" line.
  3. In your Discord server, enable Developer Mode (User Settings → Advanced).
  4. Right-click the channel you want chat to go to and click "Copy ID".
  5. Paste this ID into the Channels: {"global": "000000000000000000"} section (replace the zeros).
  6. Save and Restart.