Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
- Disclaimer: Please note that this page description may not always be up-to-date or complete. For the most accurate, technical, and latest information, please always refer to the GitHub Repository.
๐ PeachLib
PeachLib is a lightweight and efficient utility library specifically designed for PaperMC developers. It provides a centralized API to simplify common tasks like database management, GUI creation, item handling, and more, allowing you to focus on your plugin's core features.
๐ Key Features
- ๐พ Data Manager: Powerful multi-backend storage (MySQL, SQLite, YAML, FileTree) featuring asynchronous task queuing, smart caching, built-in crash recovery, and a high-precision
TimeProvider(NTP sync). - ๐ Language Manager: Effortless plugin-specific localization with automatic caching.
- ๐ฆ Items Manager: Build items with full MiniMessage support, generate Base64 player heads, and manage PersistentDataContainer tags effortlessly.
- ๐ช GUI Manager: Create modern
InventoryGUIand multi-pagePaginatedGUIinstances with visual layout mapping and auto-item protection. - ๐ File Manager: Asynchronous file handling, safe atomic writes, and secure Zip extractions (Zip-Bomb/Zip-Slip protection).
- โฑ๏ธ Developer Utilities: A high-performance real-time
LibrarySchedulerusing separate ThreadPools, plus smartPlayerManagerutilities for inventory and MiniMessage display names.
Built-in Essentials & Admin Tools:
- Reload Protection: Safely blocks the
/reloadcommand to prevent severe plugin corruption. - Smart Update Checker: Automatic checks every 12 hours (respecting snapshot settings & API version) and gently notifies OPs on join.
- Holiday Greetings: Automatically greets players on holidays with customizable messages.
๐ For Developers
Quick Example:
// Central API access point
ItemsManager items = PeachLibAPI.getItemsManager();
// Easily create a custom head via Base64 string with MiniMessage support
ItemStack head = items.getCustomHeadsAPI().getCustomHead("eyJ0ZXh0dXJlcyI6...", "<gold>Special Head");
๐ Technical Details
- Supported MC Version: 1.21.4+
- Java Version: 21 or higher
- Platform: PaperMC (and forks like Purpur)
๐ก Support & Contribution
- Project Status: PeachLib is a hobby project. Development happens in my free time, and I cannot guarantee immediate fixes or 100% correctness of all features.
- Report Bugs / Request Features: Please use the GitHub Issues.
- Contribute: Pull Requests are always welcome!
โ๏ธ Legal & Privacy
- License: Licensed under the MIT License.
- Transparency: This project follows modern transparency standards. Parts of the code and documentation were developed with the assistance of AI and refined by the author.
- Privacy: Uses bStats for anonymous telemetry, connects to GitHub for update checks, and uses NTP/Google for time synchronization. (All network requests can be disabled via config or in-game GUI).
Bundled & External Dependencies:
To provide out-of-the-box functionality, PeachLib utilizes the following third-party libraries. By using PeachLib, you also comply with their respective licenses:
- bStats: Collects anonymous technical data. (Shaded and relocated within the library to prevent conflicts with other plugins).
- HikariCP (Apache 2.0), SQLite-JDBC (Apache 2.0), and MySQL Connector/J (GPLv2 with FOSS Exception): These database drivers and connection pools are not bundled inside the JAR. They are automatically and safely downloaded from Maven Central at runtime using the native Spigot/Paper libraries system.
Information
| Category | Developer Tools |
|---|---|
| Published on | January 26, 2026 |
| License | MIT |
| Downloads | 5 |
| Stars | 1 |
| Watchers | 0 |
Library
Pinned Versions
Pages
Info
Members
Owner