Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for PeachBiscuit174

Libary for Minecraft Paper API Plugins

Report PeachLib?

SNAPSHOT
1.0.0-SNAPSHOT28

PeachBiscuit174 released PeachLib version 1.0.0-SNAPSHOT28 on June 30, 2026

Updated Version to 1.0.0-SNAPSHOT28

Performance & Optimization:

  • AuditLogger: Implemented batch saving. Logs are now collected in memory and saved to disk every 5 seconds instead of on every single operation. This drastically reduces Disk I/O and prevents lag spikes during heavy database usage.

Bug Fixes & Security:

  • GUIListener: Fixed a critical exploit where players could bypass GUI item placement restrictions by using number keys (HOTBAR_SWAP) while hovering over GUI slots.
  • DataWorker: Fixed an issue where a failed AuditLog write would incorrectly mark a successful database operation as failed. Futures are now completed before logging.
  • QueueLogger: Added a finally block to clearLogAtomically() to ensure the writer is always re-initialized, preventing the queue from freezing if file operations fail.
  • TableCache: Fixed TTL cleanup logic to iterate over cached keys instead of database keys, preventing potential NullPointerExceptions and unnecessary DB calls.

Information

Published onJune 30, 2026
Downloads0

Platforms

Paper Paper (1.21.4-26.2)