Bridge Minecraft and Discord Chat with DiscordSRV
Two-way chat between your server and a Discord channel, plus a remote console.
What DiscordSRV Does
DiscordSRV pipes Minecraft chat into a Discord channel and Discord chat back into Minecraft. Bonus: a hidden Discord channel can run console commands.
Create The Discord Bot
- 1Go to the Discord Developer Portal β New Application β name it
- 2Open Bot β Reset Token β copy and save the token. You can't see it again
- 3Enable SERVER MEMBERS INTENT under Privileged Gateway Intents
- 4Open OAuth2 β URL Generator β scope bot, permissions Send Messages, Manage Messages, Read Message History
- 5Visit the generated URL β invite the bot to your Discord server
Get Channel IDs
In Discord: User Settings β Advanced β Developer Mode ON. Right-click a channel β Copy ID.
You need:
- One public channel ID for chat bridging
- One private channel ID (staff-only) for the remote console, see below
Install On The Game Server
- 1Drop
DiscordSRV.jarinto/plugins/ - 2Start the server once to generate
/plugins/DiscordSRV/config.yml - 3Stop the server
- 4Edit
config.yml:
BotToken: "your-bot-token-here"
Channels:
global: "1234567890123456789"- 1Restart. Run
/discord reloadin console
A test message in #global should appear in the in-game chat, and vice versa.
Remote Console (Optional, Very Powerful)
Add a private staff-only channel ID for the console:
DiscordConsoleChannelId: "9876543210987654321"- Live console output streams into Discord
- Any message typed in that channel runs as a console command
Restrict the channel to trusted staff only. Anyone with write access has full op over the server.
Quality-Of-Life
- DiscordSRV respects VanishNoPacket, silent staff don't trigger join/quit broadcasts
- Configure
MessageFormatsinconfig.ymlto clean up the chat formatting - Pair with
/discord linkso player accounts map to Discord users for role-syncing
Need More Help?
Bot online in Discord but messages don't bridge? Run /discord debug in console and post the report URL in our Discord.
Was this helpful?
Your feedback helps us write better guides.
Related Articles
More from Bot Hosting.
How to Upload and Run Your Discord Bot
From local code to a live bot on Endercloud in five minutes.
How to Keep Your Bot Online 24/7
Auto-restart on crash, auto-start on reboot, the only two settings you need.
How to Set Environment Variables for Your Bot
Keep tokens, API keys, and secrets out of your code with env vars.
Still need help?
Our team is on Discord around the clock. Real humans, real answers.