Перейти к содержимому
Mineforgian

PaperActions

This Plugin adds a Small API System to Paper called Actions. This allows Plugin developers to integrate Actions that Other Plugins can use without knowing what it does

Загрузки
0
Подписчики
0
Обновлён
6 июля 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 2 июля 2026 г.


PaperActions

PaperActions is a lightweight API for Paper that allows plugins to expose and execute actions without depending directly on each other.

Instead of checking whether another plugin is installed and calling its API, plugins can simply register named actions that any other plugin can invoke.

Features

  • Annotation-based action registration
  • Cross-plugin communication
  • Named parameters
  • Optional parameters
  • Automatic type validation
  • Lightweight with no configuration
  • Designed for plugin interoperability

How it works

Plugins register actions during startup. Other plugins can execute those actions using the action's unique identifier.

Every action is identified by:

PluginName:ActionName

This makes it easy for plugins to communicate without creating hard dependencies.

Example Use Cases

  • NPC interaction systems
  • Custom event callbacks
  • Minigame integrations
  • Cross-plugin compatibility
  • Placeholder or command callbacks
  • Generic plugin APIs

Requirements

  • Paper
  • Java 21 or newer

Why PaperActions?

PaperActions provides a simple, standardized way for plugins to communicate. Rather than exposing large APIs or depending on implementation details, plugins can offer small, reusable actions that are easy to discover and execute.

The result is cleaner integrations, fewer hard dependencies, and a more modular plugin ecosystem.

Ченджлог

1.0-BetaБета26.1.1, 26.1.2, 26.2 · 6 июля 2026 г.

Adding

  • Way to get All Actions
  • Way to get All Actions added by a Specific Plugin
  • Descriptions per Action
  • Multi Loader Support
1.1-BetaБета26.1.1, 26.1.2, 26.2 · 6 июля 2026 г.

Adding

  • Way to get All Actions
  • Way to get All Actions added by a Specific Plugin
  • Descriptions per Action
  • Multi Loader Support
1.1-BetaБета1.21.11 · 6 июля 2026 г.

Adding

  • Default Actions
  • Way to get All Actions
  • Way to get All Actions added by a Specific Plugin
  • Descriptions per Action
  • Multi Loader Support
1.0-BetaБета1.21.11 · 2 июля 2026 г.

Initial Version. Current Features: Registering Actions via Annotations Executing Actions Automatic Parameter application

Комментарии

Загружаем…