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
- Go to the Discord Developer Portal.
- Click New Application and name it "Minecraft Bot".
- Go to the Bot tab, click Reset Token, and copy the token.
- 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
- Install
DiscordSRV.jarand restart. - Open
plugins/DiscordSRV/config.yml. - Paste your Bot Token into
BotToken: "YOUR_TOKEN". - Find the
Channelssection 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.