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
In questa pagina del sito puoi guardare il video online Using Python to send Discord Notifications from Raspberry Pi! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sprout Tutorials 06 febbraio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 476 volte e gli è piaciuto 4 spettatori. Buona visione!