This app sends notifications when someone joins / leaves your Minecraft server (Java version).
Supported notifications:
- Server stopped / recovered
- Player join / left
- Current players and the number of players
Supported notifiers:
- Command
- IFTTT Maker Channel (Webhook)
- Stdout (in order to see what text will be notified)
Please refer Releases to download binaries.
Currently, ONLY Linux x86_64 binary is available on Releases.
If you need a binary for another platforms such as macOS, Windows and RaspberryPi (armhf Linux), please build it by yourself.
$ cargo build --releaseThe default path is ~/.config/mcnotify/config.toml.
Please take a look at config.example.toml.
You can run the binary after the build.
$ ./target/release/mcnotifyIf you want to see a help message, use --help options.
$ mcnotify --helpmcnotify is NOT daemon process.
You can use nohup, tmux or systemd service to run mcnotify in background.
Systemd service example:
[Unit]
Description=Minecraft Notifier
[Service]
WorkingDirectory=/
User=minecraft
ExecStart=/usr/local/bin/mcnotify -c /home/minecraft/mcnotify.server_a.toml
Restart=always
RestartSec=30
Environment=RUST_BACKTRACE=1
[Install]
WantedBy=multi-user.target