3.0 KiB
3.0 KiB
Pandalib
Development library for Minecraft server applications and plugins
This repository contains a collection of maven modules that are used for the development of our Minecraft server. Those modules are made open source so they can be used by other developpers. Each of them provides different functionalities that are detailed in their respective Readme file (if any).
pandalib-util
General purpose utility and helper classespandalib-chat
A chat API working on top of the Adventure APIpandalib-db
An ORM working with a MySQL server through JDBCpandalib-permissions
A general purpose permission systempandalib-reflect
A reflection wrapper to make reflective operation easierpandalib-netapi
A poorly designed, but working TCP network librarypandalib-net
A better-designed, packet-based TCP network library (still in development)pandalib-players-standalone
A library to handle classes representing online or offline playerpandalib-players-permissible
An extension ofpandalib-players-standalone
with support for the permission systempandalib-permissions
pandalib-core
A catch-all module for some helper classes that didn’t have their own module yetpandalib-bungee
Utility and helper classes to use in Bungeecord pluginspandalib-bungee-permissions
Integration of the permission systempandalib-permissions
into Bungeecordpandalib-bungee-players
A partial extension and implementation ofpandalib-players-standalone
for Bungeecord pluginpandalib-paper
Utility and helper classes to use in Spigot/Paper pluginspandalib-paper-reflect
A reflection API to ease access to NMS and OBS stuff in Paper server.pandalib-paper-permissions
Integration of the permission systempandalib-permissions
into Bukkit/Spigot/Paper permission systempandalib-paper-players
A partial extension and implementation ofpandalib-players-standalone
for Paper pluginpandalib-cli
Utility and helper classes for a standalone Java application
Use in your projects
To use one of the module as a Maven dependency, add the Jitpack repository in the <repositories>
section in your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then, add any module you need in your <dependencies>
section:
<dependencies>
<dependency>
<groupId>fr.pandacube.pandalib</groupId>
<artifactId>pandalib-util</artifactId> <!-- Put here the name of the module you want -->
<version>master-SNAPSHOT</version> <!-- last version on master branch -->
</dependency>
</dependencies>
You can use the version as provided in the code above, but if you want a stable version, check those available in the tag section. Don’t forget to take a look at the module’s readme file, for any details you may need related to that specific module.