The LabyMod 4 Server API is a tool for Minecraft server owners and developers to integrate LabyMod with their servers. This API allows communication between the server and the LabyMod client, allowing for enhanced features and customizations that improve the player experience.
The Server API is organized into several modules:
api
- Contains the main interfaces and classes that define the protocol and does not contain any LabyMod related code.core
- The LabyMod-specific implementation of the API, containing all packets and models to interact with the LabyMod client.server
- This module is divided into submodules for different platform implementations:bukkit
- The platform-specific integration for Servers running on Bukkit (Spigot, Paper, etc.).bungeecord
- The platform-specific integration for Servers running on BungeeCord.common
- Contains shared classes and utilities used across different server implementations to ensure consistent behavior and reduce code duplication.minestom
- The platform-specific integration for Servers running on Minestom.velocity
- The platform-specific integration for Servers running on Velocity.
The API is designed to be extended by so-called "integrations". Integrations are modules that provide additional
functionality to the Server API. Official integrations can be
found here.
An explanation of how to create your
own integration can be found on the LabyMod Developer Portal.
An extensive guide on how to use the LabyMod 4 Server API can be found on the LabyMod Developer Portal. Alternatively, feel free to ask for help on our Discord Server for Developers.
- Java Development Kit (JDK) 17 or higher
-
Clone the repository:
git clone https://github.com/LabyMod/labymod4-server-api.git cd labymod4-server-api
-
Build the project using Gradle:
./gradlew build
-
All compiled JAR files are in the
build/commonOutput
directory.
This project is licensed under the MIT License.