A simple Discord Bot for monitoring a Project Zomboid server via RCON. The bot connects to your server, get's the status and posts an update in a specified Discord channel.
- Server Status Monitoring (Tracks if the server is online or offline)
- Player Count (Shows the number of connected players)
- Options Parsing (Customize what options are shown like map name, max players, server name)
- Python 3.9+
- Discord.py (pip install discord.py)
git clone https://github.com/ItsLeon15/ProjectZomboid-DiscordServerStatus.git
cd ProjectZomboid-DiscordServerStatus
pip install discord.py
Edit the config.json
file with your settings:
{
"rconIP": "<your-server-ip>",
"rconPort": 27015,
"rconPassword": "<your-rcon-password>",
"notifyChannel": <your-discord-channel-id>,
"botToken": "<your-discord-bot-token>"
}
python main.py