> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Connect Discord To Minecraft Server Using DiscordSRV

Connecting Discord to your Minecraft server creates a seamless bridge between in-game activity and your community chat. With the right setup, you can sync messages, send alerts, and even run commands across platforms.

One of the best tools for this job is DiscordSRV—a powerful plugin that connects your Minecraft server directly to a Discord channel. It supports chat relay, voice activity tracking, and can be customized for nearly any use case. Let’s walk through how to install and configure DiscordSRV for your server.

In this guide, we'll show you how to connect Discord to Minecraft server.

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

${frame}[](https://www.youtube.com/embed/LtlUGmKafik?si=5zFEfsl7sp5OEe7r)
## Creating a Discord Bot

First, you will need to create a Discord bot for your Minecraft server:

* Click on "New Application" [here](https://discord.com/developers/applications/)
    
    ![](https://images.surferseo.art/b17cb9a4-fc67-4948-bd9a-c71ccb1c6a24.png)
* Open the "Installation" tab, and disable `User Install` and set `Install Link` to "None" and save the changes
    
    ![](https://images.surferseo.art/cee3d87c-e369-4363-a397-71b62370e69c.png)
* In the "Bots" tab, enable `SERVER MEMBERS INTENT` and `MESSAGE CONTENT INTENT` and save the changes
    
    ![](https://images.surferseo.art/623201b1-98e5-4888-bc63-74747dfee53c.png)

You've now created the Discord bot. Now, install the DiscordSRV plugin and start configuring your bot with the plugin as shown below.

## Installing DiscordSRV

Make sure to use the compatible server version with the plugin. To check out how to change your server version, click [here](https://help.sparkedhost.com/en/article/how-to-change-a-minecraft-server-version-127uv7i/).

You can install the **DiscordSRV** plugin using our "Plugins" tab.

To manually install DiscordSRV:

* Install [DiscordSRV](https://www.spigotmc.org/resources/discordsrv.18494/)
    
* Open your [Apollo Panel](https://control.sparkedhost.us/)
    
* Open the **Files** tab and navigate to the "plugins" folder
    
    ![](https://images.surferseo.art/793172c1-e613-428d-b4b9-c47a2c276eb7.png)
* Upload the installed plugin to the plugins folder
    
    ![](https://images.surferseo.art/772e045c-6bb7-49e1-a07a-a1bee36d6c22.png)

Once done, you've now installed the **DiscordSRV** plugin. Start your server and have fun!

## Configuring DiscordSRV

To configure the DiscordSRV and make it work using Discord channels do the following:

* In the "Bots" tab, scroll up and click on "Reset token" and copy the bot token generated
    
    ![](https://images.surferseo.art/d5b796f0-cc8b-4c8f-aa6f-4c27fac70c5a.png)
* In your "plugins" open "DiscordSRV" then open the "config.yml" folder
    
    ![](https://images.surferseo.art/9ab5c5f3-1661-47f1-b23d-c4dc5a73a41c.png)
* Find the line `BotToken: "BOTTOKEN"` and add the token copied as shown in the example below and save the changes
    
    ![](https://images.surferseo.art/2d1b76a5-405b-443c-8043-e5373b6b303e.png)
* Now, back in your Application, open the "General Information" tab and copy the "Application ID"
    
    ![](https://images.surferseo.art/ea08f77b-0e84-4a5b-8b98-03ce65558aa2.png)
* Head over to this [link](https://scarsz.me/authorize) and paste the ID copied
    
* Click on "Authorize" for the bot to access your Discord account and join the Discord server
    
    ![](https://images.surferseo.art/22cae685-53b1-4279-af91-00f821eeb1c6.png)
* Make sure to enable developer mode for this step. To do so, do the following:
    
    1- Open the Discord user settings
    
    ![](https://images.surferseo.art/f1b06236-de87-4e83-95fd-abfe535fd6ed.png)
    
    2- Navigate to the "Advanced" tab and enable developer mode
    
    ![](https://images.surferseo.art/e3229724-9712-42c5-8cb8-b9e2a077fc6b.png)
* Once enabled, go to the text channel you'd like to use and right-click and click on "Copy Channel ID" to copy the channel's server ID
    
    ![](https://images.surferseo.art/3aff1b27-c41b-48dc-ad9f-2bfcc6ff6439.png)
* Now, back to the "config.yml" file, find the line `Channels: {"global": "000000000000000000"}` and replace the "000000000000000000" with the channel ID copied as shown in the example below
    
    ![](https://images.surferseo.art/0b96bf5e-23ac-4cdd-aeca-188c2819a924.png)
* Make sure to create an admin role for the bot to work. To create an admin role, do the following:
    
    1- Open the server settings and head over to the "Roles" tab
    
    2—Click on "Create Role" and go to the "Permissions" tab. Scroll down to enable "Administrator" and click on save.
    
    3- Assign the Bot to the role created

Once assigned, you can run your server, and the bot should work if the steps are followed carefully. You'll get the Minecraft chat and console in the desired server channel on Discord.

You can now log into your Minecraft account and send anything in the chat, and you'll see the chat through the Discord channel created.

## Still have some questions about using DiscordSRV for your Minecraft server?

If you need any further help, open a ticket with our support ticket system [here](https://billing.sparkedhost.com/submitticket.php)

By: Ali A.