MinecraftServerStatusDiscordBot or MinecraftServerStatusBot or simply MSSB is a simple bot for displaying the player count and other things of a Minecraft server in Discord, setup is super fast and the bot can easily be self hosted.
Start by cloning the repository with git clone or downloading it as a zip file and extracting it.
Download the required dependencies with:
pip install -r requirements.txt
⚠️ You might have to replacepipwithpip3depending on your system configuration.
Rename the .env.example file to .env start filling in the relevant info.
DISCORD_TOKENis for your Discord bot token, make a bot then get the token here.SERVER_HOSTThe address of your Mineraft server, can include the port afterwards prefix with a:.BOT_PREFIXThe prefix for bot commands in Discord, defaults to?.COLOR_HEXHexadecimal format color for the embed, defaults to Discord blurple.
Simply start the bot with:
python main.py
⚠️ Once again you might have to replacepythonwithpython3depending on your system configuration.