Simply bridge Minecraft and Discord chat,
ProxyChatBridge's API makes it possible to have a Minecraft <> Discord bridge based on the BungeeCord proxy, without needing to install and configure a Discord bridge on all individual Spigot servers.
Why Another Minecarft <> Discord Plugin: ProxyDiscordBridge does not intend to replace other plugins in the same vein, it's designed to be a lightweight, easy and simple solution to bridging chat on a network level,
ProxyDiscordBridge only runs
JDA on the proxy, utilizing the API included with
ProxyChatBridge, It's not packed full of features such as account linking, join and leave messages, thousands of options, because it's meant to do one thing easily, and that is bridging chat. If you require a more advanced plugin there are other solutions available, but if you require a easy to setup and simple network wide globally bridged Minecraft <> Discord chat, then
ProxyDiscordBridge fits that usecase perfectly.
Instead of shading JDA into the plugin, I instead decided create a standalone plugin which has JDA included, this will load on Bungeecord as a dependency of ProxyDiscordBridge providing access to the Discord API, this makes the plugin JAR smaller and more modular, and makes it easier to update and maintain.
Installation:
Put the ProxyChatBridge JAR in your BungeeCord plugins folder.
Put the ProxyChatBridge JAR in all Spigot plugin folders you require Discord chat.
Put the JDA JAR in your BungeeCord plugins folder.
Put the ProxyDiscordBridge JAR in your BungeeCord plugins folder.
Select New Application, you can name this whatever you would like.
Navigate to the Bot tab and select Add Bot.
If the token is not shown, click Reset Token to display a new one.
Put the displayed token in the config.ymlserver field.
Navigate to the OAuth2 tab and then to the URL Generator tab.
Select bot for the scope, and select Read Messages/View Channels for the bot permissions.
Open the Generated URL that is displayed at the bottom in a new tab.
Select which server you want to add the bot to.
You now need to provide the Guild ID, and Channel ID in config.yml.
Open the Discord Desktop Client.
Navigate to User Settings and then to Advanced.
Turn Developer Mode to the enabled state.
Right click on the Server you added the bot to in the sidebar, select Copy ID and use this as the guild in config.yml.
Navigate into the Server you added the bot to, right click on the channel you want the bridge to be in, Select Copy ID and replace CHANNEL_ID_CHANGE_ME with the copied ID in both places.
Reloading the plugin / Starting the server should bring the bot online and it should work, if you have any problems with setup feel free to join our Discord for help.
Discord Emojis: Emojis sent through Discord will not render correctly in the Minecraft client without a resourcepack, it's recommended to include a resourcepack like
Andro's Discord Emojis in your servers resourcepack.
Code (YAML):
# For a simple global one channel setup, Set both CHANNEL_ID_CHANGE_ME options to the same Discord channel ID. bot: # Basic bot options. token: "TOKEN_CHANGE_ME"# Discord bot token. server: SERVER_ID_CHANGE_ME
# Server ID. format: # Minecraft / Discord formatting. minecraft: "&f<&5Discord&f> <%name%> %message%"# Minecraft format. Placeholders: %name%, %message%, %source%, %group%, %channel%. discord: "<%name%> %message%"# Discord format. Placeholders: %name%, %message%, %source%, %group%. channels: # Define what Discord channels bridge chat to what ProxyChatBridge group, more can be added below. CHANNEL_ID_CHANGE_ME: global
groups: # Define what ProxyChatBridge groups bridge chat to what Discord channel, more can be added below. global: CHANNEL_ID_CHANGE_ME
Commands: /pdb - Plugin info
/pdb reload - Reload command