Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_eCm4dlCU.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
PaperActions - 墨喵 Minecraft 资源
PaperActions 图标

PaperActions

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2-Kasai
本资源为搬运资源,原资源地址: https://modrinth.com/mod/paper-actions
资源信息

Minecraft 版本: 1.21.11

平台: folia

标签: library management utility

资源介绍


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.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Convoluted Hud

价格:0 墨喵币
下载量:0

查看详情
Just Enough VH

价格:0 墨喵币
下载量:0

查看详情
Daily Driver

价格:0 墨喵币
下载量:0

查看详情
The Cake Is A Lie

价格:0 墨喵币
下载量:0

查看详情