Black Friday: first month 50% off on monthly plans, or your first month free when you pay per quarter. Until Monday 30 November 23:59. See the plans Conditions
November deal: your first month 50% off on every monthly plan. New customers, until 30 November. See plans
New here? Try a Minecraft server or Discord bot free for 24 hours. Try free
ServerSparkServerSpark

Knowledge base

Link Minecraft chat to Discord with DiscordSRV

Minecraft chat in a Discord channel and back: install DiscordSRV, create a bot, set the token and channel, plus a console channel and linked accounts.

NVMe nodesNightly backupsOnline in minutes

Updated 17 November 2026

Want Minecraft chat in your Discord server, and Discord messages in the game? With the DiscordSRV plugin, players on Discord see who joins and what's said, and can chat back without starting Minecraft. It takes about 10 minutes and works on any Paper server.

1. Install DiscordSRV

  1. Open your server in SparkPanel and go to Plugins.
  2. Search for DiscordSRV, install it and restart the server once. It creates its settings in plugins/DiscordSRV/.

New to plugins? See install Minecraft plugins.

2. Create a Discord bot

  1. Go to the Discord Developer Portal and click New Application. Give it a name, for example your server's name.
  2. Open Bot, click Reset Token and copy the token. Keep it secret: anyone with the token controls your bot.
  3. On the same page, turn on Server Members Intent and Message Content Intent, and save.
  4. Open OAuth2, tick the scopes bot and applications.commands, give the bot permission to read and send messages, and open the generated link to add the bot to your Discord server.

3. Connect the two

  1. In Discord, turn on Developer Mode (User Settings, Advanced). Right-click the channel for the chat and choose Copy Channel ID.
  2. Stop your server. In SparkPanel go to Files and open plugins/DiscordSRV/config.yml.
  3. Paste the token after BotToken: and the channel ID in place of the zeros under Channels:, so the line reads Channels: {"global": "your-channel-id"}. Save.
  4. Start the server. In your Discord channel you see a message that the server started, and chat starts flowing both ways.
Leaked your token by accident, for example in a screenshot? Reset it in the Developer Portal right away and paste the new one: see what to do with a leaked bot token.

Handy extras

  • Console channel: put a second channel ID after DiscordConsoleChannelId to see the server console in Discord and send commands from there. Only give staff access to that channel.
  • Link accounts: players type /discord link in the game to link their Minecraft and Discord accounts.
  • Join and leave messages, advancements and deaths show up in Discord by default. You can turn each one off in messages.yml.

Not working?

  • Check the console in SparkPanel after starting: DiscordSRV says clearly when the token is wrong or an intent is missing.
  • No messages from Discord into the game? Message Content Intent is probably off.
  • The bot needs permission to see and write in the channel. Check the channel's permissions in Discord.

Want a Discord bot that does more than the chat link? See Discord bot hosting.