---
title: "How to connect Discord and Minecraft with DiscordSRV | StreetHosting"
description: "Link your Minecraft server chat to Discord with DiscordSRV: create the bot, set the token, pick the channel and sync roles between the two platforms."
url: "https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup"
type: "page"
language: "en-US"
---

Minecraft · 3 min · Intermediate

Published on Jun 17, 2026 · Updated on Jun 17, 2026

# Connect Discord and Minecraft with DiscordSRV

DiscordSRV makes in-game chat show up on Discord and the other way around. Here is how to create the bot, link the channel and sync roles to bring your community together on both sides.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Minecraft plugins](https://streethosting.com.br/en/guides/topics/plugins)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=How%20to%20connect%20Discord%20and%20Minecraft%20with%20DiscordSRV&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup "Share on LinkedIn") [](https://wa.me/?text=How%20to%20connect%20Discord%20and%20Minecraft%20with%20DiscordSRV%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fdiscordsrv-minecraft-setup "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup.md)

In this guide 5 sections

* [What DiscordSRV does](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#o-que-faz)
* [Create the bot](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#criar-o-bot)
* [Configure the plugin](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#configurar)
* [Sync roles](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#sincronizar-cargos)
* [Token security](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#seguranca)

Quick answer

To connect Discord and Minecraft with **DiscordSRV**, create a bot in the Developer Portal, copy the token, install the plugin in the `plugins` folder and paste the token and the channel ID into the config. Turn on role syncing to bring subscribers and staff together on both platforms. In-game chat then shows up on Discord.

## What DiscordSRV does[](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#o-que-faz)

DiscordSRV is the bridge between the server chat and a Discord channel. Messages from the game appear on Discord and messages from Discord appear in the game. It also posts join, leave and death notices, and syncs roles. It is the most common way to keep a community connected even when part of it is not playing.

## Create the bot[](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#criar-o-bot)

1. Go to the Discord Developer Portal and create a new application.
2. Generate the bot and copy the token, storing it somewhere safe.
3. Invite the bot to your Discord server.
4. Enable the intents needed to read messages and members.

If you also want a bot that shows how many players are online, pair this with the guide on [showing your Minecraft server status on Discord](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status).

## Configure the plugin[](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#configurar)

With DiscordSRV installed, open the config file and paste in the token and the chat channel ID. Adjust the message format so you can tell what comes from the game and what comes from Discord. Restart and test by sending a message from each side.

To get a channel ID, turn on developer mode in Discord and right-click the channel to copy the ID.

## Sync roles[](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#sincronizar-cargos)

Syncing links a Discord role to an in-game group. That way, a subscriber gets their perks automatically on both sides. For this to work, set up the groups in [LuckPerms](https://streethosting.com.br/en/guides/minecraft/luckperms-minecraft-setup) and map each role in the DiscordSRV config.

## Token security[](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#seguranca)

The bot token is a password. Never post screenshots of the config or share the file. If it leaks, someone can take control of your bot. Generate a new token right away if that happens.

* Token kept out of screenshots and public messages
* Message and member intents enabled
* Chat channel set with the correct ID
* Roles mapped with LuckPerms

For built-in automatic moderation, see the [moderation bot for Minecraft servers](https://streethosting.com.br/en/guides/discord-bots/discord-moderation-bot-minecraft). To host the game and the bot with low latency, check out [Minecraft Pro](https://streethosting.com.br/en/minecraft-pro).

In this guide

* [What DiscordSRV does](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#o-que-faz)
* [Create the bot](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#criar-o-bot)
* [Configure the plugin](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#configurar)
* [Sync roles](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#sincronizar-cargos)
* [Token security](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup#seguranca)

## Frequently asked questions

Does DiscordSRV need its own bot?

Yes. You create an application in the Discord Developer Portal, generate a bot and use its token in the plugin. That bot is what carries messages from one side to the other.

Can it show who joined and left the game?

Yes. DiscordSRV can post join, leave and even death notices to a Discord channel, on top of mirroring the chat. Everything is configurable in the config file.

Can I sync subscriber roles?

Yes. With syncing on and a permissions plugin like LuckPerms, a Discord role can become an in-game group and the other way around, keeping perks aligned.

Is it safe to put the token on the server?

Treat the token like a password. Do not share the config file or post screenshots of it. If it leaks, generate a new token in the portal right away.

Next step

See Minecraft Pro

Managed hosting on Ryzen with modpacks, optimized Paper and technical support.

[See Minecraft Pro](https://streethosting.com.br/en/minecraft-pro)

[Minecraft plans Compare Minecraft hosting options in Brazil.](https://streethosting.com.br/en/minecraft) [See bot plans 24/7 Discord bots with fast activation and support in Portuguese.](https://streethosting.com.br/en/bots)

## Related guides

[Discord bots Intermediate Discord moderation bot for a Minecraft server Discord and Minecraft share the same community. A well integrated bot ties the whitelist, punishments and uptime alerts into a single moderation workflow. 2 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-moderation-bot-minecraft) [Minecraft Intermediate How to set up LuckPerms on a Minecraft server (Paper) LuckPerms is the standard permissions plugin on Paper servers. This guide covers installation, group hierarchy, tab prefixes, safe inheritance and an audit routine before you open a public whitelist. 5 min Read guide](https://streethosting.com.br/en/guides/minecraft/luckperms-minecraft-setup) [Discord bots Intermediate Discord bot that shows your Minecraft server status online Showing how many players are online encourages the community to join. See how a bot queries the Minecraft server and displays the status in a voice channel, in its status or in an embed. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
