pasta ?
为 Folia 修补 Bukkit/Paper 插件。
pasta 是一个开源的字节码修补器,可在无需访问源代码的情况下,将现有的 Minecraft 插件转换为兼容 Folia 的版本。
只需提供插件 .jar 文件,它便会分析字节码,重写支持的 Bukkit/Paper 操作以适配 Folia 的区域化线程模型,并生成已修补的 JAR 包。
按需修补
Web — 在浏览器中拖入插件 JAR 包,即可在本地完成修补。
CLI — 从终端、脚本或构建流水线中修补插件。
Peperoncino ?️ — 通过 GitHub Actions 实现自动化修补。
Server Plugin — 从你的 Minecraft 服务器环境中直接修补插件。
pasta 的功能
pasta 使用 ASM 字节码转换技术来重写支持的操作,例如:
- Bukkit 调度器调用 → Folia 调度器
- 区域、实体、全局及异步调度
- 需要区域线程执行的选定世界/方块操作
- 面向 Folia 的插件元数据
- 被转换插件所需的运行时桥接调用
无需修改源代码。
专为自动化而生
pasta 不仅仅是一次性转换器。
相同的修补引擎可用于浏览器、CLI、GitHub Actions 以及自动化流水线——使面向 Folia 的构建过程可复现。
借助 Peperoncino,插件开发者可以直接将 pasta 集成到 CI 流程中,自动产出已修补的制品。
重要提示
经过修补并不意味着已被证明是线程安全的。
pasta 可以转换许多常见的 Bukkit/Paper 模式,但它无法证明任意插件逻辑完全符合区域安全要求。
反射机制、第三方库、应用程序特定的并发假设、不受支持的 API 以及动态行为可能仍需手动处理。
在生产环境使用前,请务必测试已修补的插件。
开源
pasta 在 GitHub 上公开开发。
旧版插件输入,Folia 就绪补丁输出。?
pasta ?
Patch Bukkit/Paper plugins for Folia.
pasta is an open-source bytecode patcher that transforms existing Minecraft plugins for Folia compatibility — without requiring access to their source code.
Give pasta a plugin .jar. It analyzes the bytecode, rewrites supported Bukkit/Paper operations for Folia's regionized threading model, and produces a patched JAR.
Patch it your way
Web — Drop a plugin JAR into the browser and patch it locally.
CLI — Patch plugins from your terminal, scripts, or build pipeline.
Peperoncino ?️ — Automate patching with GitHub Actions.
Server Plugin — Patch plugins from your Minecraft server environment.
What pasta does
pasta uses ASM bytecode transformation to rewrite supported operations such as:
- Bukkit scheduler calls → Folia schedulers
- Region, entity, global, and async scheduling
- Selected world/block operations requiring region-thread execution
- Plugin metadata for Folia
- Runtime bridge calls required by transformed plugins
No source code modification is required.
Built for automation
pasta isn't just a one-off converter.
The same patching engine can be used from the browser, CLI, GitHub Actions, and automated pipelines—making Folia-targeted builds reproducible.
With Peperoncino, plugin developers can add pasta directly to CI and produce patched artifacts automatically.
Important
Patched does not mean proven thread-safe.
pasta can transform many common Bukkit/Paper patterns, but it cannot prove that arbitrary plugin logic is fully region-safe.
Reflection, third-party libraries, application-specific concurrency assumptions, unsupported APIs, and dynamic behavior may still require manual work.
Always test patched plugins before production use.
Open source
pasta is developed openly on GitHub.
Legacy plugin in. Folia-ready patch out. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧