A universal Discord bridge for any version of Minecraft
Written in Golang
Open-source
Tiny source code
MIT-licensed
Tested versions:
Alpha 1.1.2_01
Beta 1.3_01
Release 1.19.3
Forge 1.19
Needs testing: Pterodactyl Panel. If you have managed to successfully set up dgbridge on Pterodactyl Panel, or have tried but failed, please let me know. I haven't been able to spin up an instance myself yet.
Please note: If you use a plugin that changes how chat is formatted and printed to the console, you may have to adjust your configuration.
Features:
Seamless communication between Minecraft and Discord
Supports any version of Minecraft
Supports Discord name colors
Sends Discord messages with /say and /ptellraw
Can be configured to send any console information to Discord based on regex matchers
Additionally supports other games, such as Terraria!
Motivation
While I was playing with my friends on an Alpha server, I was hoping that I could bridge with our Discord server. But I found out that there was no easy way to do that, since there are no server plugins or modding community for the versions we were using. So I decided to create a bridge that works with any version of Minecraft.
Unlike bridge plugins and mods, this bridge seamlessly wraps the server process without touching its code. It uses the server console to relay messages from and to Discord, just by reading the server console output and entering commands like /say and /ptellraw. I have tested this bridge with a small server (around 10 concurrent players) and it worked like a charm.
The source code is minimal and thoroughly documented, so it would only take a couple minutes to audit the whole thing if desired. I appreciate any feedback, feature requests and even pull requests to the GitHub repo. I'm hoping that the rest of the world will find this as useful as I have. I will answer any questions you may have and provide free support.
If you are a large server owner, please keep in mind that I have not tested this with a larger server.
But if you're willing to give it a go, I would love to hear how it works out.
Usage instructions may be found in the README section of the GitHub page.
dgbridge
A universal Discord bridge for any version of Minecraft
Tested versions:
Needs testing: Pterodactyl Panel. If you have managed to successfully set up dgbridge on Pterodactyl Panel, or have tried but failed, please let me know. I haven't been able to spin up an instance myself yet.
Please note: If you use a plugin that changes how chat is formatted and printed to the console, you may have to adjust your configuration.
Features:
Motivation
While I was playing with my friends on an Alpha server, I was hoping that I could bridge with our Discord server. But I found out that there was no easy way to do that, since there are no server plugins or modding community for the versions we were using. So I decided to create a bridge that works with any version of Minecraft.
Unlike bridge plugins and mods, this bridge seamlessly wraps the server process without touching its code. It uses the server console to relay messages from and to Discord, just by reading the server console output and entering commands like /say and /ptellraw. I have tested this bridge with a small server (around 10 concurrent players) and it worked like a charm.
The source code is minimal and thoroughly documented, so it would only take a couple minutes to audit the whole thing if desired. I appreciate any feedback, feature requests and even pull requests to the GitHub repo. I'm hoping that the rest of the world will find this as useful as I have. I will answer any questions you may have and provide free support.
If you are a large server owner, please keep in mind that I have not tested this with a larger server.
But if you're willing to give it a go, I would love to hear how it works out.
Usage instructions may be found in the README section of the GitHub page.
GitHub Repo: https://github.com/fennecbytes/dgbridge
v1.0.1 for Linux x64: https://github.com/fennecbytes/dgbridge/releases/download/dgbridge-1.0.1/dgbridge_linux_amd64
Please post questions, feedback, bug requests, feature requests here or on the GitHub Issues page.
Thank you!
Demo