Repository navigation
Releases: abbflaabb/Plugin-API
Release list
Plugin-API v1.1.5— Docs refresh, Menus API example, Inventory & Event-bridge improvements
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.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
Plugin-API 1.1.4
Plugin-API 1.1.4
A new release of Plugin-API for Paper/Spigot 1.21 plugins, featuring major improvements to the project structure, event bridge, public API, configuration management, inventory events, and database integration support.
Changes
- Renamed the project and artifact from
SimpleEventstoPlugin-API. - Reorganized the plugin entry point under
org.abbas.PluginAPI.API. - Reorganized packages and internal source paths to match the new Plugin-API structure.
- Added
ConfigManagerandConfigTypefor configuration and message file management. - Added
DatabaseAPIandResultMapperinterfaces for database integration support. - Added custom inventory events:
CustomInventoryClickEventCustomInventoryCloseEventCustomInventoryDragEventCustomInventoryMoveItemEventCustomInventoryOpenEventCustomInventoryPickupItemEvent
- Added
CustomPlayerTeleportEventwith destination modification and cancellation support. - Improved
CustomPlayerInteractEventand added support for additional interaction types. - Improved
CustomPlayerKillEventand propagated its cancellation state to the original event. - Fixed Join and Quit event bridging so original messages are passed through and modified messages are applied back to Bukkit/Paper.
- Fixed propagation of message changes and cancellation states across custom events.
- Simplified
CustomProcessCommandEventto correctly support command message modification and cancellation. - Improved compatibility with Paper API 1.21.
- Updated CI to use Java 21 and Maven with
mvn clean verify. - Added Qodana configuration for code quality analysis.
- Updated documentation, project files, and module paths.
- Updated the Maven project version to
1.1.4-SNAPSHOT.
Requirements
- Java 21
- Paper or Spigot 1.21+
- Maven when building from source
Installation
Place Plugin-API-1.1.4-SNAPSHOT.jar in the server's plugins/ directory.
SHA-256
e895c17378b166e8a990a47b1ae6e7ce30325adb5b4653bab1b8f67305974130
Note: The attached JAR was built with the Maven version
1.1.4-SNAPSHOT, while this GitHub release is published under thev1.1.4tag.
SimpleEvents 1.1.3 add new Events and api improve
Full Changelog: v1.1.2.3...v1.1.3
SimpleEvents 1.1.2.3 Add new api
Full Changelog: v1.1.2.2...v1.1.2.3
SimpleEvents 1.1.2.2 — API Improvements
SimpleEvents 1.1.2.2-SNAPSHOT
Updated the SimpleEvents API with several improvements:
- Added proper
Cancellablesupport forPlayerLevelUpEvent. - Added
callCustomPlayerLevelUpEvent(...)to inspect the event after dispatch. - Added plugin-owned listener registration through
registerListener(Plugin, Listener). - Improved API documentation and Javadocs.
- Maintained backward compatibility with the existing API.
- Improved the overall API structure and usability for external plugins.
This update focuses on making SimpleEvents more reliable, extensible, and easier for other plugins to integrate with.
SimpleEvents v1.1.2.1 refine command event handling
Full Changelog: v1.1.2...v1.1.2.1
SimpleEvents 1.1
SimpleEvents 1.0.0
simpleEvents 1.0-SNAPSHOT
Initial build of simpleEvents — a lightweight Spigot/Paper plugin that exposes a small API for firing custom Bukkit-style events from Java code, so plugins can trigger gameplay events without coupling tightly to the Bukkit event system.
Plugin info
- Main class:
org.abbas.simpleEvents.SimpleEvents - Bukkit API version:
1.21 - Requires Java 21
API
SimpleEvents.getInstance()/getPluginManager()— plugin/event-manager accessorsSimpleEvents.registerListener(Listener)— register a Bukkit listenerSimpleEvents.registerEvents(...)— bulk event registration
Available custom events
CustomPlayerJoinEvent—getMessage()/setMessage()CustomPlayerQuitEvent—getMessage()/setMessage()PlayerLevelUpEvent—getNewLevel()CustomPlayerChatEvent—getMessage()/setMessage(),getChannelName()/setChannelName(), cancellableCustomPlayerDeathEvent—getDeathMessage()/setDeathMessage(),getDeathMessageType()CustomBlockPlaceEvent—getBlock(),getItemInHand(),getReplacedBlockState(),setCanBuild(), cancellableCustomBlockBreakEvent—getBlock(),getMessage()/setMessage(), cancellableCustomProcessCommandEvent—getCommands()/addCommand(),getMessage()/setMessage(), cancellable
Corresponding callCustom... trigger methods exist on SimpleEvents for each event above (e.g. callCustomPlayerJoin, callCustomBlockBreak, callCustomPlayerChat, etc.).
Installation
- Drop
simpleevents-1.0-SNAPSHOT.jarinto your server'splugins/folder - Restart the server
Notes
- This is a
-SNAPSHOTbuild — not yet a stable/tagged release version internally, so treat it as a pre-release. - No license is currently declared in the repository.