Poradniki
How to Connect Minecraft Chat to Discord with DiscordSRV
DiscordSRV sends Minecraft chat to a Discord channel and back. It runs on Paper and Purpur (Village and Kingdom).
Install DiscordSRV
On Mods → Plugins, search for DiscordSRV, add it, and click Apply to server. Wait for Online. The plugin creates its config on the first start.
Create the Discord bot
- Go to discord.com/developers/applications and create an application.
- Under Bot, copy the bot token. Keep it private.
- Turn on Server Members Intent and Message Content Intent.
- Invite the bot to your Discord server with the bot scope.
- Turn on Developer Mode in Discord, right-click your chat channel and copy its ID.
Fill in the config
- In the panel, open Files →
plugins/DiscordSRV/config.yml. - Put the token in
BotToken. - Put the channel ID in
Channels, as the value forglobal. - Save the file and restart the world.
Chat stops when the world sleeps
An empty world sleeps to save resources, and the bot goes offline with it. It comes back when someone joins.
Plugins are included on Village and Kingdom. See the plans page.