Setup
This page covers the setup for using PetarLib in your Bukkit/Spigot/Paper project(s).
Javadocs
Javadocs are the official API documentation for PetarLib, generated from the source code comments.
Server Type Check
PetarLib provides a utility to check the server type (e.g., Bukkit/Paper) at runtime.
HTTP Client
This API is copied from PetarLib for Fabric and may not be fully functional in the Bukkit version. The only changes were made are
Task Scheduling
This API is copied from PetarLib for Fabric and may not be fully functional in the Bukkit version. The only changes were made are
Cooldowns
- CooldownManager stores expiration timestamps keyed by UUID -> cooldownId.
Notifications
PetarLib for Minecraft servers provides a utility class for displaying in-game notifications to the player through the action bar