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/activate
Or on Windows:
notification_listener_env\Scripts\activate
Then, run the following command to install the required dependencies:
pip install -r requirements.txt
- Be sure to change the
ADDRESS
variable innotification_listener.py
to the IP address of the server you want to listen to. *
To build the project, run the following command:
python notification_listener.py
To 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 build
On Windows, open your command prompt and navigate to the root directory of the project, then run:
gradlew build
The compiled JAR file will be located in the build/libs
directory.