davycraft648/pmserver-ui
Composer 安装命令:
composer require davycraft648/pmserver-ui
包简介
Integrate UI features available in the Script API to PocketMine-MP
README 文档
README
PMServerUI is a simple library for PocketMine-MP that helps you to create forms
for your server. It takes the familiar FormAPI and upgrades it with the
features from the Minecraft Bedrock Script API (
minecraft/server-ui).
The original FormAPI was good, but it used older UI elements. PMServerUI changes that! We've basically combined the simplicity of FormAPI with the modern UI abilities of the Bedrock API.
Why Use PMServerUI?
- Modern UI: Access powerful UI elements similar to those used in Bedrock Add-ons.
- Reliable Data Handling: Know if a bad client sends malformed data, helping protect your plugin from incorrect inputs.
- Player Disconnect Detection: Easily detect if a player leaves the server before submitting a form, allowing you to handle these situations gracefully.
- Localization Support: Supports translations based on the player's language and resource pack.
How to Use This Virion (For Developers)
As a virion, PMServerUI is not a plugin you install directly. Instead, it's a library that other plugins include in their code.
Including PMServerUI in Your Plugin
-
Using Composer (virion v3):
Add this as a dependency to your Composer project. Open your terminal in your project's root directory and run the following command:
composer require davycraft648/pmserver-ui
After running the command, your
composer.jsonfile will be updated. You can inspect it to see the new dependency listed, similar to this:{ "require": { // other dependencies ... "davycraft648/pmserver-ui": "^1.0" } }
-
Using Poggit CI (virion v1):
Add this to your
.poggit.ymlfile:projects: YourPlugin: libs: - src: DavyCraft648/PMServerUI/PMServerUI version: ^1.0.2
Example Usage (For Developers)
See plugin example here
License
This project is licensed under the MIT License - see the LICENSE file for details.
davycraft648/pmserver-ui 适用场景与选型建议
davycraft648/pmserver-ui 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 62 次下载、GitHub Stars 达 13, 最近一次更新时间为 2025 年 06 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 davycraft648/pmserver-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 davycraft648/pmserver-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-08