McStatusBotV2 is a cute, cool, and powerful Discord bot designed to fetch and display the status of both Java and Bedrock Minecraft servers with stylish, colorful embeds! Powered by the mcstatus.io API, Stacy V2 provides real-time updates on player counts, server versions, and lets you know if your server is online or offline. You can even add your custom server image for a personalized touch!
- ๐ Java & Bedrock Server Support: Quickly check status for both server types with one command.
- ๐จ Stylish Embeds: Get clean, visually appealing, and fully customizable status displays.
- ๐ฅ Live Player Count: Instantly see how many players are currently online and the max server capacity.
- ๐ ๏ธ Version Info: Displays the Minecraft server version, including if it's outdated or the latest.
- ๐ผ๏ธ Customizable Image: Add your server logo or banner directly into the status embed for personalization.
โ ๏ธ Error Handling: Provides clear error messages when thereโs an issue fetching server data (e.g., invalid IP).- ๐ Automatic Refresh: McStatusBotV2 can refresh server status at regular intervals, providing real-time updates.
- ๐ฎ Server Connection Instructions: Users can add their own instructions for connecting to the server, visible in the embed.
Before you start, ensure you have the following installed:
- ๐ Python 3.8+: Download here
- ๐ค Discord Bot Token: Create your bot and get a token from the Discord Developer Portal
- ๐ฆ Python Libraries: Install the required libraries using
pipdiscordrequestsdotenv
-
Clone the repository:
git clone https://github.com/oxyzox/McStatusBotV2.git cd stacy-v2 -
Install dependencies:
Install all the required libraries with the following command:
pip install -r requirements.txt
-
Set up environment variables:
Create a
.envfile in the project directory and add your Discord bot token:TOKEN=your-discord-bot-token-here
-
Run the bot:
Start the bot by running the following command:
python main.py
Once McStatusBotV2 is running, you can use the following command to get the status of any Minecraft server:
/status <server_type> <server_ip> [image_url] [connection_instructions]
Options:
server_type: Choose betweenJavaorBedrock.server_ip: Provide the IP address of the Minecraft server you want to check.image_url: (Optional) Add a URL to display a custom image in the embed (like your server logo).connection_instructions: (Optional) Add any instructions or a guide on how to connect to your Minecraft server.
/status <java> <play.projectmc.fun> [ https://example.com/logo.png] ["Use play.projectmc.fun to connect!"]
This will return a beautiful embed with the server status, player count, server version, and any additional info or images you provide!
McStatusBotV2 allows users to add a personal touch to the embed using an image and custom connection instructions. You can add your server's logo, a banner, or even instructions to help new players connect.
To make sure your server's status stays up-to-date, McStatusBotV2 refreshes the information every few minutes. You can customize the refresh interval in the bot's code by adjusting the scheduling logic.
Want to add new features or fix bugs? Feel free to fork this repository, create a new branch, and submit a pull request! Contributions are highly appreciated. For major changes, please open an issue to discuss what you would like to add.
- Fork the repository
- Create a branch
- Submit a Pull Request
- Developed by oxyzox
- Powered by the awesome mcstatus.io API
Enjoy the bot? Give it a โญ on GitHub to show your support!