Repository navigation
Plugin-API v1.1.5— Docs refresh, Menus API example, Inventory & Event-bridge improvements
LatestPlugin-API 1.1.5
A new release of Plugin-API for Paper/Spigot 1.21+ plugins, consolidating the event bridge, public API, config/database helpers, and adding a simple Menus API example for plugin authors.
Changes
- Updated project docs and README (typo fixes, changelog, example usage).
- Java 21 / Paper 1.21.1+ support and Maven/JitPack guidance.
- Public API:
org.abbas.PluginAPI.APIentry point and helpers for calling/firing custom events. - Event bridge extended: movement, interaction, kills, inventory flows, teleport support, and cancellation/message propagation fixes.
- Menus API added and improved:
- Exposes
MenusAPI,IMenu, andIMenuIteminterfaces. - Menu creation helpers:
createMenu(...),createItem(...),setItem(...), andopen(...). - Editable flag to lock menus, per-item click actions, and simple inventory layout helpers.
- Includes a simple
com.example.examplepluginexample demonstrating menu creation, items, click handlers, and opening on player join.
- Exposes
- README: bumped Maven example to
1.1.5and added a Changelog section.
Requirements
- Java 21
- Paper or Spigot 1.21.1+
- Maven (for building)
Installation
Place Plugin-API-1.1.5.jar in the server's plugins/ directory, or add the dependency through JitPack as shown in the README.
SHA-256
ede828fca4fe718e91c412b77fb47bb9cb0548ba4f0cd38b3bf26f1b2a3bc369