- Compatible API Versions
- 1.0.0
- Sourcecode
- https://github.com/lukeeey/DiscordRelay
- Contributors
- Luke (lukeeey)
DiscordRelay is a plugin that bridges your Discord Server and your Minecraft Server.
Features
- Two-way chat between Discord and Minecraft
- Display messages in Discord (optionally in embeds) for common events like player joins or deaths
- Role ping protection from Minecraft
- Simple Developer API for creating new Discord commands
- Built-in Discord commands:
!playerinfo <player name>Display information about a player!serverinfo- Display info about the server!playerlist- Display a list of online players
- Built-in
/discordin-game command so players can see info about your Discord server - Automatic updating of the relay channel topic in Discord!
- Change the bot's status type between Playing, Streaming and Listening
- Restart the bot with /drelay restart without restarting the server
- Reload the config with /drelay reload ...and more!
...and more!
Permissions
| Permission | Default | Description |
|---|---|---|
| drelay.reload | op | Allow using the /drelay reload command to reload the config |
| drelay.restart | op | Allow using the /drelay restart command to restart the bot |
| drelay.allowrolepings | op | Allow the player to ping users/roles by typing e.g. <@382274626269307392> |
| drelay.sendtodiscord | everyone | The players chat messages will be sent to Discord |
| drelay.receivefromdiscord | everyone | The player will see messages sent from Discord |
- Create a new application here
- Navigate to the "Bot" tab on the left side and press "Add Bot"
- Press "Click to Reveal" and copy the token to your config.yml file
- Go to the following page and click "Authorize"
Code:
https://discord.com/oauth2/authorize?client_id=YOUR-CLIENT-ID-HERE&permissions=11264&scope=bot
- Ensure "Message Content Intent" is ticked
- Enable developer mode in Discord by going to settings then the "Advanced" tab
- Right-click the channel you would like to be used for relaying chat and select "Copy ID"
- Paste the copied ID into your config.yml file
- Make sure the bot has permissions to send and receive messages
Plugin Support
Donate
Want to support me?
- Consider becoming a GitHub sponsor
- Make a one time donation via Buy Me A Coffee!