PZStatus is a Discord bot designed to monitor the status of your Minecraft server. It provides real-time updates on server availability, player counts, and version information.
- Real-time server status checks
- Player count monitoring
- Version information display
- Customizable configuration
- Notification through Discord embeds
-
Clone the repository:
git clone https://github.com/NotJunar/PZStatus.git cd PZStatus -
Install dependencies:
npm install
-
Configure the bot:
- Update
config.ymlwith your server details and Discord bot token.
- Update
-
Run the bot:
node index.js
-
Commands:
!trigger-check- Manually trigger a server status check.
Example config.yml:
ipAddress: "localhost"
port: 25565
check_interval: 60
channel_id: "YOUR_CHANNEL_ID"
token: "YOUR_BOT_TOKEN"- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes.
- Commit your changes:
git commit -m "Add new feature" - Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- discord.js - The library used to interact with Discord's API.
- node-fetch - For making HTTP requests to the server status API.