A Discord bot used to bridge between Hypixel guild chat to Discord and vice versa.
Open source, with love from xMdb 🤍
Report a bug · Request a feature · Get in touch
⚠️ This application will login to Hypixel using Mineflayer which is not a normal Minecraft client, this could result in your Minecraft account getting banned from Hypixel, so use this application at your own risk. I am not liable for any damages and no warranty is provided as outlined in GPL-3.0 License.
Please note that this application will not receive any more updates. This is because of my current real life commitments. I have no time to develop anything. A suitable fork that is available for use is MiscGuild/Jejebecarte's bridge bot here: https://github.com/MiscGuild/bridge
MiscGuild's version is a rewrite of this bot in TypeScript. As a result, it is far superior. Please use it.
About Hychat: it was abandonded because of the reasons above. Its replacement is also MiscGuild.
:)
- Bridges a Discord channel to Hypixel guild chat.
- Sends all guild related messages to the Discord channel (when I mean all, I mean all).
- Logs guild joins and leaves through a webhook (/g leave, /g join).
- Automatic restart and reconnections, making for zero down-time.
- Contains commands that can be used to control the bot's state, such as powering on and off, and sending chat messages through Discord (bot owner only).
- Slowmode and "say" commands (send messages as the Discord bot) for trusted users.
- Log slowmode and "say" command usage through an additional logging webhook.
The bot is a self-hosted application that runs both a Discord bot and a Minecraft bot, which interconnect with each other. This is done using Discord.js and Mineflayer, two awesome Node.js libraries.
This application is for people who are into self-hosting their own applications on server infrastructures or on their own PC. If you don't know how to, don't worry! In the new version, you will be able to host your own fully-featured guild chat bot in just a couple of clicks! Updates will be provided on the Hychat Twitter.
- ⭐ Star this repo!
- Clone the repo into your own directory.
$ git clone https://github.com/xMdb/hypixel-guild-chat-bot.git
- Enter the new directory and install the NPM packages.
$ cd hypixel-guild-chat-bot
$ npm install
- Make a new Discord bot account on the Discord Developer Portal and get the bot token.
- Grant the Message Intent for the bot.
- Generate an OAuth2 URL by going to OAuth2 on the left side of the application dashboard and clicking the URL generator. Add the
bot
andapplication.commands
scopes and open the link to invite it. - Re-name the
.env.example
file to.env
and edit the values as instructed. - Edit the
config.js
file to your liking. Ensure you have valid IDs and such otherwise the bot will not work. - Test the bot.
$ node app.js
If the bot logs into Hypixel, and you can send and receive messages through Discord, proceed to the next steps!
- Install PM2 using
npm
.
$ npm install -g pm2
- Use the npm
start
script to start with PM2.
$ npm start
- Verify that everything works as expected.
Refer to the PM2 documentation for more information about PM2.
Parts of this project are forked from:
mew/discord-hypixel-bridge under GPL-3.0 License.
Myzumi/Guild-Bot under Apache-2.0 License.
Hypixel Guild Chat Bot is open-sourced software licensed under the GPL-3.0 License.