DiscordRelay
作者:rebot | 分类:模组
Minecraft 版本: 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10
平台: bukkit paper spigot
标签: social utility

A plugin for relaying chat between Discord and Minecraft.
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:
!playerlist!serverinfo!playerinfo <player name>!cape <player name>!skin <player name>!avatar <player name>
- 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,StreamingandListening - Restart the bot with
/drelay restartwithout restarting the server - Reload the config with
/drelay reload - PlaceholderAPI support
...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 |
Plugin Setup
-
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"
https://discord.com/oauth2/authorize?client_id=YOUR-CLIENT-ID-HERE&permissions=11264&scope=bot(Make sure to replace YOUR-CLIENT-ID-HERE with your "Application ID" which can be found on the General Information tab)
-
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
It may look a bit daunting but it's actually quite easy!
请登录后举报
暂无评论,抢个沙发吧~