Guild Bridge Bot is a powerful tool that bridges communication between Hypixel's Minecraft guilds and Discord, enabling seamless interaction between guild members and Discord users. This bot ensures real-time relay of all guild messages, notifications, and events, facilitating better communication and management.
- Features
- Requirements
- Installation and Usage
- Commands
- Troubleshooting
- Contributing
- License
- Disclaimer
- Support
- To-Do List
- Two-Way Communication: Relay messages between Hypixel guild chat and a designated Discord channel.
- Officer Chat Support: Separate channel for officer communications with togglable modes.
- Guild Event Notifications: Automatically notify Discord about guild events such as:
- Members joining or leaving
- Promotions and demotions
- Kicks
- Mutes and unmutes
- Command Handling: Execute Hypixel guild commands from Discord.
- Auto-Accept Invites: Optionally auto-accept guild invites.
- Robust Error Handling: Automatic reconnection and error reporting.
- Customizable Appearance: Use Discord webhooks for more control over bot messages.
- Update Notifications: Get notified in discord when theres a bridge update.
- Python 3.10+
- discord.py
- javascript
- node.js
- mineflayer
- Redis (optional, for additional features)
Follow these instructions to copy the repository to a new server.
-
Install Node.js:
cd ~ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash source ~/.bashrc nvm install 19.7.0
-
Install PM2 (Process Manager):
npm install -g pm2
-
Install Python3 and Virtual Environment:
sudo apt-get update sudo apt install python3-pip sudo apt install python3.12-venv
-
Clone the Project Repository:
git clone https://github.com/Jacktheguys/GuildBridgeBot
-
Set Up Configuration Files:
mkdir bridges mv GuildBridgeBot/example.config.json GuildBridgeBot/config.json
-
Copy Project Files:
cd ~ mkdir bridges/<NAME_OF_GUILD> cp -r GuildBridgeBot/* bridges/<NAME_OF_GUILD>/ cd bridges/<NAME_OF_GUILD>
-
Create a Virtual Environment:
python3 -m venv venv source venv/bin/activate
-
Install Dependencies:
python3 -m pip install -U -r requirements.txt
-
Configuration:
Update theconfig.json
file with your guild's settings:nano config.json
-
Start the Bot Using PM2:
pm2 start main.py --name <NAME_OF_GUILD>-BridgeBot --interpreter ./venv/bin/python --restart-delay=3000
Command | Description |
---|---|
!invite <username> |
Invite a player to the guild |
!kick <username> [reason] |
Kick a player from the guild |
!promote <username> |
Promote a guild member |
!demote <username> |
Demote a guild member |
!setrank <username> <rank> |
Set a member's rank |
!mute <username> <duration> |
Mute a guild member |
!unmute <username> |
Unmute a guild member |
Command | Description |
---|---|
!notifications |
Toggle join/leave notifications |
!toggleaccept |
Toggle auto-accepting guild invites |
Command | Description |
---|---|
!help |
Display all available commands and bot information |
!online |
Check online guild members |
!list |
Show a list of all guild members |
!top |
Shows xperience ranking of members for the day |
!info |
Shows Guild Information |
!override <command> |
Force the bot to use a given command |
Note: Some commands may require appropriate permissions in both Discord and the Hypixel guild.
-
Bot Not Starting:
- Ensure the virtual environment is activated before running the bot.
- Verify that
pm2
is installed globally and the path to the Python interpreter is correct.
-
Configuration Errors:
- Double-check the
config.json
file for any misconfigurations or missing values.
- Double-check the
-
Slow Sync Issues:
- For message sync delays, review the server and network speed.
If you need further assistance, please open an issue on the GitHub repository.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This bot is not affiliated with or endorsed by Hypixel. Use at your own risk and ensure compliance with Hypixel's rules and terms of service. The bot adheres to Hypixel's API rate limits to prevent any bans.
If you encounter any issues or have questions, please open an issue on the GitHub repository.
- Improve Minecraft-to-Discord sync speed: Consider using a queue instead of dispatching events.
- Add auto-accept requirements for guild invites.
- Make logs easier to read by reducing the number of print statements and improving log formatting.