Skip to content

badcodecat/server_notify

Repository files navigation

ServerNotify

ServerNotify is a simple Minecraft mod that notifies you when someone joins or leaves the server. It is built with Fabric.

Features

  • Notifies when a player joins the server
  • Notifies when a player leaves the server

Requirements

  • Minecraft 1.20.6
  • Fabric Loader 0.15.11
  • Java 21
  • Fabric API
  • Python 3

Building

Python (Client Notification)

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 in notification_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

Java (Server Mod)

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published