Skip to content

Plugin-API v1.1.5— Docs refresh, Menus API example, Inventory & Event-bridge improvements

Latest

Choose a tag to compare

@abbflaabb abbflaabb released this 11 Sep 00:33

Plugin-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.API entry 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, and IMenuItem interfaces.
    • Menu creation helpers: createMenu(...), createItem(...), setItem(...), and open(...).
    • Editable flag to lock menus, per-item click actions, and simple inventory layout helpers.
    • Includes a simple com.example.exampleplugin example demonstrating menu creation, items, click handlers, and opening on player join.
  • README: bumped Maven example to 1.1.5 and 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