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
En esta página del sitio puede ver el video en línea Using Python to send Discord Notifications from Raspberry Pi! de Duración hora minuto segunda en buena calidad , que subió el usuario Sprout Tutorials 06 febrero 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 476 veces y le gustó 4 a los espectadores. Disfruta viendo!