This Discord bot monitors Minecraft server statuses and updates Discord voice channels with live information like server online/offline state and player count. It also includes commands to monitor or unmonitor any server.
- 🟢 Automatically creates a category and two voice channels per monitored server
- 🔁 Updates server status and player count every minute
- ❌ Command to stop monitoring a specific server
- 💬 Easy setup via
!mcstatusand!unmonitorcommands - ☁️ 24/7 Free Hosting using Replit + UptimeRobot
Starts monitoring the specified Minecraft server. Example:
!mcstatus play.example.net
Stops monitoring the specified Minecraft server and deletes its category + channels. Example:
!unmonitor play.example.net
- Create a new Node.js Replit project
- Upload these files:
index.jskeep_alive.jspackage.json.env(addTOKEN=your_bot_tokenvia Secrets tab)
In the Replit shell, run:
npm install
Click the Run button in Replit. You should see a "Bot is online" log.
- Go to https://uptimerobot.com
- Create a free account
- Click “Add New Monitor”
- Type: HTTP(s)
- URL: Your Replit web URL (found in the browser address bar when running)
- Interval: 5 minutes
- Friendly Name: Anything you like (e.g., “MC Bot Ping”)
- Save and your bot will stay online 24/7!
💡 Make sure not to share your bot token publicly (even by accident). If it gets leaked, regenerate it from Discord Developer Portal.