Bridges chat between Discord and Minecraft (Bukkit/Spigot).
- Java 8
- Download the latest release from GitHub
- Add it to your
plugins
folder - Either run Bukkit/Spigot once to generate
DiscordBridge/config.yml
or create it using the guide below. - All done!
DiscordBridge has several options that can be configured in the config.yml
file:
settings:
server-id: '00000000'
channel: 'test'
username: 'username'
email: '[email protected]'
password: 'password'
debug: false
relay_cancelled_messages: true
messages:
join: true
leave: true
death: false
templates:
discord:
chat_message: '<%u> %m'
player_join: '%u joined the server'
player_leave: '%u left the server'
player_death: '%r'
minecraft:
chat_message: '<%u&b(discord)&r> %m'
server-id
is the ID of your Discord server. This can be found under Server Settings > Widget > Server IDchannel
is the Discord channel name you would like to bridge with your Minecraft serverusername
is the Discord username of your bot useremail
is the Discord email address of your bot userpassword
is the Discord password of your bot userdebug
enables more verbose loggingrelay_cancelled_messages
will relay chat messages even if they are cancelledmessages
enables or disables certain kinds of messagestemplates
- customize the message text
Templates
%u
will be replaced with the username- '%d' will be replaced with the user's display name
%m
will be replaced with the message%w
will be replaced with the world name%r
will be replaced with the death reason- Color codes, prefixed with
&
, will be translated on the Minecraft end
- Anything said in Minecraft chat will be sent to your chosen Discord channel
- Anything said in your chosen Discord channel will be sent to your Minecraft chat (with a
(discord)
suffix added to usernames) - Join / leave messages are sent to Discord
- Death messages can optionally be sent to Discord
- Message templates are customized
discordbridge.reload
- ability to reload config and reconnect the Discord connection
/discord reload
- reloads config and reconnects to Discord
- Deeper integration into Minecraft chat (like supporting chat channels inside Minecraft)
- A "merge accounts" function to allow Minecraft players to associate their Discord accounts with their Minecraft accounts so that usernames are properly translated
- Ability to post messages to Discord on behalf of Discord users, rather than using a bot user (hopefully after the official API is released)