# Minecraft Server Status Bot
This is a premium Discord bot that tracks the status of a Minecraft server and updates a message in a specific channel every 10 seconds. It shows:
##
Features
Automatically updates every 10 seconds
Detects if the status message was deleted and re-sends it
Shows player names if available
Handles long player lists without crashing
Prevents bot crashes when the server is offline
Displays a server status image
---
---
##
Example Output
---
##
Setup
###
Install Dependencies
Make sure you have Node.js installed, then run:
###
Configure Settings
Create a
Replace
###
Run the Bot
---
##
Usage
##
Troubleshooting
### Bot Crashes on Startup
Make sure your
### Bot Not Updating Status
##
License
This bot is open source but give us credits !
---
##
Support
For any issues or inquiries, contact us on Discord: Milcon Development
---
##
Author
Developed by Milcon Development
This is a premium Discord bot that tracks the status of a Minecraft server and updates a message in a specific channel every 10 seconds. It shows:
- Server status (Online/Offline)
- Number of players online
- List of online players
- Server version & ping
- MOTD (Message of the Day)
##







---
---
##


---
##

###

Make sure you have Node.js installed, then run:
Code:
npm install discord.js dotenv minecraft-server-util

Create a
config.json
file in the bot's root directory and add:
JSON:
{
"token": "YOUR_DISCORD_BOT_TOKEN",
"serverIP": "your-minecraft-server-ip",
"serverPort": 25565,
"channelID": "your-discord-channel-id"
}
YOUR_DISCORD_BOT_TOKEN
, your-minecraft-server-ip
, and your-discord-channel-id
with your actual values.###

Code:
node index.js
##

- The bot will automatically edit the last message it sent to update the Minecraft server status.
- If the message gets deleted, it will detect the deletion and resend it.
##

### Bot Crashes on Startup
Make sure your
config.json
file is set up correctly and that you installed all dependencies.
Code:
npm install
- Check that the bot has message editing permissions in the channel.
- Ensure that
serverIP
andchannelID
are correct.
##

This bot is open source but give us credits !
---
##

For any issues or inquiries, contact us on Discord: Milcon Development
---
##

Developed by Milcon Development
