Menu
 

Connecting Discord and Minecraft with DiscordSRV - Wiki Guide

DiscordSRV: Bridge Your Community

DiscordSRV allows your Minecraft chat and Discord channels to talk to each other. Players on your server can chat with people in Discord, and vice-versa.

1. Create a Discord Bot

  1. Go to the Discord Developer Portal.
  2. Click New Application and name it "Minecraft Bot".
  3. Go to the Bot tab, click Reset Token, and copy the token.
  4. Crucial: Enable Server Members Intent and Message Content Intent under the Bot settings.

2. Invite the Bot

Go to OAuth2 -> URL Generator. Select bot and Administrator (for simplicity, or specific permissions for safety). Copy the URL and open it in your browser to invite the bot to your server.

3. Configure the Plugin

  1. Install DiscordSRV.jar and restart.
  2. Open plugins/DiscordSRV/config.yml.
  3. Paste your Bot Token into BotToken: "YOUR_TOKEN".
  4. Find the Channels section and map your Minecraft chat to a Discord channel ID:
    Channels: {"global": "123456789012345678"}

4. Voice Chat (Optional)

DiscordSRV also supports Discord Proximity Voice. When players are near each other in Minecraft, they are moved into a Discord voice channel together. This requires the companion Simple Voice Chat mod.

Synchronization: You can use DiscordSRV to sync ranks! For example, when someone becomes a "VIP" in-game, they automatically get the "VIP" role in Discord. This requires LuckPerms.

Top