I wrote a program in Python that scans the Minecraft server logs and sends a notification to Discord whenever someone logs in or out of our server. This is a highly customizeable program that can also scan the logs for really anything you want.
Github Repository: https://github.com/comradeflats/logno...
Systemd Service:
[Unit]
Description=Minecraft Discord Notifier
After=network.target
[Service]
User=pi
WorkingDirectory=/path/to/directory/
ExecStart=/usr/bin/python3 /path/to/program/directory/program.py
Restart=on-failure
[Install]
WantedBy=multi-user.target
My Forge Minecraft Discord (IP available there): / discord
0:00 Intro
1:12 Github Code Review
8:30 Create and run your program
9:32 Systemd service
Nesta página do site você pode assistir ao vídeo on-line Using Python to send Discord Notifications from Raspberry Pi! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sprout Tutorials 06 Fevereiro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 476 vezes e gostou 4 espectadores. Boa visualização!