https://github.com/piotrpdev/mc_player_count_notifier
Periodically check if the player list for a Minecraft server has changed and send that information to a webhook.
https://github.com/piotrpdev/mc_player_count_notifier
Last synced: about 1 year ago
JSON representation
Periodically check if the player list for a Minecraft server has changed and send that information to a webhook.
- Host: GitHub
- URL: https://github.com/piotrpdev/mc_player_count_notifier
- Owner: piotrpdev
- License: mit
- Created: 2025-03-13T05:33:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T06:22:17.000Z (over 1 year ago)
- Last Synced: 2025-03-13T07:26:31.676Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MC Player Count Notifier
Periodically check if the player list for a Minecraft server has changed and
send that information to a webhook.
## Usage
```bash
MC_HOSTNAME=12.456.789.123 \
MC_PORT=12345 \
WEBHOOK_URL='https://discord.com/api/webhooks/ID/SECRET' \
CHECK_INTERVAL=10 \ # seconds
mc_player_count_notifier
```
## Cross-compile for AArch64 musl
```bash
sudo apt install musl-tools gcc-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-musl
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc \
CC=aarch64-linux-gnu-gcc \
cargo build --release --target=aarch64-unknown-linux-musl
```