ServerNotify is a simple Minecraft mod that notifies you when someone joins or leaves the server. It is built with Fabric.
- Notifies when a player joins the server
- Notifies when a player leaves the server
- Minecraft 1.20.6
- Fabric Loader 0.15.11
- Java 21
- Fabric API
- Python 3
Activate the virtual environment by running the following command:
source notification_listener_env/bin/activateOr on Windows:
notification_listener_env\Scripts\activateThen, run the following command to install the required dependencies:
pip install -r requirements.txt- Be sure to change the
ADDRESSvariable innotification_listener.pyto the IP address of the server you want to listen to. *
To build the project, run the following command:
python notification_listener.pyTo build the project, use the Gradle wrapper scripts provided in the root directory of the project.
On Unix-based platforms like Linux and macOS, open your terminal and navigate to the root directory of the project, then run:
./gradlew buildOn Windows, open your command prompt and navigate to the root directory of the project, then run:
gradlew buildThe compiled JAR file will be located in the build/libs directory.